java.security.spec |
Provides classes and interfaces for key specifications and algorithm parameter
specifications.
A key specification is a transparent representation of the key material
that constitutes a key. A key may be specified in an algorithm-specific
way, or in an algorithm-independent encoding format (such as ASN.1).
Package Specification
-
PKCS #1: RSA Encryption Standard, Version 1.5, November 1993
-
Federal Information Processing Standards Publication (FIPS PUB) 186: Digital
Signature Standard (DSS)
Related Documentation
For documentation that includes information about algorithm parameter and
key specifications, please see:
-
Java Cryptography Architecture API Specification and Reference
SATSA Subset Description
This package is a subset of the java.security.spec package in
the Java 2 Platform, Standard Edition, version 1.4.2.
@since SATSA1.0
|
Java Source File Name | Type | Comment |
AlgorithmParameterSpec.java | Interface | A (transparent) specification of cryptographic parameters.
This interface contains no methods or constants. |
DSAParameterSpec.java | Class | This class specifies the set of parameters used with the DSA algorithm. |
DSAPrivateKeySpec.java | Class | This class specifies a DSA private key with its associated parameters. |
DSAPublicKeySpec.java | Class | This class specifies a DSA public key with its associated parameters. |
EncodedKeySpec.java | Class | This class represents a public key in encoded format. |
InvalidKeySpecException.java | Class | This is the exception for invalid key specifications. |
InvalidParameterSpecException.java | Class | This is the exception for invalid parameter specifications. |
KeySpec.java | Interface | A (transparent) specification of the key material
that constitutes a cryptographic key.
If the key is stored on a hardware device, its
specification may contain information that helps identify the key on the
device.
A key may be specified in an algorithm-specific way, or in an
algorithm-independent encoding format (such as ASN.1).
This interface contains no methods or constants. |
PKCS8EncodedKeySpec.java | Class | This class represents the ASN.1 encoding of a private key,
encoded according to the ASN.1 type PrivateKeyInfo . |
PSSParameterSpec.java | Class | This class specifies a parameter spec for RSA PSS encoding scheme,
as defined in the PKCS#1 v2.1. |
RSAKeyGenParameterSpec.java | Class | This class specifies the set of parameters used to generate an RSA
key pair. |
RSAPrivateCrtKeySpec.java | Class | 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.java | Class | This class specifies an RSA private key. |
RSAPublicKeySpec.java | Class | This class specifies an RSA public key. |
X509EncodedKeySpec.java | Class | This class represents the ASN.1 encoding of a public key,
encoded according to the ASN.1 type SubjectPublicKeyInfo . |