JavaTM 2 Platform
Standard Ed. 5.0

Uses of Interface
java.security.spec.AlgorithmParameterSpec

Packages that use AlgorithmParameterSpec
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. 
 

Uses of AlgorithmParameterSpec in java.security
 

Methods in java.security with type parameters of type AlgorithmParameterSpec
protected abstract
<T extends AlgorithmParameterSpec>
T
AlgorithmParametersSpi.engineGetParameterSpec(Class<T> paramSpec)
          Returns a (transparent) specification of this parameters object.
<T extends AlgorithmParameterSpec>
T
AlgorithmParameters.getParameterSpec(Class<T> paramSpec)
          Returns a (transparent) specification of this parameter object.
 

Methods in java.security with parameters of type AlgorithmParameterSpec
protected abstract  void AlgorithmParametersSpi.engineInit(AlgorithmParameterSpec paramSpec)
          Initializes this parameters object using the parameters specified in paramSpec.
protected abstract  void AlgorithmParameterGeneratorSpi.engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random)
          Initializes this parameter generator with a set of algorithm-specific parameter generation values.
protected  void SignatureSpi.engineSetParameter(AlgorithmParameterSpec params)
          This method is overridden by providers to initialize this signature engine with the specified parameter set.
 void AlgorithmParameterGenerator.init(AlgorithmParameterSpec genParamSpec)
          Initializes this parameter generator with a set of algorithm-specific parameter generation values.
 void AlgorithmParameters.init(AlgorithmParameterSpec paramSpec)
          Initializes this parameter object using the parameters specified in paramSpec.
 void AlgorithmParameterGenerator.init(AlgorithmParameterSpec genParamSpec, SecureRandom random)
          Initializes this parameter generator with a set of algorithm-specific parameter generation values.
 void KeyPairGenerator.initialize(AlgorithmParameterSpec params)
          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 params, SecureRandom random)
          Initializes the key pair generator with the given parameter set and source of randomness.
 void KeyPairGeneratorSpi.initialize(AlgorithmParameterSpec params, SecureRandom random)
          Initializes the key pair generator using the specified parameter set and user-provided source of randomness.
 void Signature.setParameter(AlgorithmParameterSpec params)
          Initializes this signature engine with the specified parameter set.
 

Uses of AlgorithmParameterSpec in java.security.spec
 

Classes in java.security.spec that implement AlgorithmParameterSpec
 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.
 

Methods in java.security.spec that return AlgorithmParameterSpec
 AlgorithmParameterSpec PSSParameterSpec.getMGFParameters()
          Returns the parameters for the mask generation function.
 

Constructors in java.security.spec with parameters of type AlgorithmParameterSpec
PSSParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField)
          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.
 

Uses of AlgorithmParameterSpec in javax.crypto
 

Methods in javax.crypto that return AlgorithmParameterSpec
static AlgorithmParameterSpec Cipher.getMaxAllowedParameterSpec(String transformation)
          Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file.
 

Methods in javax.crypto with parameters of type AlgorithmParameterSpec
protected abstract  void KeyGeneratorSpi.engineInit(AlgorithmParameterSpec params, SecureRandom random)
          Initializes the key generator with the specified parameter set and a user-provided source of randomness.
protected abstract  void CipherSpi.engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
          Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
protected abstract  void ExemptionMechanismSpi.engineInit(Key key, AlgorithmParameterSpec params)
          Initializes this exemption mechanism with a key and a set of algorithm parameters.
protected abstract  void MacSpi.engineInit(Key key, AlgorithmParameterSpec params)
          Initializes the MAC with the given (secret) key and algorithm parameters.
protected abstract  void KeyAgreementSpi.engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random)
          Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
 void KeyGenerator.init(AlgorithmParameterSpec params)
          Initializes this key generator with the specified parameter set.
 void KeyGenerator.init(AlgorithmParameterSpec params, SecureRandom random)
          Initializes this key generator with the specified parameter set and a user-provided source of randomness.
 void Cipher.init(int opmode, Key key, AlgorithmParameterSpec params)
          Initializes this cipher with a key and a set of algorithm parameters.
 void Cipher.init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
          Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
 void Mac.init(Key key, AlgorithmParameterSpec params)
          Initializes this Mac object with the given key and algorithm parameters.
 void KeyAgreement.init(Key key, AlgorithmParameterSpec params)
          Initializes this key agreement with the given key and set of algorithm parameters.
 void ExemptionMechanism.init(Key key, AlgorithmParameterSpec params)
          Initializes this exemption mechanism with a key and a set of algorithm parameters.
 void KeyAgreement.init(Key key, AlgorithmParameterSpec params, SecureRandom random)
          Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
 

Uses of AlgorithmParameterSpec in javax.crypto.spec
 

Classes in javax.crypto.spec that implement AlgorithmParameterSpec
 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 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.
 

Methods in javax.crypto.spec that return AlgorithmParameterSpec
 AlgorithmParameterSpec OAEPParameterSpec.getMGFParameters()
          Returns the parameters for the mask generation function.
 

Constructors in javax.crypto.spec with parameters of type AlgorithmParameterSpec
OAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)
          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.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.