Interface BinaryEncodable
- All Known Subinterfaces:
AsymmetricKey, DHPrivateKey, DHPublicKey, DSAPrivateKey, DSAPublicKey, ECPrivateKey, ECPublicKey, EdECPrivateKey, EdECPublicKey, PrivateKey, PublicKey, RSAMultiPrimePrivateCrtKey, RSAPrivateCrtKey, RSAPrivateKey, RSAPublicKey, XECPrivateKey, XECPublicKey
- All Known Implementing Classes:
EncryptedPrivateKeyInfo, KeyPair, PEMPREVIEW, PKCS8EncodedKeySpec, X509Certificate, X509CRL, X509EncodedKeySpec
public sealed interface BinaryEncodable
permits AsymmetricKey, KeyPair, PKCS8EncodedKeySpec, X509EncodedKeySpec, EncryptedPrivateKeyInfo, X509Certificate, X509CRL, PEMPREVIEW
BinaryEncodable is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
This interface is implemented by security API classes that contain
binary-encodable cryptographic material.
This sealed interface may evolve. When using switch, always include a
default case rather than relying on the classes specified in the
permits clause to remain fixed. An exhaustive switch may
result in a MatchException.
- Since:
- 27
- See Also:
BinaryEncodablewhen preview features are enabled.