| Package | Description |
|---|---|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.spec |
Provides classes and interfaces for key specifications and algorithm parameter specifications.
|
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| javax.crypto.spec |
Provides classes and interfaces for key specifications and algorithm parameter specifications.
|
| javax.xml.crypto |
Common classes for XML cryptography.
|
| javax.xml.crypto.dsig |
Classes for generating and validating XML digital signatures.
|
| javax.xml.crypto.dsig.spec |
Parameter classes for XML digital signatures.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract <T extends AlgorithmParameterSpec |
AlgorithmParametersSpi.engineGetParameterSpec(Class
Returns a (transparent) specification of this parameters object.
|
<T extends AlgorithmParameterSpec |
AlgorithmParameters.getParameterSpec(Class
Returns a (transparent) specification of this parameter object.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmParameterSpec |
KeyStore.PasswordProtection.getProtectionParameters()
Gets the parameters supplied for the protection algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AlgorithmParametersSpi.engineInit(AlgorithmParameterSpec
Initializes this parameters object using the parameters specified in
paramSpec.
|
protected abstract void |
AlgorithmParameterGeneratorSpi.engineInit(AlgorithmParameterSpec
Initializes this parameter generator with a set of algorithm-specific parameter generation values.
|
protected void |
SignatureSpi.engineSetParameter(AlgorithmParameterSpec
This method is overridden by providers to initialize this signature engine with the specified parameter set.
|
void |
AlgorithmParameters.init(AlgorithmParameterSpec
Initializes this parameter object using the parameters specified in
paramSpec.
|
void |
AlgorithmParameterGenerator.init(AlgorithmParameterSpec
Initializes this parameter generator with a set of algorithm-specific parameter generation values.
|
void |
AlgorithmParameterGenerator.init(AlgorithmParameterSpec
Initializes this parameter generator with a set of algorithm-specific parameter generation values.
|
void |
KeyPairGenerator.initialize(AlgorithmParameterSpec
Initializes the key pair generator using the specified parameter set and the
SecureRandom implementation of the highest-priority installed provider as the source of randomness.
|
void |
KeyPairGenerator.initialize(AlgorithmParameterSpec
Initializes the key pair generator with the given parameter set and source of randomness.
|
void |
KeyPairGeneratorSpi.initialize(AlgorithmParameterSpec
Initializes the key pair generator using the specified parameter set and user-provided source of randomness.
|
void |
Signature.setParameter(AlgorithmParameterSpec
Initializes this signature engine with the specified parameter set.
|
| Constructor and Description | |
|---|---|
PasswordProtection(char[] password, String
Creates a password parameter and specifies the protection algorithm and associated parameters to use when encrypting a keystore entry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DSAGenParameterSpec
This immutable class specifies the set of parameters used for generating DSA parameters as specified in
FIPS 186-3 Digital Signature Standard (DSS).
|
class |
DSAParameterSpec
This class specifies the set of parameters used with the DSA algorithm.
|
class |
ECGenParameterSpec
This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.
|
class |
ECParameterSpec
This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).
|
class |
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.
|
class |
PSSParameterSpec
This class specifies a parameter spec for RSA-PSS signature scheme, as defined in the
PKCS#1 v2.1 standard.
|
class |
RSAKeyGenParameterSpec
This class specifies the set of parameters used to generate an RSA key pair.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmParameterSpec |
PSSParameterSpec.getMGFParameters()
Returns the parameters for the mask generation function.
|
| Constructor and Description | |
|---|---|
PSSParameterSpec(String
Creates a new
PSSParameterSpec as defined in the PKCS #1 standard using the specified message digest, mask generation function, parameters for mask generation function, salt length, and trailer field values.
|
| Modifier and Type | Method and Description |
|---|---|
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(String
Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
KeyGeneratorSpi.engineInit(AlgorithmParameterSpec
Initializes the key generator with the specified parameter set and a user-provided source of randomness.
|
protected abstract void |
CipherSpi.engineInit(int opmode, Key
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
|
protected abstract void |
ExemptionMechanismSpi.engineInit(Key
Initializes this exemption mechanism with a key and a set of algorithm parameters.
|
protected abstract void |
MacSpi.engineInit(Key
Initializes the MAC with the given (secret) key and algorithm parameters.
|
protected abstract void |
KeyAgreementSpi.engineInit(Key
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
|
void |
KeyGenerator.init(AlgorithmParameterSpec
Initializes this key generator with the specified parameter set.
|
void |
KeyGenerator.init(AlgorithmParameterSpec
Initializes this key generator with the specified parameter set and a user-provided source of randomness.
|
void |
Cipher.init(int opmode, Key
Initializes this cipher with a key and a set of algorithm parameters.
|
void |
Cipher.init(int opmode, Key
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
|
void |
KeyAgreement.init(Key
Initializes this key agreement with the given key and set of algorithm parameters.
|
void |
Mac.init(Key
Initializes this
Mac object with the given key and algorithm parameters.
|
void |
ExemptionMechanism.init(Key
Initializes this exemption mechanism with a key and a set of algorithm parameters.
|
void |
KeyAgreement.init(Key
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DHGenParameterSpec
This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement.
|
class |
DHParameterSpec
This class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3:
Diffie-Hellman Key-Agreement Standard.
|
class |
GCMParameterSpec
Specifies the set of parameters required by a
Cipher using the Galois/Counter Mode (GCM) mode.
|
class |
IvParameterSpec
This class specifies an
initialization vector (IV).
|
class |
OAEPParameterSpec
This class specifies the set of parameters used with OAEP Padding, as defined in the
PKCS #1 standard.
|
class |
PBEParameterSpec
This class specifies the set of parameters used with password-based encryption (PBE), as defined in the
PKCS #5 standard.
|
class |
RC2ParameterSpec
This class specifies the parameters used with the
RC2 algorithm.
|
class |
RC5ParameterSpec
This class specifies the parameters used with the
RC5 algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmParameterSpec |
OAEPParameterSpec.getMGFParameters()
Returns the parameters for the mask generation function.
|
AlgorithmParameterSpec |
PBEParameterSpec.getParameterSpec()
Returns the cipher algorithm parameter specification.
|
| Constructor and Description | |
|---|---|
OAEPParameterSpec(String
Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest algorithm
mdName, mask generation function algorithm
mgfName, parameters for the mask generation function
mgfSpec, and source of the encoding input P
pSrc.
|
|
PBEParameterSpec(byte[] salt, int iterationCount, AlgorithmParameterSpec
Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmParameterSpec |
AlgorithmMethod.getParameterSpec()
Returns the algorithm parameters of this
AlgorithmMethod.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmParameterSpec |
Transform.getParameterSpec()
Returns the algorithm-specific input parameters associated with this
Transform.
|
AlgorithmParameterSpec |
DigestMethod.getParameterSpec()
Returns the algorithm-specific input parameters associated with this
DigestMethod.
|
AlgorithmParameterSpec |
CanonicalizationMethod.getParameterSpec()
Returns the algorithm-specific input parameters associated with this
CanonicalizationMethod.
|
AlgorithmParameterSpec |
SignatureMethod.getParameterSpec()
Returns the algorithm-specific input parameters of this
SignatureMethod.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
C14NMethodParameterSpec
A specification of algorithm parameters for a
CanonicalizationMethod Algorithm.
|
interface |
DigestMethodParameterSpec
A specification of algorithm parameters for a
DigestMethod algorithm.
|
interface |
SignatureMethodParameterSpec
A specification of algorithm parameters for an XML
SignatureMethod algorithm.
|
interface |
TransformParameterSpec
A specification of algorithm parameters for a
Transform algorithm.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExcC14NParameterSpec
Parameters for the W3C Recommendation:
Exclusive XML Canonicalization (C14N) algorithm.
|
class |
HMACParameterSpec
Parameters for the
XML Signature HMAC Algorithm.
|
class |
XPathFilter2ParameterSpec
Parameters for the W3C Recommendation
XPath Filter 2.0 Transform Algorithm.
|
class |
XPathFilterParameterSpec
Parameters for the
XPath Filtering Transform Algorithm.
|
class |
XSLTTransformParameterSpec
Parameters for the
XSLT Transform Algorithm.
|