| 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.smartcardio |
Java™ Smart Card I/O API
|
| javax.xml.crypto.dsig |
Classes for generating and validating XML digital signatures.
|
| javax.xml.crypto.dsig.keyinfo |
Classes for parsing and processing
KeyInfo elements and structures.
|
| org.ietf.jgss |
This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthProvider
This class defines login and logout methods for a provider.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
KeyPairGenerator.getProvider()
Returns the provider of this key pair generator object.
|
Provider |
Policy.getProvider()
Return the Provider of this Policy.
|
Provider |
AlgorithmParameters.getProvider()
Returns the provider of this parameter object.
|
Provider |
KeyFactory.getProvider()
Returns the provider of this key factory object.
|
Provider |
Provider.Service.getProvider()
Return the Provider of this service.
|
Provider |
Signature.getProvider()
Returns the provider of this signature object.
|
Provider |
SecureRandom.getProvider()
Returns the provider of this SecureRandom object.
|
Provider |
KeyStore.getProvider()
Returns the provider of this keystore.
|
Provider |
MessageDigest.getProvider()
Returns the provider of this message digest object.
|
Provider |
AlgorithmParameterGenerator.getProvider()
Returns the provider of this algorithm parameter generator object.
|
static Provider |
Security.getProvider(String
Returns the provider installed with the specified name, if any.
|
static Provider |
Security.getProviders()
Returns an array containing all the installed providers.
|
static Provider |
Security.getProviders(Map
Returns an array containing all installed providers that satisfy the specified* selection criteria, or null if no such providers have been installed.
|
static Provider |
Security.getProviders(String
Returns an array containing all installed providers that satisfy the specified selection criterion, or null if no such providers have been installed.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Security.addProvider(Provider
Adds a provider to the next position available.
|
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 KeyStore |
KeyStore.getInstance(String
Returns a keystore object of the specified type.
|
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 int |
Security.insertProviderAt(Provider
Adds a new provider, at a specified position.
|
static KeyStore |
KeyStore.Builder.newInstance(String
Returns a new Builder object.
|
static KeyStore |
KeyStore.Builder.newInstance(String
Returns a new Builder object.
|
| Constructor and Description | |
|---|---|
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi
Creates an AlgorithmParameterGenerator object.
|
|
AlgorithmParameters(AlgorithmParametersSpi
Creates an AlgorithmParameters object.
|
|
KeyFactory(KeyFactorySpi
Creates a KeyFactory object.
|
|
KeyStore(KeyStoreSpi
Creates a KeyStore object of the given type, and encapsulates the given provider implementation (SPI object) in it.
|
|
SecureRandom(SecureRandomSpi
Creates a SecureRandom object.
|
|
Service(Provider
Construct a new service.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
CertPathBuilder.getProvider()
Returns the provider of this
CertPathBuilder.
|
Provider |
CertificateFactory.getProvider()
Returns the provider of this certificate factory.
|
Provider |
CertPathValidator.getProvider()
Returns the
Provider of this
CertPathValidator.
|
Provider |
CertStore.getProvider()
Returns the provider of this
CertStore.
|
| Modifier and Type | Method and Description |
|---|---|
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 CertificateFactory |
CertificateFactory.getInstance(String
Returns a certificate factory object for the specified certificate type.
|
static CertPathValidator |
CertPathValidator.getInstance(String
Returns a
CertPathValidator object that implements the specified algorithm.
|
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.
|
| Constructor and Description | |
|---|---|
CertificateFactory(CertificateFactorySpi
Creates a CertificateFactory object of the given type, and encapsulates the given provider implementation (SPI object) in it.
|
|
CertPathBuilder(CertPathBuilderSpi
Creates a
CertPathBuilder object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.
|
|
CertPathValidator(CertPathValidatorSpi
Creates a
CertPathValidator object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.
|
|
CertStore(CertStoreSpi
Creates a
CertStore object of the given type, and encapsulates the given provider implementation (SPI object) in it.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
KeyAgreement.getProvider()
Returns the provider of this
KeyAgreement object.
|
Provider |
Cipher.getProvider()
Returns the provider of this
Cipher object.
|
Provider |
KeyGenerator.getProvider()
Returns the provider of this
KeyGenerator object.
|
Provider |
Mac.getProvider()
Returns the provider of this
Mac object.
|
Provider |
ExemptionMechanism.getProvider()
Returns the provider of this
ExemptionMechanism object.
|
Provider |
SecretKeyFactory.getProvider()
Returns the provider of this
SecretKeyFactory object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description | |
|---|---|
Cipher(CipherSpi
Creates a Cipher object.
|
|
ExemptionMechanism(ExemptionMechanismSpi
Creates a ExemptionMechanism object.
|
|
KeyAgreement(KeyAgreementSpi
Creates a KeyAgreement object.
|
|
KeyGenerator(KeyGeneratorSpi
Creates a KeyGenerator object.
|
|
Mac(MacSpi
Creates a MAC object.
|
|
SecretKeyFactory(SecretKeyFactorySpi
Creates a SecretKeyFactory object.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
TrustManagerFactory.getProvider()
Returns the provider of this
TrustManagerFactory object.
|
Provider |
KeyManagerFactory.getProvider()
Returns the provider of this
KeyManagerFactory object.
|
Provider |
SSLContext.getProvider()
Returns the provider of this
SSLContext object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description | |
|---|---|
KeyManagerFactory(KeyManagerFactorySpi
Creates a KeyManagerFactory object.
|
|
SSLContext(SSLContextSpi
Creates an SSLContext object.
|
|
TrustManagerFactory(TrustManagerFactorySpi
Creates a TrustManagerFactory object.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
Configuration.getProvider()
Return the Provider of this Configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
Configuration.getInstance(String
Returns a Configuration object of the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
TerminalFactory.getProvider()
Returns the provider of this TerminalFactory.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
TransformService.getProvider()
Returns the provider of this
TransformService.
|
Provider |
XMLSignatureFactory.getProvider()
Returns the provider of this
XMLSignatureFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static XMLSignatureFactory |
XMLSignatureFactory.getInstance(String
Returns an
XMLSignatureFactory that supports the requested XML processing mechanism and representation 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.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
KeyInfoFactory.getProvider()
Returns the provider of this
KeyInfoFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyInfoFactory |
KeyInfoFactory.getInstance(String
Returns a
KeyInfoFactory that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
GSSManager.addProviderAtEnd(Provider
This method is used to indicate to the GSSManager that the application would like a particular provider to be used if no other provider can be found that supports the given mechanism.
|
abstract void |
GSSManager.addProviderAtFront(Provider
This method is used to indicate to the GSSManager that the application would like a particular provider to be used ahead of all others when support is desired for the given mechanism.
|