Since: API Level 1
package

java.security.spec

Classes | Description

This package provides the classes and interfaces needed to specify keys and parameters for encryption and signing algorithms.

more...

Interfaces

AlgorithmParameterSpecThe marker interface for algorithm parameter specifications. 
ECFieldThe base interface for a Finite Field of an Elliptic Curve. 
KeySpecThe marker interface for key specifications. 

Classes

DSAParameterSpecThe parameter specification used with the Digital Signature Algorithm (DSA). 
DSAPrivateKeySpecThe parameters specifying a DSA private key. 
DSAPublicKeySpecThe parameters specifying a DSA public key. 
ECFieldF2mThe parameters specifying a characteristic 2 finite field of an elliptic curve. 
ECFieldFpThe parameters specifying a prime finite field of an elliptic curve. 
ECGenParameterSpecThe parameter specification used to generate elliptic curve domain parameters. 
ECParameterSpecThe parameter specification used with Elliptic Curve Cryptography (ECC). 
ECPointA Point on an Elliptic Curve in barycentric (or affine) coordinates. 
ECPrivateKeySpecThe parameters specifying an Elliptic Curve (EC) private key. 
ECPublicKeySpecThe parameters specifying an Elliptic Curve (EC) public key. 
EllipticCurveAn Elliptic Curve with its necessary values. 
EncodedKeySpecThe abstract key specification for a public or a private key in encoded format. 
MGF1ParameterSpecThe parameter specification for the Mask Generation Function (MGF1) in the RSA-PSS Signature and OAEP Padding scheme. 
PKCS8EncodedKeySpecThe key specification for an encoded private key in ASN.1 format as defined in the PKCS#8 standard. 
PSSParameterSpecThe parameter specification for the RSA-PSS Signature scheme. 
RSAKeyGenParameterSpecThe parameter specification for generating an RSA key pair. 
RSAMultiPrimePrivateCrtKeySpecThe key specification of a RSA multi-prime private key with the Chinese Remainder Theorem (CRT) information values used. 
RSAOtherPrimeInfoThe additional prime information specified as triplet of primes, a prime exponent, and a Chinese Remainder Theorem (CRT) coefficient. 
RSAPrivateCrtKeySpecThe key specification of a RSA private key using Chinese Remainder Theorem (CRT) values. 
RSAPrivateKeySpecThe key specification of a RSA private key. 
RSAPublicKeySpecThe key specification of a RSA public key. 
X509EncodedKeySpecThe key specification of an X.509 encoded key in ASN.1 format. 

Exceptions

InvalidKeySpecExceptionThe exception that is thrown when an invalid key specification is encountered. 
InvalidParameterSpecExceptionThe exception that is thrown when an invalid parameter specification is encountered.