Uses of Interface
java.security.BinaryEncodable
Packages that use BinaryEncodablePREVIEW
Package
Description
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides interfaces for generating RSA (Rivest, Shamir and
Adleman AsymmetricCipher algorithm)
keys as defined in the RSA Laboratory Technical Note
PKCS#1, and DSA (Digital Signature
Algorithm) keys as defined in NIST's FIPS-186.
Provides classes and interfaces for key specifications and algorithm
parameter specifications.
Provides the classes and interfaces for cryptographic
operations.
Provides interfaces for Diffie-Hellman keys as defined in RSA
Laboratories' PKCS #3.
-
Uses of BinaryEncodablePREVIEW in java.security
Subinterfaces of BinaryEncodablePREVIEW in java.securityModifier and TypeInterfaceDescriptioninterfaceAn asymmetric key, which can be either a public key or a private key.interfaceA private key.interfaceA public key.Classes in java.security that implement BinaryEncodablePREVIEWModifier and TypeClassDescriptionfinal classThis class is a simple holder for a key pair (a public key and a private key).final classPreview.ABinaryEncodablePREVIEW representing a Privacy-Enhanced Mail (PEM) structure composed of a type identifier, Base64-encoded content, and optional leading data that precedes the PEM header.Methods in java.security with type parameters of type BinaryEncodablePREVIEWModifier and TypeMethodDescription<S extends BinaryEncodablePREVIEW>
SPEMDecoder.decode(InputStream is, Class<S> tClass) Decodes and returns aBinaryEncodableof the specified class from the givenInputStream.<S extends BinaryEncodablePREVIEW>
SDecodes and returns aBinaryEncodableof the specified class from the given PEM string.Methods in java.security that return BinaryEncodablePREVIEWModifier and TypeMethodDescriptionPEMDecoder.decode(InputStream is) Decodes and returns aBinaryEncodablefrom the givenInputStream.Decodes and returns aBinaryEncodablefrom the givenString.Methods in java.security with parameters of type BinaryEncodablePREVIEWModifier and TypeMethodDescriptionbyte[]PEMEncoder.encode(BinaryEncodablePREVIEW be) Encodes the specifiedBinaryEncodableand returns a PEM-encoded byte array.PEMEncoder.encodeToString(BinaryEncodablePREVIEW be) Encodes the specifiedBinaryEncodableand returns a PEM-encoded string. -
Uses of BinaryEncodablePREVIEW in java.security.cert
Classes in java.security.cert that implement BinaryEncodablePREVIEWModifier and TypeClassDescriptionclassAbstract class for X.509 certificates.classAbstract class for an X.509 Certificate Revocation List (CRL). -
Uses of BinaryEncodablePREVIEW in java.security.interfaces
Subinterfaces of BinaryEncodablePREVIEW in java.security.interfacesModifier and TypeInterfaceDescriptioninterfaceThe standard interface to a DSA private key.interfaceThe interface to a DSA public key.interfaceThe interface to an elliptic curve (EC) private key.interfaceThe interface to an elliptic curve (EC) public key.interfaceAn interface for an elliptic curve private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).interfaceAn interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).interfaceThe interface to an RSA multi-prime private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.interfaceThe interface to an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.interfaceThe interface to an RSA private key.interfaceThe interface to an RSA public key.interfaceAn interface for an elliptic curve private key as defined by RFC 7748.interfaceAn interface for an elliptic curve public key as defined by RFC 7748. -
Uses of BinaryEncodablePREVIEW in java.security.spec
Classes in java.security.spec that implement BinaryEncodablePREVIEWModifier and TypeClassDescriptionclassThis class represents the ASN.1 encoding of a private key, encoded according to the ASN.1 typeOneAsymmetricKey.classThis class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 typeSubjectPublicKeyInfo. -
Uses of BinaryEncodablePREVIEW in javax.crypto
Classes in javax.crypto that implement BinaryEncodablePREVIEWModifier and TypeClassDescriptionclassThis class implements theEncryptedPrivateKeyInfotype as defined in PKCS #8.Methods in javax.crypto with parameters of type BinaryEncodablePREVIEWModifier and TypeMethodDescriptionstatic EncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.encrypt(BinaryEncodablePREVIEW be, char[] password) Preview.Creates anEncryptedPrivateKeyInfoby encrypting the specifiedBinaryEncodable.static EncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.encrypt(BinaryEncodablePREVIEW be, char[] password, String algorithm, AlgorithmParameterSpec params, Provider provider) Preview.Creates anEncryptedPrivateKeyInfoby encrypting the specifiedBinaryEncodable.static EncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.encrypt(BinaryEncodablePREVIEW be, Key encryptKey, String algorithm, AlgorithmParameterSpec params, Provider provider, SecureRandom random) Preview.Creates anEncryptedPrivateKeyInfoby encrypting the specifiedBinaryEncodable. -
Uses of BinaryEncodablePREVIEW in javax.crypto.interfaces
Subinterfaces of BinaryEncodablePREVIEW in javax.crypto.interfacesModifier and TypeInterfaceDescriptioninterfaceThe interface to a Diffie-Hellman private key.interfaceThe interface to a Diffie-Hellman public key.