Interface OpenSslCredential

All Superinterfaces:
ReferenceCounted

public interface OpenSslCredential extends ReferenceCounted
Represents an OpenSSL/BoringSSL SSL_CREDENTIAL object.

SSL credentials provide a more flexible alternative to traditional certificate/key configuration, supporting features like:

  • Multiple credentials per context (e.g., RSA + ECDSA)
  • Delegated credentials
  • OCSP stapling per credential
  • Signed Certificate Timestamps (SCT)
  • Trust anchor identifiers
  • Per-credential signing algorithm preferences

This is a BoringSSL-specific feature. Use isAvailable() to check availability.

Instances are reference counted and must be released when no longer needed.

See Also: