| Package | Description |
|---|---|
| java.security |
Contains core language classes related to permission management.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
| javax.crypto |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SignatureSpi.engineSetParameter(AlgorithmParameterSpec params)
This method is overridden by providers to initialize this signature engine with the specified parameter set.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
CertPathBuilderResult |
CertPathBuilder.build(CertPathParameters params)
Attempts to build a certification path using the specified algorithm
parameter set.
|
abstract CertPathBuilderResult |
CertPathBuilderSpi.engineBuild(CertPathParameters params)
Attempts to build a certification path using the specified
algorithm parameter set.
|
abstract CertPathValidatorResult |
CertPathValidatorSpi.engineValidate(CertPath certPath,
CertPathParameters params)
Validates the specified certification path using the specified
algorithm parameter set.
|
static CertStore |
CertStore.getInstance(java.lang.String type,
CertStoreParameters params)
Returns a
CertStore object that implements the specified
CertStore type and is initialized with the specified
parameters. |
void |
PKIXParameters.setTrustAnchors(java.util.Set<TrustAnchor> trustAnchors)
Sets the
Set of most-trusted CAs. |
CertPathValidatorResult |
CertPathValidator.validate(CertPath certPath,
CertPathParameters params)
Validates the specified certification path using the specified
algorithm parameter set.
|
| Constructor and Description |
|---|
CertStoreSpi(CertStoreParameters params)
The sole constructor.
|
PKIXBuilderParameters(KeyStore keystore,
CertSelector targetConstraints)
Creates an instance of
PKIXBuilderParameters that
populates the set of most-trusted CAs from the trusted
certificate entries contained in the specified KeyStore. |
PKIXBuilderParameters(java.util.Set<TrustAnchor> trustAnchors,
CertSelector targetConstraints)
Creates an instance of
PKIXBuilderParameters with
the specified Set of most-trusted CAs. |
PKIXParameters(KeyStore keystore)
Creates an instance of
PKIXParameters that
populates the set of most-trusted CAs from the trusted
certificate entries contained in the specified KeyStore. |
PKIXParameters(java.util.Set<TrustAnchor> trustAnchors)
Creates an instance of
PKIXParameters with the specified
Set of most-trusted CAs. |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
KeyAgreement.init(Key key,
AlgorithmParameterSpec params,
SecureRandom random)
Initializes this key agreement with the given key, set of
algorithm parameters, and source of randomness.
|