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.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. |
Modifier and Type | Method | Description |
---|---|---|
static Policy |
Policy.getInstance(String type,
Policy.Parameters params,
String provider)
Returns a Policy object of the specified type.
|
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
String provider)
Returns an AlgorithmParameterGenerator object for generating
a set of parameters to be used with the specified algorithm.
|
|
static Signature |
Signature.getInstance(String algorithm,
String provider)
Returns a Signature object that implements the specified signature
algorithm.
|
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
String provider)
Returns a KeyPairGenerator object that generates public/private
key pairs for the specified algorithm.
|
|
static KeyStore |
KeyStore.getInstance(String type,
String provider)
Returns a keystore object of the specified type.
|
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
String provider)
Returns a SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm.
|
|
static KeyFactory |
KeyFactory.getInstance(String algorithm,
String provider)
Returns a KeyFactory object that converts
public/private keys of the specified algorithm.
|
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
String provider)
Returns a parameter object for the specified algorithm.
|
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Returns a MessageDigest object that implements the specified digest
algorithm.
|
Modifier and Type | Method | Description |
---|---|---|
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
String provider)
Returns a
CertStore object that implements the specified
CertStore type. |
|
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
String provider)
Returns a
CertPathBuilder object that implements the
specified algorithm. |
|
static CertPathValidator |
CertPathValidator.getInstance( |