| Package | Description |
|---|---|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
|
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| javax.net.ssl |
Provides classes for the secure socket package.
|
| javax.security.auth.login |
This package provides a pluggable authentication framework.
|
| javax.security.cert |
Provides classes for public key certificates.
|
| javax.smartcardio |
Java™ Smart Card I/O API
|
| javax.xml.crypto.dsig |
Classes for generating and validating XML digital signatures.
|
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
KeyStoreSpi.engineGetEntry(String
Gets a
KeyStore.Entry for the specified alias with the specified protection parameter.
|
abstract Key |
KeyStoreSpi.engineGetKey(String
Returns the key associated with the given alias, using the given password to recover it.
|
abstract void |
KeyStoreSpi.engineLoad(InputStream
Loads the keystore from the given input stream.
|
void |
KeyStoreSpi.engineLoad(KeyStore
Loads the keystore using the given
KeyStore.LoadStoreParameter.
|
void |
KeyStoreSpi.engineStore(KeyStore
Stores this keystore using the given
KeyStore.LoadStoreParmeter.
|
abstract void |
KeyStoreSpi.engineStore(OutputStream
Stores this keystore to the given output stream, and protects its integrity with the given password.
|
KeyStore |
KeyStore.getEntry(String
Gets a keystore
Entry for the specified alias with the specified protection parameter.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String
Returns a parameter object for the specified algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String
Returns a KeyFactory object that converts public/private keys of the specified algorithm.
|
static Signature |
Signature.getInstance(String
Returns a Signature object that implements the specified signature algorithm.
|
static SecureRandom |
SecureRandom.getInstance(String
Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String
Returns a MessageDigest object that implements the specified digest algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String
Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
|
static Policy |
Policy.getInstance(String
Returns a Policy object of the specified type.
|
static Policy |
Policy.getInstance(String
Returns a Policy object of the specified type.
|
static Policy |
Policy.getInstance(String
Returns a Policy object of the specified type.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String
Returns a parameter object for the specified algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String
Returns a KeyFactory object that converts public/private keys of the specified algorithm.
|
static Signature |
Signature.getInstance(String
Returns a Signature object that implements the specified signature algorithm.
|
static SecureRandom |
SecureRandom.getInstance(String
Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String
Returns a MessageDigest object that implements the specified digest algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String
Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String
Returns a parameter object for the specified algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String
Returns a KeyFactory object that converts public/private keys of the specified algorithm.
|
static Signature |
Signature.getInstance(String
Returns a Signature object that implements the specified signature algorithm.
|
static SecureRandom |
SecureRandom.getInstance(String
Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String
Returns a MessageDigest object that implements the specified digest algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String
Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
|
static SecureRandom |
SecureRandom.getInstanceStrong()
Returns a
SecureRandom object that was selected by using the algorithms/providers specified in the
securerandom.strongAlgorithms
Security property.
|
Key |
KeyStore.getKey(String
Returns the key associated with the given alias, using the given password to recover it.
|
void |
KeyStore.load(InputStream
Loads this KeyStore from the given input stream.
|
void |
KeyStore.load(KeyStore
Loads this keystore using the given
LoadStoreParameter.
|
Object |
Provider.Service.newInstance(Object
Return a new instance of the implementation described by this service.
|
void |
KeyStore.store(KeyStore
Stores this keystore using the given
LoadStoreParameter.
|
void |
KeyStore.store(OutputStream
Stores this keystore to the given output stream, and protects its integrity with the given password.
|
| Modifier and Type | Method and Description |
|---|---|
static CertPathBuilder |
CertPathBuilder.getInstance(String
Returns a
CertPathBuilder object that implements the specified algorithm.
|
static CertPathValidator |
CertPathValidator.getInstance(String
Returns a
CertPathValidator object that implements the specified algorithm.
|
static CertStore |
CertStore.getInstance(String
Returns a
CertStore object that implements the specified
CertStore type and is initialized with the specified parameters.
|
static CertStore |
CertStore.getInstance(String
Returns a
CertStore object that implements the specified
CertStore type.
|
static CertStore |
CertStore.getInstance(String
Returns a
CertStore object that implements the specified
CertStore type.
|
static CertPathBuilder |
CertPathBuilder.getInstance(String
Returns a
CertPathBuilder object that implements the specified algorithm.
|
static CertPathValidator |
CertPathValidator.getInstance(String
Returns a
CertPathValidator object that implements the specified algorithm.
|
static CertPathBuilder |
CertPathBuilder.getInstance(String
Returns a
CertPathBuilder object that implements the specified algorithm.
|
static CertPathValidator |
CertPathValidator.getInstance(String
Returns a
CertPathValidator object that implements the specified algorithm.
|
abstract void |
X509CRL.verify(PublicKey
Verifies that this CRL was signed using the private key that corresponds to the given public key.
|
abstract void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
void |
X509CRL.verify(PublicKey
Verifies that this CRL was signed using the private key that corresponds to the given public key.
|
void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
void |
X509Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
abstract void |
X509CRL.verify(PublicKey
Verifies that this CRL was signed using the private key that corresponds to the given public key.
|
abstract void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract SecretKey |
KeyAgreementSpi.engineGenerateSecret(String
Creates the shared secret and returns it as a secret key object of the requested algorithm type.
|
protected abstract void |
CipherSpi.engineSetMode(String
Sets the mode of this cipher.
|
protected Key |
CipherSpi.engineUnwrap(byte[] wrappedKey, String
Unwrap a previously wrapped key.
|
SecretKey |
KeyAgreement.generateSecret(String
Creates the shared secret and returns it as a
SecretKey object of the specified algorithm.
|
static KeyAgreement |
KeyAgreement.getInstance(String
Returns a
KeyAgreement object that implements the specified key agreement algorithm.
|
static Cipher |
Cipher.getInstance(String
Returns a
Cipher object that implements the specified transformation.
|
static KeyGenerator |
KeyGenerator.getInstance(String
Returns a
KeyGenerator object that generates secret keys for the specified algorithm.
|
static Mac |
Mac.getInstance(String
Returns a
Mac object that implements the specified MAC algorithm.
|
static ExemptionMechanism |
ExemptionMechanism.getInstance(String
Returns an
ExemptionMechanism object that implements the specified exemption mechanism algorithm.
|
static SecretKeyFactory |
SecretKeyFactory.getInstance(String
Returns a
SecretKeyFactory object that converts secret keys of the specified algorithm.
|
static KeyAgreement |
KeyAgreement.getInstance(String
Returns a
KeyAgreement object that implements the specified key agreement algorithm.
|
static Cipher |
Cipher.getInstance(String
Returns a
Cipher object that implements the specified transformation.
|
static KeyGenerator |
KeyGenerator.getInstance(String
Returns a
KeyGenerator object that generates secret keys for the specified algorithm.
|
static Mac |
Mac.getInstance(String
Returns a
Mac object that implements the specified MAC algorithm.
|
static ExemptionMechanism |
ExemptionMechanism.getInstance(String
Returns an
ExemptionMechanism object that implements the specified exemption mechanism algorithm.
|
static SecretKeyFactory |
SecretKeyFactory.getInstance(String
Returns a
SecretKeyFactory object that converts secret keys of the specified algorithm.
|
static KeyAgreement |
KeyAgreement.getInstance(String
Returns a
KeyAgreement object that implements the specified key agreement algorithm.
|
static Cipher |
Cipher.getInstance(String
Returns a
Cipher object that implements the specified transformation.
|
static KeyGenerator |
KeyGenerator.getInstance(String
Returns a
KeyGenerator object that generates secret keys for the specified algorithm.
|
static Mac |
Mac.getInstance(String
Returns a
Mac object that implements the specified MAC algorithm.
|
static ExemptionMechanism |
ExemptionMechanism.getInstance(String
Returns an
ExemptionMechanism object that implements the specified exemption mechanism algorithm.
|
static SecretKeyFactory |
SecretKeyFactory.getInstance(String
Returns a
SecretKeyFactory object that converts secret keys of the specified algorithm.
|
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Key
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
|
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Key
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
|
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Key
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
|
static int |
Cipher.getMaxAllowedKeyLength(String
Returns the maximum key length for the specified transformation according to the installed JCE jurisdiction policy files.
|
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(String
Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file.
|
Object |
SealedObject.getObject(Key
Retrieves the original (encapsulated) object.
|
Object |
SealedObject.getObject(Key
Retrieves the original (encapsulated) object.
|
Key |
Cipher.unwrap(byte[] wrappedKey, String
Unwrap a previously wrapped key.
|
| Constructor and Description | |
|---|---|
EncryptedPrivateKeyInfo(AlgorithmParameters
Constructs an
EncryptedPrivateKeyInfo from the encryption algorithm parameters and the encrypted data.
|
|
EncryptedPrivateKeyInfo(String
Constructs an
EncryptedPrivateKeyInfo from the encryption algorithm name and the encrypted data.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
KeyManagerFactorySpi.engineInit(KeyStore
Initializes this factory with a source of key material.
|
static SSLContext |
SSLContext.getDefault()
Returns the default SSL context.
|
static TrustManagerFactory |
TrustManagerFactory.getInstance(String
Returns a
TrustManagerFactory object that acts as a factory for trust managers.
|
static KeyManagerFactory |
KeyManagerFactory.getInstance(String
Returns a
KeyManagerFactory object that acts as a factory for key managers.
|
static SSLContext |
SSLContext.getInstance(String
Returns a
SSLContext object that implements the specified secure socket protocol.
|
static TrustManagerFactory |
TrustManagerFactory.getInstance(String
Returns a
TrustManagerFactory object that acts as a factory for trust managers.
|
static KeyManagerFactory |
KeyManagerFactory.getInstance(String
Returns a
KeyManagerFactory object that acts as a factory for key managers.
|
static SSLContext |
SSLContext.getInstance(String
Returns a
SSLContext object that implements the specified secure socket protocol.
|
static TrustManagerFactory |
TrustManagerFactory.getInstance(String
Returns a
TrustManagerFactory object that acts as a factory for trust managers.
|
static KeyManagerFactory |
KeyManagerFactory.getInstance(String
Returns a
KeyManagerFactory object that acts as a factory for key managers.
|
static SSLContext |
SSLContext.getInstance(String
Returns a
SSLContext object that implements the specified secure socket protocol.
|
void |
KeyManagerFactory.init(KeyStore
Initializes this factory with a source of key material.
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
Configuration.getInstance(String
Returns a Configuration object of the specified type.
|
static Configuration |
Configuration.getInstance(String
Returns a Configuration object of the specified type.
|
static Configuration |
Configuration.getInstance(String
Returns a Configuration object of the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
abstract void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
| Modifier and Type | Method and Description |
|---|---|
static TerminalFactory |
TerminalFactory.getInstance(String
Returns a TerminalFactory of the specified type that is initialized with the specified parameters.
|
static TerminalFactory |
TerminalFactory.getInstance(String
Returns a TerminalFactory of the specified type that is initialized with the specified parameters.
|
static TerminalFactory |
TerminalFactory.getInstance(String
Returns a TerminalFactory of the specified type that is initialized with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static TransformService |
TransformService.getInstance(String
Returns a
TransformService that supports the specified algorithm URI (ex:
Transform) and mechanism type (ex: DOM).
|
static TransformService |
TransformService.getInstance(String
Returns a
TransformService that supports the specified algorithm URI (ex:
Transform) and mechanism type (ex: DOM) as supplied by the specified provider.
|
static TransformService |
TransformService.getInstance(String
Returns a
TransformService that supports the specified algorithm URI (ex:
Transform) and mechanism type (ex: DOM) as supplied by the specified provider.
|
abstract CanonicalizationMethod |
XMLSignatureFactory.newCanonicalizationMethod(String
Creates a
CanonicalizationMethod for the specified algorithm URI and parameters.
|
abstract CanonicalizationMethod |
XMLSignatureFactory.newCanonicalizationMethod(String
Creates a
CanonicalizationMethod for the specified algorithm URI and parameters.
|
abstract DigestMethod |
XMLSignatureFactory.newDigestMethod(String
Creates a
DigestMethod for the specified algorithm URI and parameters.
|
abstract SignatureMethod |
XMLSignatureFactory.newSignatureMethod(String
Creates a
SignatureMethod for the specified algorithm URI and parameters.
|
abstract Transform |
XMLSignatureFactory.newTransform(String
Creates a
Transform for the specified algorithm URI and parameters.
|
abstract Transform |
XMLSignatureFactory.newTransform(String
Creates a
Transform for the specified algorithm URI and parameters.
|