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

BinaryEncodable is a preview API of the Java platform.
Programs can only use BinaryEncodable when preview features are enabled.
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: