Package java.security.spec

Interface Summary
AlgorithmParameterSpec sample code for java.security.spec.AlgorithmParameterSpec definition code for java.security.spec.AlgorithmParameterSpec A (transparent) specification of cryptographic parameters.
ECField sample code for java.security.spec.ECField definition code for java.security.spec.ECField This interface represents an elliptic curve (EC) finite field.
KeySpec sample code for java.security.spec.KeySpec definition code for java.security.spec.KeySpec A (transparent) specification of the key material that constitutes a cryptographic key.
 

Class Summary
DSAParameterSpec sample code for java.security.spec.DSAParameterSpec definition code for java.security.spec.DSAParameterSpec This class specifies the set of parameters used with the DSA algorithm.
DSAPrivateKeySpec sample code for java.security.spec.DSAPrivateKeySpec definition code for java.security.spec.DSAPrivateKeySpec This class specifies a DSA private key with its associated parameters.
DSAPublicKeySpec sample code for java.security.spec.DSAPublicKeySpec definition code for java.security.spec.DSAPublicKeySpec This class specifies a DSA public key with its associated parameters.
ECFieldF2m sample code for java.security.spec.ECFieldF2m definition code for java.security.spec.ECFieldF2m This immutable class defines an elliptic curve (EC) characteristic 2 finite field.
ECFieldFp sample code for java.security.spec.ECFieldFp definition code for java.security.spec.ECFieldFp This immutable class defines an elliptic curve (EC) prime finite field.
ECGenParameterSpec sample code for java.security.spec.ECGenParameterSpec definition code for java.security.spec.ECGenParameterSpec This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.
ECParameterSpec sample code for java.security.spec.ECParameterSpec definition code for java.security.spec.ECParameterSpec This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).
ECPoint sample code for java.security.spec.ECPoint definition code for java.security.spec.ECPoint This immutable class represents a point on an elliptic curve (EC) in affine coordinates.
ECPrivateKeySpec sample code for java.security.spec.ECPrivateKeySpec definition code for java.security.spec.ECPrivateKeySpec This immutable class specifies an elliptic curve private key with its associated parameters.
ECPublicKeySpec sample code for java.security.spec.ECPublicKeySpec definition code for java.security.spec.ECPublicKeySpec This immutable class specifies an elliptic curve public key with its associated parameters.
EllipticCurve sample code for java.security.spec.EllipticCurve definition code for java.security.spec.EllipticCurve This immutable class holds the necessary values needed to represent an elliptic curve.
EncodedKeySpec sample code for java.security.spec.EncodedKeySpec definition code for java.security.spec.EncodedKeySpec This class represents a public or private key in encoded format.
MGF1ParameterSpec sample code for java.security.spec.MGF1ParameterSpec definition code for java.security.spec.MGF1ParameterSpec This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSA-PSS signature scheme, as defined in the PKCS #1 v2.1 standard.
PKCS8EncodedKeySpec sample code for java.security.spec.PKCS8EncodedKeySpec definition code for java.security.spec.PKCS8EncodedKeySpec This class represents the ASN.1 encoding of a private key, encoded according to the ASN.1 type PrivateKeyInfo.
PSSParameterSpec sample code for java.security.spec.PSSParameterSpec definition code for java.security.spec.PSSParameterSpec This class specifies a parameter spec for RSA-PSS signature scheme, as defined in the PKCS#1 v2.1 standard.
RSAKeyGenParameterSpec sample code for java.security.spec.RSAKeyGenParameterSpec definition code for java.security.spec.RSAKeyGenParameterSpec This class specifies the set of parameters used to generate an RSA key pair.
RSAMultiPrimePrivateCrtKeySpec sample code for java.security.spec.RSAMultiPrimePrivateCrtKeySpec definition code for java.security.spec.RSAMultiPrimePrivateCrtKeySpec This class specifies an RSA multi-prime private key, as defined in the PKCS#1 v2.1, using the Chinese Remainder Theorem (CRT) information values for efficiency.
RSAOtherPrimeInfo sample code for java.security.spec.RSAOtherPrimeInfo definition code for java.security.spec.RSAOtherPrimeInfo This class represents the triplet (prime, exponent, and coefficient) inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.1.
RSAPrivateCrtKeySpec sample code for java.security.spec.RSAPrivateCrtKeySpec definition code for java.security.spec.RSAPrivateCrtKeySpec This class specifies an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values for efficiency.
RSAPrivateKeySpec sample code for java.security.spec.RSAPrivateKeySpec definition code for java.security.spec.RSAPrivateKeySpec This class specifies an RSA private key.
RSAPublicKeySpec sample code for java.security.spec.RSAPublicKeySpec definition code for java.security.spec.RSAPublicKeySpec This class specifies an RSA public key.
X509EncodedKeySpec sample code for java.security.spec.X509EncodedKeySpec definition code for java.security.spec.X509EncodedKeySpec This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo.
 

Exception Summary
InvalidKeySpecException sample code for java.security.spec.InvalidKeySpecException definition code for java.security.spec.InvalidKeySpecException This is the exception for invalid key specifications.
InvalidParameterSpecException sample code for java.security.spec.InvalidParameterSpecException definition code for java.security.spec.InvalidParameterSpecException This is the exception for invalid parameter specifications.