A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages

A

AA_COMPROMISE - java.security.cert.CRLReason
This reason indicates that it is known or suspected that the certificate subject's private key has been compromised.
addCertPathChecker(PKIXCertPathChecker) - Method in class java.security.cert.PKIXParameters
Adds a PKIXCertPathChecker to the list of certification path checkers.
addCertStore(CertStore) - Method in class java.security.cert.PKIXParameters
Adds a CertStore to the end of the list of CertStores used in finding certificates and CRLs.
addIssuer(X500Principal) - Method in class java.security.cert.X509CRLSelector
Adds a name to the issuerNames criterion.
addIssuerName(byte[]) - Method in class java.security.cert.X509CRLSelector
Adds a name to the issuerNames criterion.
addIssuerName(String) - Method in class java.security.cert.X509CRLSelector
addPathToName(int, byte[]) - Method in class java.security.cert.X509CertSelector
Adds a name to the pathToNames criterion.
addPathToName(int, String) - Method in class java.security.cert.X509CertSelector
Adds a name to the pathToNames criterion.
addSubjectAlternativeName(int, byte[]) - Method in class java.security.cert.X509CertSelector
Adds a name to the subjectAlternativeNames criterion.
addSubjectAlternativeName(int, String) - Method in class java.security.cert.X509CertSelector
Adds a name to the subjectAlternativeNames criterion.
AEADBadTagException - Exception in javax.crypto
This exception is thrown when a Cipher operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.
AEADBadTagException() - Constructor for exception javax.crypto.AEADBadTagException
Constructs a AEADBadTagException with no detail message.
AEADBadTagException(String) - Constructor for exception javax.crypto.AEADBadTagException
Constructs a AEADBadTagException with the specified detail message.
AFFILIATION_CHANGED - java.security.cert.CRLReason
This reason indicates that the subject's name or other information has changed.
ALGORITHM_CONSTRAINED - java.security.cert.CertPathValidatorException.BasicReason
The public key or the signature algorithm has been constrained.
AlgorithmId - Class in sun.security.x509
Use this class to get OID of supported algorithms see get(String) The OID is handled in it's String format in this class.
AlgorithmId() - Constructor for class sun.security.x509.AlgorithmId
Deprecated.
use one of the other constructors.
AlgorithmId(String) - Constructor for class sun.security.x509.AlgorithmId
Constructs a parameterless algorithm ID.
AlgorithmParameterSpec - Interface in java.security.spec
A (transparent) specification of cryptographic parameters.
aliases() - Method in class java.security.KeyStore
Lists all the alias names of this keystore.
appRandom - Variable in class java.security.SignatureSpi
Application-specified source of randomness.

B

BadPaddingException - Exception in javax.crypto
This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
BadPaddingException() - Constructor for exception javax.crypto.BadPaddingException
Constructs a BadPaddingException with no detail message.
BadPaddingException(String) - Constructor for exception javax.crypto.BadPaddingException
Constructs a BadPaddingException with the specified detail message.
build(CertPathParameters) - Method in class java.security.cert.CertPathBuilder
Attempts to build a certification path using the specified algorithm parameter set.

C

CA_COMPROMISE - java.security.cert.CRLReason
This reason indicates that it is known or suspected that the certificate subject's private key has been compromised.
Certificate - Class in java.security.cert
Abstract class for managing a variety of identity certificates.
Certificate(String) - Constructor for class java.security.cert.Certificate
Creates a certificate of the specified type.
CERTIFICATE_HOLD - java.security.cert.CRLReason
This reason indicates that the certificate has been put on hold.
CertificateEncodingException - Exception in java.security.cert
Certificate Encoding Exception.
CertificateEncodingException() - Constructor for exception java.security.cert.CertificateEncodingException
Constructs a CertificateEncodingException with no detail message.
CertificateEncodingException(String) - Constructor for exception java.security.cert.CertificateEncodingException
Constructs a CertificateEncodingException with the specified detail message.
CertificateEncodingException(String, Throwable) - Constructor for exception java.security.cert.CertificateEncodingException
Creates a CertificateEncodingException with the specified detail message and cause.
CertificateEncodingException(Throwable) - Constructor for exception java.security.cert.CertificateEncodingException
Creates a CertificateEncodingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
CertificateException - Exception in java.security.cert
This exception indicates one of a variety of certificate problems.
CertificateException() - Constructor for exception java.security.cert.CertificateException
Constructs a certificate exception with no detail message.
CertificateException(String) - Constructor for exception java.security.cert.CertificateException
Constructs a certificate exception with the given detail message.
CertificateException(String, Throwable) - Constructor for exception java.security.cert.CertificateException
Creates a CertificateException with the specified detail message and cause.
CertificateException(Throwable) - Constructor for exception java.security.cert.CertificateException
Creates a CertificateException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
CertificateExpiredException - Exception in java.security.cert
Certificate Expired Exception.
CertificateExpiredException() - Constructor for exception java.security.cert.CertificateExpiredException
Constructs a CertificateExpiredException with no detail message.
CertificateExpiredException(String) - Constructor for exception java.security.cert.CertificateExpiredException
Constructs a CertificateExpiredException with the specified detail message.
CertificateFactory - Class in java.security.cert
This class defines the functionality of a certificate factory, which is used to generate certificate, certification path (CertPath) and certificate revocation list (CRL) objects from their encodings.
CertificateFactory(CertificateFactorySpi, String) - Constructor for class java.security.cert.CertificateFactory
Creates a CertificateFactory object of the given type, and encapsulates the given provider implementation (SPI object) in it.
CertificateFactorySpi - Class in java.security.cert
This class defines the Service Provider Interface (SPI) for the CertificateFactory class.
CertificateFactorySpi() - Constructor for class java.security.cert.CertificateFactorySpi
 
CertificateNotYetValidException - Exception in java.security.cert
Certificate is not yet valid exception.
CertificateNotYetValidException() - Constructor for exception java.security.cert.CertificateNotYetValidException
Constructs a CertificateNotYetValidException with no detail message.
CertificateNotYetValidException(String) - Constructor for exception java.security.cert.CertificateNotYetValidException
Constructs a CertificateNotYetValidException with the specified detail message.
CertificateParsingException - Exception in java.security.cert
Certificate Parsing Exception.
CertificateParsingException() - Constructor for exception java.security.cert.CertificateParsingException
Constructs a CertificateParsingException with no detail message.
CertificateParsingException(String) - Constructor for exception java.security.cert.CertificateParsingException
Constructs a CertificateParsingException with the specified detail message.
CertificateParsingException(String, Throwable) - Constructor for exception java.security.cert.CertificateParsingException
Creates a CertificateParsingException with the specified detail message and cause.
CertificateParsingException(Throwable) - Constructor for exception java.security.cert.CertificateParsingException
Creates a CertificateParsingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
CertificateRevokedException - Exception in java.security.cert
An exception that indicates an X.509 certificate is revoked.
CertificateRevokedException(Date, CRLReason, X500Principal, Map<String, Extension>) - Constructor for exception java.security.cert.CertificateRevokedException
Constructs a CertificateRevokedException with the specified revocation date, reason code, authority name, and map of extensions.
CertPath - Class in java.security.cert
An immutable sequence of certificates (a certification path).
CertPath(String) - Constructor for class java.security.cert.CertPath
Creates a CertPath of the specified type.
CertPathBuilder - Class in java.security.cert
A class for building certification paths (also known as certificate chains).
CertPathBuilder(CertPathBuilderSpi, String) - Constructor for class java.security.cert.CertPathBuilder
Creates a CertPathBuilder object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.
CertPathBuilderException - Exception in java.security.cert
An exception indicating one of a variety of problems encountered when building a certification path with a CertPathBuilder.
CertPathBuilderException() - Constructor for exception java.security.cert.CertPathBuilderException
Creates a CertPathBuilderException with null as its detail message.
CertPathBuilderException(String) - Constructor for exception java.security.cert.CertPathBuilderException
Creates a CertPathBuilderException with the given detail message.
CertPathBuilderException(String, Throwable) - Constructor for exception java.security.cert.CertPathBuilderException
Creates a CertPathBuilderException with the specified detail message and cause.
CertPathBuilderException(Throwable) - Constructor for exception java.security.cert.CertPathBuilderException
Creates a CertPathBuilderException that wraps the specified throwable.
CertPathBuilderResult - Interface in java.security.cert
A specification of the result of a certification path builder algorithm.
CertPathBuilderSpi - Class in java.security.cert
The Service Provider Interface (SPI) for the CertPathBuilder class.
CertPathBuilderSpi() - Constructor for class java.security.cert.CertPathBuilderSpi
The default constructor.
CertPathChecker - Interface in java.security.cert
Performs one or more checks on each Certificate of a CertPath.
CertPathParameters - Interface in java.security.cert
A specification of certification path algorithm parameters.
CertPathValidator - Class in java.security.cert
A class for validating certification paths (also known as certificate chains).
CertPathValidator(CertPathValidatorSpi, String) - Constructor for class java.security.cert.CertPathValidator
Creates a CertPathValidator object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.
CertPathValidatorException - Exception in java.security.cert
An exception indicating one of a variety of problems encountered when validating a certification path.
CertPathValidatorException() - Constructor for exception java.security.cert.CertPathValidatorException
Creates a CertPathValidatorException with no detail message.
CertPathValidatorException(String) - Constructor for exception java.security.cert.CertPathValidatorException
Creates a CertPathValidatorException with the given detail message.
CertPathValidatorException(String, Throwable) - Constructor for exception java.security.cert.CertPathValidatorException
Creates a CertPathValidatorException with the specified detail message and cause.
CertPathValidatorException(String, Throwable, CertPath, int) - Constructor for exception java.security.cert.CertPathValidatorException
Creates a CertPathValidatorException with the specified detail message, cause, certification path, and index.
CertPathValidatorException(String, Throwable, CertPath, int, CertPathValidatorException.Reason) - Constructor for exception java.security.cert.CertPathValidatorException
Creates a CertPathValidatorException with the specified detail message, cause, certification path, index, and reason.
CertPathValidatorException(Throwable) - Constructor for exception java.security.cert.CertPathValidatorException
Creates a CertPathValidatorException that wraps the specified throwable.
CertPathValidatorException.BasicReason - Enum in java.security.cert
The BasicReason enumerates the potential reasons that a certification path of any type may be invalid.
CertPathValidatorException.Reason - Interface in java.security.cert
The reason the validation algorithm failed.
CertPathValidatorResult - Interface in java.security.cert
A specification of the result of a certification path validator algorithm.
CertPathValidatorSpi - Class in java.security.cert
The Service Provider Interface (SPI) for the CertPathValidator class.
CertPathValidatorSpi() - Constructor for class java.security.cert.CertPathValidatorSpi
The default constructor.
CertSelector - Interface in java.security.cert
A selector that defines a set of criteria for selecting Certificates.
CertStore - Class in java.security.cert
A class for retrieving Certificates and CRLs from a repository.
CertStore(CertStoreSpi, String, CertStoreParameters) - Constructor for class java.security.cert.CertStore
Creates a CertStore object of the given type, and encapsulates the given provider implementation (SPI object) in it.
CertStoreException - Exception in java.security.cert
An exception indicating one of a variety of problems retrieving certificates and CRLs from a CertStore.
CertStoreException() - Constructor for exception java.security.cert.CertStoreException
Creates a CertStoreException with null as its detail message.
CertStoreException(String) - Constructor for exception java.security.cert.CertStoreException
Creates a CertStoreException with the given detail message.
CertStoreException(String, Throwable) - Constructor for exception java.security.cert.CertStoreException
Creates a CertStoreException with the specified detail message and cause.
CertStoreException(Throwable) - Constructor for exception java.security.cert.CertStoreException
Creates a CertStoreException that wraps the specified throwable.
CertStoreParameters - Interface in java.security.cert
A specification of CertStore parameters.
CertStoreSpi - Class in java.security.cert
The Service Provider Interface (SPI) for the CertStore class.
CertStoreSpi(CertStoreParameters) - Constructor for class java.security.cert.CertStoreSpi
The sole constructor.
CESSATION_OF_OPERATION - java.security.cert.CRLReason
This reason indicates that the certificate is no longer needed.
check(Certificate) - Method in interface java.security.cert.CertPathChecker
Performs the check(s) on the specified certificate using its internal state.
check(Certificate) - Method in class java.security.cert.PKIXCertPathChecker
Performs the check(s) on the specified certificate using its internal state.
check(Certificate, Collection<String>) - Method in class java.security.cert.PKIXCertPathChecker
Performs the check(s) on the specified certificate using its internal state and removes any critical extensions that it processes from the specified collection of OID strings that represent the unresolved critical extensions.
checkValidity() - Method in class java.security.cert.X509Certificate
Checks that the certificate is currently valid.
Cipher - Class in javax.crypto
This class provides the functionality of a cryptographic cipher for encryption and decryption.
CipherSpi - Class in javax.crypto
This class defines the Service Provider Interface (SPI) for the Cipher class.
CipherSpi() - Constructor for class javax.crypto.CipherSpi
 
clearPassword() - Method in class javax.crypto.spec.PBEKeySpec
Clears the internal copy of the password.
clone() - Method in interface java.security.cert.CertPathBuilderResult
Makes a copy of this CertPathBuilderResult.
clone() - Method in interface java.security.cert.CertPathParameters
Makes a copy of this CertPathParameters.
clone() - Method in interface java.security.cert.CertPathValidatorResult
Makes a copy of this CertPathValidatorResult.
clone() - Method in interface java.security.cert.CertSelector
Makes a copy of this CertSelector.
clone() - Method in interface java.security.cert.CertStoreParameters
Makes a copy of this CertStoreParameters.
clone() - Method in class java.security.cert.CollectionCertStoreParameters
Returns a copy of this object.
clone() - Method in interface java.security.cert.CRLSelector
Makes a copy of this CRLSelector.
clone() - Method in class java.security.cert.LDAPCertStoreParameters
Returns a copy of this object.
clone() - Method in class java.security.cert.PKIXCertPathChecker
Returns a clone of this object.
clone() - Method in class java.security.cert.PKIXCertPathValidatorResult
Returns a copy of this object.
clone() - Method in class java.security.cert.PKIXParameters
Makes a copy of this PKIXParameters object.
clone() - Method in class java.security.cert.PKIXRevocationChecker
 
clone() - Method in class java.security.cert.X509CertSelector
Returns a copy of this object.
clone() - Method in class java.security.cert.X509CRLSelector
Returns a copy of this object.
clone() - Method in class java.security.MessageDigest
Returns a clone if the implementation is cloneable.
clone() - Method in class java.security.MessageDigestSpi
Returns a clone if the implementation is cloneable.
clone() - Method in class java.security.Signature
Returns a clone if the implementation is cloneable.
clone() - Method in class java.security.SignatureSpi
Returns a clone if the implementation is cloneable.
clone() - Method in class javax.crypto.Mac
Returns a clone if the provider implementation is cloneable.
clone() - Method in class javax.crypto.MacSpi
Returns a clone if the implementation is cloneable.
CollectionCertStoreParameters - Class in java.security.cert
Parameters used as input for the Collection CertStore algorithm.
CollectionCertStoreParameters() - Constructor for class java.security.cert.CollectionCertStoreParameters
Creates an instance of CollectionCertStoreParameters with the default parameter values (an empty and immutable Collection).
CollectionCertStoreParameters(Collection<?>) - Constructor for class java.security.cert.CollectionCertStoreParameters
Creates an instance of CollectionCertStoreParameters which will allow certificates and CRLs to be retrieved from the specified Collection.
com.microej.jce.spec - package com.microej.jce.spec
Provides key and algorithm parameter specifications for use with MicroEJ Crypto.
containsAlias(String) - Method in class java.security.KeyStore
Checks if the given alias exists in this keystore.
CRL - Class in java.security.cert
This class is an abstraction of certificate revocation lists (CRLs) that have different formats but important common uses.
CRL(String) - Constructor for class java.security.cert.CRL
Creates a CRL of the specified type.
CRLException - Exception in java.security.cert
CRL (Certificate Revocation List) Exception.
CRLException() - Constructor for exception java.security.cert.CRLException
Constructs a CRLException with no detail message.
CRLException(String) - Constructor for exception java.security.cert.CRLException
Constructs a CRLException with the specified detail message.
CRLException(String, Throwable) - Constructor for exception java.security.cert.CRLException
Creates a CRLException with the specified detail message and cause.
CRLException(Throwable) - Constructor for exception java.security.cert.CRLException
Creates a CRLException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
CRLReason - Enum in java.security.cert
The CRLReason enumeration specifies the reason that a certificate is revoked, as defined in RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile.
CRLSelector - Interface in java.security.cert
A selector that defines a set of criteria for selecting CRLs.

D

DECRYPT_MODE - Static variable in class javax.crypto.Cipher
Constant used to initialize cipher to decryption mode.
DEFAULT - Static variable in class javax.crypto.spec.OAEPParameterSpec
Deprecated.
This field uses the default values defined in the PKCS #1 standard. Some of these defaults are no longer recommended due to advances in cryptanalysis -- see Appendix B.1 of PKCS #1 for more details. Thus, it is recommended to create a new OAEPParameterSpec with the desired parameter values using the OAEPParameterSpec(String, String, AlgorithmParameterSpec, PSource) constructor.
DEFAULT - Static variable in class javax.crypto.spec.PSource.PSpecified
The encoding input P whose value equals byte[0].
deleteEntry(String) - Method in class java.security.KeyStore
Deletes the entry identified by the given alias from this keystore.
destroy() - Method in class javax.crypto.spec.SecretKeySpec
 
destroy() - Method in interface javax.security.auth.Destroyable
Destroy this Object.
Destroyable - Interface in javax.security.auth
Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.
DestroyFailedException - Exception in javax.security.auth
Signals that a destroy operation failed.
DestroyFailedException() - Constructor for exception javax.security.auth.DestroyFailedException
Constructs a DestroyFailedException with no detail message.
DestroyFailedException(String) - Constructor for exception javax.security.auth.DestroyFailedException
Constructs a DestroyFailedException with the specified detail message.
digest() - Method in class java.security.MessageDigest
Completes the hash computation by performing final operations such as padding.
digest(byte[]) - Method in class java.security.MessageDigest
Performs a final update on the digest using the specified array of bytes, then completes the digest computation.
digest(byte[], int, int) - Method in class java.security.MessageDigest
Completes the hash computation by performing final operations such as padding.
DigestException - Exception in java.security
This is the generic Message Digest exception.
DigestException() - Constructor for exception java.security.DigestException
Constructs a DigestException with no detail message.
DigestException(String) - Constructor for exception java.security.DigestException
Constructs a DigestException with the specified detail message.
DigestException(String, Throwable) - Constructor for exception java.security.DigestException
Creates a DigestException with the specified detail message and cause.
DigestException(Throwable) - Constructor for exception java.security.DigestException
Creates a DigestException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
doFinal() - Method in class javax.crypto.Cipher
Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
doFinal() - Method in class javax.crypto.Mac
Finishes the MAC operation.
doFinal(byte[]) - Method in class javax.crypto.Cipher
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
doFinal(byte[]) - Method in class javax.crypto.Mac
Processes the given array of bytes and finishes the MAC operation.
doFinal(byte[], int) - Method in class javax.crypto.Cipher
Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
doFinal(byte[], int) - Method in class javax.crypto.Mac
Finishes the MAC operation.
doFinal(byte[], int, int) - Method in class javax.crypto.Cipher
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
doFinal(byte[], int, int, byte[]) - Method in class javax.crypto.Cipher
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
doFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.Cipher
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
doPhase(Key, boolean) - Method in class javax.crypto.KeyAgreement
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.

E

ECGenParameterSpec - Class in java.security.spec
This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.
ECGenParameterSpec(String) - Constructor for class java.security.spec.ECGenParameterSpec
Creates a parameter specification for EC parameter generation using a standard (or predefined) name stdName in order to generate the corresponding (precomputed) elliptic curve domain parameters.
ECPublicKeyNamedCurveSpec - Class in com.microej.jce.spec
This class specifies an elliptic curve public key based on the name of the curve used and the affine coordinates of the associated point on the curve.
ECPublicKeyNamedCurveSpec(String, byte[], byte[]) - Constructor for class com.microej.jce.spec.ECPublicKeyNamedCurveSpec
Creates a new ECPublicKeyNamedCurveSpec with the specified parameter values.
encode(OutputStream) - Method in interface java.security.cert.Extension
Generates the extension's DER encoding and writes it to the output stream.
EncodedKeySpec - Class in java.security.spec
This class represents a public or private key in encoded format.
EncodedKeySpec(byte[]) - Constructor for class java.security.spec.EncodedKeySpec
Creates a new EncodedKeySpec with the given encoded key.
ENCRYPT_MODE - Static variable in class javax.crypto.Cipher
Constant used to initialize cipher to encryption mode.
engineAliases() - Method in class java.security.KeyStoreSpi
Lists all the alias names of this keystore.
engineBuild(CertPathParameters) - Method in class java.security.cert.CertPathBuilderSpi
Attempts to build a certification path using the specified algorithm parameter set.
engineContainsAlias(String) - Method in class java.security.KeyStoreSpi
Checks if the given alias exists in this keystore.
engineDeleteEntry(String) - Method in class java.security.KeyStoreSpi
Deletes the entry identified by the given alias from this keystore.
engineDigest() - Method in class java.security.MessageDigestSpi
Completes the hash computation by performing final operations such as padding.
engineDigest(byte[], int, int) - Method in class java.security.MessageDigestSpi
Completes the hash computation by performing final operations such as padding.
engineDoFinal() - Method in class javax.crypto.MacSpi
Completes the MAC computation and resets the MAC for further use, maintaining the secret key that the MAC was initialized with.
engineDoFinal(byte[], int, int) - Method in class javax.crypto.CipherSpi
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
engineDoFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.CipherSpi
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
engineDoPhase(Key, boolean) - Method in class javax.crypto.KeyAgreementSpi
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.
engineGenerateCertificate(InputStream) - Method in class java.security.cert.CertificateFactorySpi
Generates a certificate object and initializes it with the data read from the input stream inStream.
engineGenerateCertificates(InputStream) - Method in class java.security.cert.CertificateFactorySpi
Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
engineGenerateCertPath(InputStream) - Method in class java.security.cert.CertificateFactorySpi
Generates a CertPath object and initializes it with the data read from the InputStream inStream.
engineGenerateCertPath(InputStream, String) - Method in class java.security.cert.CertificateFactorySpi
Generates a CertPath object and initializes it with the data read from the InputStream inStream.
engineGenerateCertPath(List<? extends Certificate>) - Method in class java.security.cert.CertificateFactorySpi
Generates a CertPath object and initializes it with a List of Certificates.
engineGenerateCRL(InputStream) - Method in class java.security.cert.CertificateFactorySpi
Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream inStream.
engineGenerateCRLs(InputStream) - Method in class java.security.cert.CertificateFactorySpi
Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream.
engineGeneratePrivate(KeySpec) - Method in class java.security.KeyFactorySpi
Generates a private key object from the provided key specification (key material).
engineGeneratePublic(KeySpec) - Method in class java.security.KeyFactorySpi
Generates a public key object from the provided key specification (key material).
engineGenerateSecret() - Method in class javax.crypto.KeyAgreementSpi
Generates the shared secret and returns it in a new buffer.
engineGenerateSecret(byte[], int) - Method in class javax.crypto.KeyAgreementSpi
Generates the shared secret, and places it into the buffer sharedSecret, beginning at offset inclusive.
engineGenerateSecret(String) - Method in class javax.crypto.KeyAgreementSpi
Creates the shared secret and returns it as a secret key object of the requested algorithm type.
engineGenerateSecret(KeySpec) - Method in class javax.crypto.SecretKeyFactorySpi
Generates a SecretKey object from the provided key specification (key material).
engineGenerateSeed(int) - Method in class java.security.SecureRandomSpi
Returns the given number of seed bytes.
engineGetBlockSize() - Method in class javax.crypto.CipherSpi
Returns the block size (in bytes).
engineGetCertificate(String) - Method in class java.security.KeyStoreSpi
Returns the certificate associated with the given alias.
engineGetCertificateChain(String) - Method in class java.security.KeyStoreSpi
Returns the certificate chain associated with the given alias.
engineGetCertificates(CertSelector) - Method in class java.security.cert.CertStoreSpi
Returns a Collection of Certificates that match the specified selector.
engineGetCertPathEncodings() - Method in class java.security.cert.CertificateFactorySpi
Returns an iteration of the CertPath encodings supported by this certificate factory, with the default encoding first.
engineGetCRLs(CRLSelector) - Method in class java.security.cert.CertStoreSpi
Returns a Collection of CRLs that match the specified selector.
engineGetDigestLength() - Method in class java.security.MessageDigestSpi
Returns the digest length in bytes.
engineGetIV() - Method in class javax.crypto.CipherSpi
Returns the initialization vector (IV) in a new buffer.
engineGetKey(String, char[]) - Method in class java.security.KeyStoreSpi
Returns the key associated with the given alias, using the given password to recover it.
engineGetMacLength() - Method in class javax.crypto.MacSpi
Returns the length of the MAC in bytes.
engineGetOutputSize(int) - Method in class javax.crypto.CipherSpi
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next update or doFinal operation, given the input length inputLen (in bytes).
engineGetRevocationChecker() - Method in class java.security.cert.CertPathBuilderSpi
Returns a CertPathChecker that this implementation uses to check the revocation status of certificates.
engineGetRevocationChecker() - Method in class java.security.cert.CertPathValidatorSpi
Returns a CertPathChecker that this implementation uses to check the revocation status of certificates.
engineInit(int, Key, SecureRandom) - Method in class javax.crypto.CipherSpi
Initializes this cipher with a key and a source of randomness.
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.CipherSpi
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
engineInit(Key, SecureRandom) - Method in class javax.crypto.KeyAgreementSpi
Initializes this key agreement with the given key and source of randomness.
engineInit(Key, AlgorithmParameterSpec) - Method in class javax.crypto.MacSpi
Initializes the MAC with the given (secret) key and algorithm parameters.
engineInit(Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyAgreementSpi
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
engineInitSign(PrivateKey) - Method in class java.security.SignatureSpi
Initializes this signature object with the specified private key for signing operations.
engineInitSign(PrivateKey, SecureRandom) - Method in class java.security.SignatureSpi
Initializes this signature object with the specified private key and source of randomness for signing operations.
engineInitVerify(PublicKey) - Method in class java.security.SignatureSpi
Initializes this signature object with the specified public key for verification operations.
engineIsCertificateEntry(String) - Method in class java.security.KeyStoreSpi
Returns true if the entry identified by the given alias was created by a call to setCertificateEntry, or created by a call to setEntry with a TrustedCertificateEntry.
engineIsKeyEntry(String) - Method in class java.security.KeyStoreSpi
Returns true if the entry identified by the given alias was created by a call to setKeyEntry, or created by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry.
engineLoad(InputStream, char[]) - Method in class java.security.KeyStoreSpi
Loads the keystore from the given input stream.
engineNextBytes(byte[]) - Method in class java.security.SecureRandomSpi
Generates a user-specified number of random bytes.
engineReset() - Method in class java.security.MessageDigestSpi
Resets the digest for further use.
engineReset() - Method in class javax.crypto.MacSpi
Resets the MAC for further use, maintaining the secret key that the MAC was initialized with.
engineSetCertificateEntry(String, Certificate) - Method in class java.security.KeyStoreSpi
Assigns the given certificate to the given alias.
engineSetKeyEntry(String, byte[], Certificate[]) - Method in class java.security.KeyStoreSpi
Assigns the given key (that has already been protected) to the given alias.
engineSetKeyEntry(String, Key, char[], Certificate[]) - Method in class java.security.KeyStoreSpi
 
engineSetParameter(AlgorithmParameterSpec) - Method in class java.security.SignatureSpi
This method is overridden by providers to initialize this signature engine with the specified parameter set.
engineSetSeed(byte[]) - Method in class java.security.SecureRandomSpi
Reseeds this random object.
engineSign() - Method in class java.security.SignatureSpi
Returns the signature bytes of all the data updated so far.
engineSign(byte[], int, int) - Method in class java.security.SignatureSpi
Finishes this signature operation and stores the resulting signature bytes in the provided buffer outbuf, starting at offset.
engineSize() - Method in class java.security.KeyStoreSpi
Retrieves the number of entries in this keystore.
engineUnwrap(byte[], String, int) - Method in class javax.crypto.CipherSpi
Unwrap a previously wrapped key.
engineUpdate(byte) - Method in class java.security.MessageDigestSpi
Updates the digest using the specified byte.
engineUpdate(byte) - Method in class java.security.SignatureSpi
Updates the data to be signed or verified using the specified byte.
engineUpdate(byte) - Method in class javax.crypto.MacSpi
Processes the given byte.
engineUpdate(byte[], int, int) - Method in class java.security.MessageDigestSpi
Updates the digest using the specified array of bytes, starting at the specified offset.
engineUpdate(byte[], int, int) - Method in class java.security.SignatureSpi
Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.
engineUpdate(byte[], int, int) - Method in class javax.crypto.CipherSpi
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
engineUpdate(byte[], int, int) - Method in class javax.crypto.MacSpi
Processes the first len bytes in input, starting at offset inclusive.
engineUpdate(byte[], int, int, byte[], int) - Method in class javax.crypto.CipherSpi
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
engineUpdateAAD(byte[], int, int) - Method in class javax.crypto.CipherSpi
Continues a multi-part update of the Additional Authentication Data (AAD), using a subset of the provided buffer.
engineValidate(CertPath, CertPathParameters) - Method in class java.security.cert.CertPathValidatorSpi
Validates the specified certification path using the specified algorithm parameter set.
engineVerify(byte[]) - Method in class java.security.SignatureSpi
Verifies the passed-in signature.
engineVerify(byte[], int, int) - Method in class java.security.SignatureSpi
Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.
engineWrap(Key) - Method in class javax.crypto.CipherSpi
Wrap a key.
equals(Object) - Method in class java.security.cert.Certificate
Compares this certificate for equality with the specified object.
equals(Object) - Method in class java.security.cert.CertPath
Compares this certification path for equality with the specified object.
equals(Object) - Method in class java.security.cert.X509CRL
Compares this CRL for equality with the given object.
equals(Object) - Method in class java.security.cert.X509CRLEntry
Compares this CRL entry for equality with the given object.
equals(Object) - Method in interface java.security.Principal
Compares this principal to the specified object.
equals(Object) - Method in class javax.crypto.spec.SecretKeySpec
Tests for equality between the specified object and this object.
equals(Object) - Method in class javax.security.auth.x500.X500Principal
Compares the specified Object with this X500Principal for equality.
equals(Object) - Method in class sun.security.x509.AlgorithmId
Compares this AlgorithmID to another.
equals(String) - Method in class sun.security.x509.AlgorithmId
Compares two algorithm IDs for equality.
equals(AlgorithmId) - Method in class sun.security.x509.AlgorithmId
Returns true iff the argument indicates the same algorithm with the same parameters.
EXPIRED - java.security.cert.CertPathValidatorException.BasicReason
The certificate is expired.
Extension - Interface in java.security.cert
This interface represents an X.509 extension.

F

F0 - Static variable in class java.security.spec.RSAKeyGenParameterSpec
The public-exponent value F0 = 3.
F4 - Static variable in class java.security.spec.RSAKeyGenParameterSpec
The public exponent-value F4 = 65537.

G

GCMParameterSpec - Class in javax.crypto.spec
Specifies the set of parameters required by a Cipher using the Galois/Counter Mode (GCM) mode.
GCMParameterSpec(int, byte[]) - Constructor for class javax.crypto.spec.GCMParameterSpec
Constructs a GCMParameterSpec using the specified authentication tag bit-length and IV buffer.
GCMParameterSpec(int, byte[], int, int) - Constructor for class javax.crypto.spec.GCMParameterSpec
Constructs a GCMParameterSpec object using the specified authentication tag bit-length and a subset of the specified buffer as the IV.
GeneralSecurityException - Exception in java.security
The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.
GeneralSecurityException() - Constructor for exception java.security.GeneralSecurityException
Constructs a GeneralSecurityException with no detail message.
GeneralSecurityException(String) - Constructor for exception java.security.GeneralSecurityException
Constructs a GeneralSecurityException with the specified detail message.
GeneralSecurityException(String, Throwable) - Constructor for exception java.security.GeneralSecurityException
Creates a GeneralSecurityException with the specified detail message and cause.
GeneralSecurityException(Throwable) - Constructor for exception java.security.GeneralSecurityException
Creates a GeneralSecurityException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
generateCertificate(InputStream) - Method in class java.security.cert.CertificateFactory
Generates a certificate object and initializes it with the data read from the input stream inStream.
generateCertificates(InputStream) - Method in class java.security.cert.CertificateFactory
Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
generateCertPath(InputStream) - Method in class java.security.cert.CertificateFactory
Generates a CertPath object and initializes it with the data read from the InputStream inStream.
generateCertPath(InputStream, String) - Method in class java.security.cert.CertificateFactory
Generates a CertPath object and initializes it with the data read from the InputStream inStream.
generateCertPath(List<? extends Certificate>) - Method in class java.security.cert.CertificateFactory
Generates a CertPath object and initializes it with a List of Certificates.
generateCRL(InputStream) - Method in class java.security.cert.CertificateFactory
Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream inStream.
generateCRLs(InputStream) - Method in class java.security.cert.CertificateFactory
Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream.
generateKeyPair() - Method in class java.security.KeyPairGenerator
Generates a key pair.
generateKeyPair() - Method in class java.security.KeyPairGeneratorSpi
Generates a key pair.
generatePrivate(KeySpec) - Method in class java.security.KeyFactory
Generates a private key object from the provided key specification (key material).
generatePublic(KeySpec) - Method in class java.security.KeyFactory
Generates a public key object from the provided key specification (key material).
generateSecret() - Method in class javax.crypto.KeyAgreement
Generates the shared secret and returns it in a new buffer.
generateSecret(byte[], int) - Method in class javax.crypto.KeyAgreement
Generates the shared secret, and places it into the buffer sharedSecret, beginning at offset inclusive.
generateSecret(String) - Method in class javax.crypto.KeyAgreement
Creates the shared secret and returns it as a SecretKey object of the specified algorithm.
generateSecret(KeySpec) - Method in class javax.crypto.SecretKeyFactory
Generates a SecretKey object from the provided key specification (key material).
generateSeed(int) - Method in class java.security.SecureRandom
Returns the given number of seed bytes, computed using the seed generation algorithm that this class uses to seed itself.
genKeyPair() - Method in class java.security.KeyPairGenerator
Generates a key pair.
get(String) - Static method in class sun.security.x509.AlgorithmId
Returns one of the algorithm IDs most commonly associated with this algorithm name.
getAlgorithm() - Method in class java.security.cert.CertPathBuilder
Returns the name of the algorithm of this CertPathBuilder.
getAlgorithm() - Method in class java.security.cert.CertPathValidator
Returns the algorithm name of this CertPathValidator.
getAlgorithm() - Method in interface java.security.Key
Returns the standard algorithm name for this key.
getAlgorithm() - Method in class java.security.KeyFactory
Gets the name of the algorithm associated with this KeyFactory.
getAlgorithm() - Method in class java.security.KeyPairGenerator
Gets the algorithm.
getAlgorithm() - Method in class java.security.MessageDigest
Returns a string that identifies the algorithm, independent of implementation details.
getAlgorithm() - Method in class java.security.Signature
Returns the name of the algorithm for this signature object.
getAlgorithm() - Method in class javax.crypto.Cipher
Returns the algorithm name of this Cipher object.
getAlgorithm() - Method in class javax.crypto.KeyAgreement
Returns the algorithm name of this KeyAgreement object.
getAlgorithm() - Method in class javax.crypto.Mac
Returns the algorithm name of this Mac object.
getAlgorithm() - Method in class javax.crypto.SecretKeyFactory
Returns the algorithm name of this SecretKeyFactory object.
getAlgorithm() - Method in class javax.crypto.spec.PSource
Returns the PSource algorithm name.
getAlgorithm() - Method in class javax.crypto.spec.SecretKeySpec
Returns the name of the algorithm associated with this secret key.
getAlgorithmId(String) - Static method in class sun.security.x509.AlgorithmId
Deprecated.
use the short get form of this method.
getAuthorityKeyIdentifier() - Method in class java.security.cert.X509CertSelector
Returns the authorityKeyIdentifier criterion.
getAuthorityName() - Method in exception java.security.cert.CertificateRevokedException
Returns the name of the authority that signed the certificate's revocation status information.
getBasicConstraints() - Method in class java.security.cert.X509CertSelector
Returns the basic constraints constraint.
getBlockSize() - Method in class javax.crypto.Cipher
Returns the block size (in bytes).
getCA() - Method in class java.security.cert.TrustAnchor
Returns the name of the most-trusted CA as an X500Principal.
getCAName() - Method in class java.security.cert.TrustAnchor
Returns the name of the most-trusted CA in RFC 2253 String format.
getCAPublicKey() - Method in class java.security.cert.TrustAnchor
Returns the public key of the most-trusted CA.
getCertificate() - Method in class java.security.cert.X509CertSelector
Returns the certificateEquals criterion.
getCertificate(String) - Method in class java.security.KeyStore
Returns the certificate associated with the given alias.
getCertificateChain(String) - Method in class java.security.KeyStore
Returns the certificate chain associated with the given alias.
getCertificateChecking() - Method in class java.security.cert.X509CRLSelector
Returns the certificate being checked.
getCertificateIssuer() - Method in class java.security.cert.X509CRLEntry
Get the issuer of the X509Certificate described by this entry.
getCertificates() - Method in class java.security.cert.CertPath
Returns the list of certificates in this certification path.
getCertificates(CertSelector) - Method in class java.security.cert.CertStore
Returns a Collection of Certificates that match the specified selector.
getCertificateValid() - Method in class java.security.cert.X509CertSelector
Returns the certificateValid criterion.
getCertPath() - Method in interface java.security.cert.CertPathBuilderResult
Returns the built certification path.
getCertPath() - Method in exception java.security.cert.CertPathValidatorException
Returns the certification path that was being validated when the exception was thrown.
getCertPath() - Method in class java.security.cert.PKIXCertPathBuilderResult
Returns the built and validated certification path.
getCertPathCheckers() - Method in class java.security.cert.PKIXParameters
Returns the List of certification path checkers.
getCertPathEncodings() - Method in class java.security.cert.CertificateFactory
Returns an iteration of the CertPath encodings supported by this certificate factory, with the default encoding first.
getCertStoreParameters() - Method in class java.security.cert.CertStore
Returns the parameters used to initialize this CertStore.
getCertStores() - Method in class java.security.cert.PKIXParameters
Returns an immutable List of CertStores that are used to find certificates and CRLs.
getChildren() - Method in interface java.security.cert.PolicyNode
Returns an iterator over the children of this node.
getCollection() - Method in class java.security.cert.CollectionCertStoreParameters
Returns the Collection from which Certificates and CRLs are retrieved.
getCriticalExtensionOIDs() - Method in interface java.security.cert.X509Extension
Gets a Set of the OID strings for the extension(s) marked CRITICAL in the certificate/CRL managed by the object implementing this interface.
getCRLs(CRLSelector) - Method in class java.security.cert.CertStore
Returns a Collection of CRLs that match the specified selector.
getCurveName() - Method in class com.microej.jce.spec.ECPublicKeyNamedCurveSpec
Returns the elliptic curve name.
getDate() - Method in class java.security.cert.PKIXParameters
Returns the time for which the validity of the certification path should be determined.
getDateAndTime() - Method in class java.security.cert.X509CRLSelector
Returns the dateAndTime criterion.
getDefaultType() - Static method in class java.security.cert.CertPathBuilder
Returns the default CertPathBuilder type as specified by the certpathbuilder.type security property, or the string "PKIX" if no such property exists.
getDefaultType() - Static method in class java.security.cert.CertPathValidator
Returns the default CertPathValidator type as specified by the certpathvalidator.type security property, or the string "PKIX" if no such property exists.
getDefaultType() - Static method in class java.security.cert.CertStore
Returns the default CertStore type as specified by the certstore.type security property, or the string "LDAP" if no such property exists.
getDefaultType() - Static method in class java.security.KeyStore
Returns the default keystore type as specified by the keystore.type security property, or the string "jks" (acronym for "Java keystore") if no such property exists.
getDepth() - Method in interface java.security.cert.PolicyNode
Returns the depth of this node in the valid policy tree.
getDigAlgFromSigAlg(String) - Static method in class sun.security.x509.AlgorithmId
Extracts the digest algorithm name from a signature algorithm name.
getDigestAlgorithm() - Method in class java.security.spec.MGF1ParameterSpec
Returns the algorithm name of the message digest used by the mask generation function.
getDigestAlgorithm() - Method in class javax.crypto.spec.OAEPParameterSpec
Returns the message digest algorithm name.
getDigestLength() - Method in class java.security.MessageDigest
Returns the length of the digest in bytes, or 0 if this operation is not supported by the provider and the implementation is not cloneable.
getEncAlgFromSigAlg(String) - Static method in class sun.security.x509.AlgorithmId
Extracts the encryption algorithm name from a signature algorithm name.
getEncoded() - Method in class java.security.cert.Certificate
Returns the encoded form of this certificate.
getEncoded() - Method in class java.security.cert.CertPath
Returns the encoded form of this certification path, using the default encoding.
getEncoded() - Method in class java.security.cert.PolicyQualifierInfo
Returns the ASN.1 DER encoded form of this PolicyQualifierInfo.
getEncoded() - Method in class java.security.cert.X509CRL
Returns the ASN.1 DER-encoded form of this CRL.
getEncoded() - Method in class java.security.cert.X509CRLEntry
Returns the ASN.1 DER-encoded form of this CRL Entry, that is the inner SEQUENCE.
getEncoded() - Method in interface java.security.Key
Returns the key in its primary encoding format, or null if this key does not support encoding.
getEncoded() - Method in class java.security.spec.EncodedKeySpec
Returns the encoded key.
getEncoded() - Method in class java.security.spec.PKCS8EncodedKeySpec
Returns the key bytes, encoded according to the PKCS #8 standard.
getEncoded() - Method in class java.security.spec.X509EncodedKeySpec
Returns the key bytes, encoded according to the X.509 standard.
getEncoded() - Method in class javax.crypto.spec.SecretKeySpec
Returns the key material of this secret key.
getEncoded(String) - Method in class java.security.cert.CertPath
Returns the encoded form of this certification path, using the specified encoding.
getEncodings() - Method in class java.security.cert.CertPath
Returns an iteration of the encodings supported by this certification path, with the default encoding first.
getExpectedPolicies() - Method in interface java.security.cert.PolicyNode
Returns the set of expected policies that would satisfy this node's valid policy in the next certificate to be processed.
getExtendedKeyUsage() - Method in class java.security.cert.X509CertSelector
Returns the extendedKeyUsage criterion.
getExtensions() - Method in exception java.security.cert.CertificateRevokedException
Returns a map of X.509 extensions containing additional information about the revoked certificate, such as the Invalidity Date Extension.
getExtensionValue(String) - Method in interface java.security.cert.X509Extension
Gets the DER-encoded OCTET string for the extension value (extnValue) identified by the passed-in oid String.
getFormat() - Method in interface java.security.Key
Returns the name of the primary encoding format of this key, or null if this key does not support encoding.
getFormat() - Method in class java.security.spec.EncodedKeySpec
Returns the name of the encoding format associated with this key specification.
getFormat() - Method in class java.security.spec.PKCS8EncodedKeySpec
Returns the name of the encoding format associated with this key specification.
getFormat() - Method in class java.security.spec.X509EncodedKeySpec
Returns the name of the encoding format associated with this key specification.
getFormat() - Method in class javax.crypto.spec.SecretKeySpec
Returns the name of the encoding format for this secret key.
getId() - Method in interface java.security.cert.Extension
Gets the extensions's object identifier.
getIndex() - Method in exception java.security.cert.CertPathValidatorException
Returns the index of the certificate in the certification path that caused the exception to be thrown.
getInitialPolicies() - Method in class java.security.cert.PKIXParameters
Returns an immutable Set of initial policy identifiers (OID strings), indicating that any one of these policies would be acceptable to the certificate user for the purposes of certification path processing.
getInstance(String) - Static method in class java.security.cert.CertificateFactory
Returns a certificate factory object that implements the specified certificate type.
getInstance(String) - Static method in class java.security.cert.CertPathBuilder
Returns a CertPathBuilder object that implements the specified algorithm.
getInstance(String) - Static method in class java.security.cert.CertPathValidator
Returns a CertPathValidator object that implements the specified algorithm.
getInstance(String) - Static method in class java.security.KeyFactory
Returns a KeyFactory object that converts public/private keys of the specified algorithm.
getInstance(String) - Static method in class java.security.KeyPairGenerator
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
getInstance(String) - Static method in class java.security.KeyStore
Returns a keystore object of the specified type.
getInstance(String) - Static method in class java.security.MessageDigest
Returns a MessageDigest object that implements the specified digest algorithm.
getInstance(String) - Static method in class java.security.Signature
Returns a Signature object that implements the specified signature algorithm.
getInstance(String) - Static method in class javax.crypto.Cipher
Returns a Cipher object that implements the specified transformation.
getInstance(String) - Static method in class javax.crypto.KeyAgreement
Returns a KeyAgreement object that implements the specified key agreement algorithm.
getInstance(String) - Static method in class javax.crypto.Mac
Returns a Mac object that implements the specified MAC algorithm.
getInstance(String) - Static method in class javax.crypto.SecretKeyFactory
Returns a SecretKeyFactory object that converts secret keys of the specified algorithm.
getInstance(String, String) - Static method in class java.security.MessageDigest
Returns a MessageDigest object that implements the specified digest algorithm.
getInstance(String, String) - Static method in class java.security.Signature
Returns a Signature object that implements the specified signature algorithm.
getInstance(String, String) - Static method in class javax.crypto.Cipher
Returns a Cipher object that implements the specified transformation.
getInstance(String, String) - Static method in class javax.crypto.Mac
Returns a Mac object that implements the specified MAC algorithm.
getInstance(String, CertStoreParameters) - Static method in class java.security.cert.CertStore
Returns a CertStore object that implements the specified CertStore type and is initialized with the specified parameters.
getInvalidityDate() - Method in exception java.security.cert.CertificateRevokedException
Returns the invalidity date, as specified in the Invalidity Date extension of this CertificateRevokedException.
getIssuer() - Method in class java.security.cert.X509CertSelector
Returns the issuer criterion as an X500Principal.
getIssuerAsBytes() - Method in class java.security.cert.X509CertSelector
Returns the issuer criterion as a byte array.
getIssuerAsString() - Method in class java.security.cert.X509CertSelector
getIssuerDN() - Method in class java.security.cert.X509CRL
Denigrated, replaced by X509CRL.getIssuerX500Principal().
getIssuerNames() - Method in class java.security.cert.X509CRLSelector
Returns a copy of the issuerNames criterion.
getIssuers() - Method in class java.security.cert.X509CRLSelector
Returns the issuerNames criterion.
getIssuerX500Principal() - Method in class java.security.cert.X509Certificate
Returns the issuer (issuer distinguished name) value from the certificate as an X500Principal.
getIssuerX500Principal() - Method in class java.security.cert.X509CRL
Returns the issuer (issuer distinguished name) value from the CRL as an X500Principal.
getIterationCount() - Method in class javax.crypto.spec.PBEKeySpec
Returns the iteration count or 0 if not specified.
getIterationCount() - Method in class javax.crypto.spec.PBEParameterSpec
Returns the iteration count.
getIV() - Method in class javax.crypto.Cipher
Returns the initialization vector (IV) in a new buffer.
getIV() - Method in class javax.crypto.spec.GCMParameterSpec
Returns the Initialization Vector (IV).
getIV() - Method in class javax.crypto.spec.IvParameterSpec
Returns the initialization vector (IV).
getKey(String, char[]) - Method in class java.security.KeyStore
Returns the key associated with the given alias, using the given password to recover it.
getKeyLength() - Method in class javax.crypto.spec.PBEKeySpec
Returns the to-be-derived key length or 0 if not specified.
getKeysize() - Method in class java.security.spec.RSAKeyGenParameterSpec
Returns the keysize.
getKeyUsage() - Method in class java.security.cert.X509CertSelector
Returns the keyUsage criterion.
getMacLength() - Method in class javax.crypto.Mac
Returns the length of the MAC in bytes.
getMatchAllSubjectAltNames() - Method in class java.security.cert.X509CertSelector
Indicates if the X509Certificate must contain all or at least one of the subjectAlternativeNames specified in the setSubjectAlternativeNames or addSubjectAlternativeName methods.
getMaxAllowedKeyLength(String) - Static method in class javax.crypto.Cipher
Returns the maximum key length for the specified transformation according to the installed JCE jurisdiction policy files.
getMaxAllowedParameterSpec(String) - Static method in class javax.crypto.Cipher
Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file.
getMaxPathLength() - Method in class java.security.cert.PKIXBuilderParameters
Returns the value of the maximum number of intermediate non-self-issued certificates that may exist in a certification path.
getMessage() - Method in exception java.security.cert.CertificateRevokedException
 
getMGFAlgorithm() - Method in class javax.crypto.spec.OAEPParameterSpec
Returns the mask generation function algorithm name.
getMGFParameters() - Method in class javax.crypto.spec.OAEPParameterSpec
Returns the parameters for the mask generation function.
getName() - Method in class java.security.spec.ECGenParameterSpec
Returns the standard or predefined name of the to-be-generated EC domain parameters.
getName() - Method in class javax.security.auth.x500.X500Principal
Returns a string representation of the X.500 distinguished name.
getNameConstraints() - Method in class java.security.cert.TrustAnchor
Returns the name constraints parameter.
getNameConstraints() - Method in class java.security.cert.X509CertSelector
Returns the name constraints criterion.
getNextUpdate() - Method in class java.security.cert.X509CRL
Gets the nextUpdate date from the CRL.
getNonCriticalExtensionOIDs() - Method in interface java.security.cert.X509Extension
Gets a Set of the OID strings for the extension(s) marked NON-CRITICAL in the certificate/CRL managed by the object implementing this interface.
getOcspExtensions() - Method in class java.security.cert.PKIXRevocationChecker
Gets the optional OCSP request extensions.
getOcspResponderCert() - Method in class java.security.cert.PKIXRevocationChecker
Gets the OCSP responder's certificate.
getOcspResponses() - Method in class java.security.cert.PKIXRevocationChecker
Gets the OCSP responses.
getOID() - Method in class sun.security.x509.AlgorithmId
Returns the ISO OID for this algorithm.
getOptions() - Method in class java.security.cert.PKIXRevocationChecker
Gets the revocation options.
getOutputSize(int) - Method in class javax.crypto.Cipher
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next update or doFinal operation, given the input length inputLen (in bytes).
getParameterSpec() - Method in class javax.crypto.spec.PBEParameterSpec
Returns the cipher algorithm parameter specification.
getParent() - Method in interface java.security.cert.PolicyNode
Returns the parent of this node, or null if this is the root node.
getPassword() - Method in class javax.crypto.spec.PBEKeySpec
Returns a copy of the password.
getPathToNames() - Method in class java.security.cert.X509CertSelector
Returns a copy of the pathToNames criterion.
getPolicy() - Method in class java.security.cert.X509CertSelector
Returns the policy criterion.
getPolicyQualifier() - Method in class java.security.cert.PolicyQualifierInfo
Returns the ASN.1 DER encoded form of the qualifier field of this PolicyQualifierInfo.
getPolicyQualifierId() - Method in class java.security.cert.PolicyQualifierInfo
Returns the policyQualifierId field of this PolicyQualifierInfo.
getPolicyQualifiers() - Method in interface java.security.cert.PolicyNode
Returns the set of policy qualifiers associated with the valid policy represented by this node.
getPolicyQualifiersRejected() - Method in class java.security.cert.PKIXParameters
Gets the PolicyQualifiersRejected flag.
getPolicyTree() - Method in class java.security.cert.PKIXCertPathValidatorResult
Returns the root node of the valid policy tree resulting from the PKIX certification path validation algorithm.
getPort() - Method in class java.security.cert.LDAPCertStoreParameters
Returns the port number of the LDAP server.
getPrivate() - Method in class java.security.KeyPair
Returns a reference to the private key component of this key pair.
getPrivateKeyValid() - Method in class java.security.cert.X509CertSelector
Returns the privateKeyValid criterion.
getPSource() - Method in class javax.crypto.spec.OAEPParameterSpec
Returns the source of encoding input P.
getPublic() - Method in class java.security.KeyPair
Returns a reference to the public key component of this key pair.
getPublicExponent() - Method in class java.security.spec.RSAKeyGenParameterSpec
Returns the public-exponent value.
getPublicKey() - Method in class java.security.cert.Certificate
Gets the public key from this certificate.
getPublicKey() - Method in class java.security.cert.PKIXCertPathValidatorResult
Returns the public key of the subject (target) of the certification path, including any inherited public key parameters if applicable.
getReason() - Method in exception java.security.cert.CertPathValidatorException
Returns the reason that the validation failed.
getRevocationChecker() - Method in class java.security.cert.CertPathBuilder
Returns a CertPathChecker that the encapsulated CertPathBuilderSpi implementation uses to check the revocation status of certificates.
getRevocationChecker() - Method in class java.security.cert.CertPathValidator
Returns a CertPathChecker that the encapsulated CertPathValidatorSpi implementation uses to check the revocation status of certificates.
getRevocationDate() - Method in exception java.security.cert.CertificateRevokedException
Returns the date on which the certificate was revoked.
getRevocationDate() - Method in class java.security.cert.X509CRLEntry
Gets the revocation date from this X509CRLEntry, the revocationDate.
getRevocationReason() - Method in exception java.security.cert.CertificateRevokedException
Returns the reason the certificate was revoked.
getRevocationReason() - Method in class java.security.cert.X509CRLEntry
Returns the reason the certificate has been revoked, as specified in the Reason Code extension of this CRL entry.
getRevokedCertificate(X509Certificate) - Method in class java.security.cert.X509CRL
Get the CRL entry, if any, for the given certificate.
getRevokedCertificates() - Method in class java.security.cert.X509CRL
Gets all the entries from this CRL.
getSalt() - Method in class javax.crypto.spec.PBEKeySpec
Returns a copy of the salt or null if not specified.
getSalt() - Method in class javax.crypto.spec.PBEParameterSpec
Returns the salt.
getServerName() - Method in class java.security.cert.LDAPCertStoreParameters
Returns the DNS name of the LDAP server.
getSigAlgName() - Method in class java.security.cert.X509CRL
Gets the signature algorithm name for the CRL signature algorithm.
getSigAlgOID() - Method in class java.security.cert.X509CRL
Gets the signature algorithm OID string from the CRL.
getSigAlgParams() - Method in class java.security.cert.X509CRL
Gets the DER-encoded signature algorithm parameters from this CRL's signature algorithm.
getSignature() - Method in class java.security.cert.X509CRL
Gets the signature value (the raw signature bits) from the CRL.
getSigProvider() - Method in class java.security.cert.PKIXParameters
Returns the signature provider's name, or null if not set.
getSoftFailExceptions() - Method in class java.security.cert.PKIXRevocationChecker
Returns a list containing the exceptions that are ignored by the revocation checker when the SOFT_FAIL option is set.
getSubject() - Method in class java.security.cert.X509CertSelector
Returns the subject criterion as an X500Principal.
getSubjectAlternativeNames() - Method in class java.security.cert.X509CertSelector
Returns a copy of the subjectAlternativeNames criterion.
getSubjectAsBytes() - Method in class java.security.cert.X509CertSelector
Returns the subject criterion as a byte array.
getSubjectAsString() - Method in class java.security.cert.X509CertSelector
getSubjectKeyIdentifier() - Method in class java.security.cert.X509CertSelector
Returns the subjectKeyIdentifier criterion.
getSubjectPublicKey() - Method in class java.security.cert.X509CertSelector
Returns the subjectPublicKey criterion.
getSubjectPublicKeyAlgID() - Method in class java.security.cert.X509CertSelector
Returns the subjectPublicKeyAlgID criterion.
getSubjectX500Principal() - Method in class java.security.cert.X509Certificate
Returns the subject (subject distinguished name) value from the certificate as an X500Principal.
getSupportedExtensions() - Method in class java.security.cert.PKIXCertPathChecker
Returns an immutable Set of X.509 certificate extensions that this PKIXCertPathChecker supports (i.e.
getTargetCertConstraints() - Method in class java.security.cert.PKIXParameters
Returns the required constraints on the target certificate.
getTBSCertList() - Method in class java.security.cert.X509CRL
Gets the DER-encoded CRL information, the tbsCertList from this CRL.
getThisUpdate() - Method in class java.security.cert.X509CRL
Gets the thisUpdate date from the CRL.
getTLen() - Method in class javax.crypto.spec.GCMParameterSpec
Returns the authentication tag length.
getTrustAnchor() - Method in class java.security.cert.PKIXCertPathValidatorResult
Returns the TrustAnchor describing the CA that served as a trust anchor for the certification path.
getTrustAnchors() - Method in class java.security.cert.PKIXParameters
Returns an immutable Set of the most-trusted CAs.
getTrustedCert() - Method in class java.security.cert.TrustAnchor
Returns the most-trusted CA certificate.
getType() - Method in class java.security.cert.Certificate
Returns the type of this certificate.
getType() - Method in class java.security.cert.CertificateFactory
Returns the name of the certificate type associated with this certificate factory.
getType() - Method in class java.security.cert.CertPath
Returns the type of Certificates in this certification path.
getType() - Method in class java.security.cert.CertStore
Returns the type of this CertStore.
getType() - Method in class java.security.cert.CRL
Returns the type of this CRL.
getType() - Method in class java.security.KeyStore
Returns the type of this keystore.
getValidPolicy() - Method in interface java.security.cert.PolicyNode
Returns the valid policy represented by this node.
getValue() - Method in interface java.security.cert.Extension
Gets the extensions's DER-encoded value.
getValue() - Method in class javax.crypto.spec.PSource.PSpecified
Returns the value of encoding input P.
getVersion() - Method in class java.security.cert.X509CRL
Gets the version (version number) value from the CRL.
getX() - Method in class com.microej.jce.spec.ECPublicKeyNamedCurveSpec
Returns the affine x-coordinate of the associated point.
getY() - Method in class com.microej.jce.spec.ECPublicKeyNamedCurveSpec
Returns the affine y-coordinate of the associated point.

H

hasExtensions() - Method in class java.security.cert.X509CRLEntry
Returns true if this CRL entry has extensions.
hashCode() - Method in class java.security.cert.Certificate
Returns a hashcode value for this certificate from its encoded form.
hashCode() - Method in class java.security.cert.CertPath
Returns the hashcode for this certification path.
hashCode() - Method in class java.security.cert.X509CRL
Returns a hashcode value for this CRL from its encoded form.
hashCode() - Method in class java.security.cert.X509CRLEntry
Returns a hashcode value for this CRL entry from its encoded form.
hashCode() - Method in interface java.security.Principal
Returns a hashcode for this principal.
hashCode() - Method in class javax.crypto.spec.SecretKeySpec
Calculates a hash code value for the object.
hashCode() - Method in class javax.security.auth.x500.X500Principal
Return a hash code for this X500Principal.
hashCode() - Method in class sun.security.x509.AlgorithmId
Returns a hashcode for this AlgorithmId.
hasUnsupportedCriticalExtension() - Method in interface java.security.cert.X509Extension
Check if there is a critical extension that is not supported.

I

IllegalBlockSizeException - Exception in javax.crypto
This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
IllegalBlockSizeException() - Constructor for exception javax.crypto.IllegalBlockSizeException
Constructs an IllegalBlockSizeException with no detail message.
IllegalBlockSizeException(String) - Constructor for exception javax.crypto.IllegalBlockSizeException
Constructs an IllegalBlockSizeException with the specified detail message.
init(boolean) - Method in interface java.security.cert.CertPathChecker
Initializes the internal state of this CertPathChecker.
init(boolean) - Method in class java.security.cert.PKIXCertPathChecker
Initializes the internal state of this PKIXCertPathChecker.
init(int, Certificate) - Method in class javax.crypto.Cipher
Initializes this cipher with the public key from the given certificate.
init(int, Certificate, SecureRandom) - Method in class javax.crypto.Cipher
Initializes this cipher with the public key from the given certificate and a source of randomness.
init(int, Key) - Method in class javax.crypto.Cipher
Initializes this cipher with a key.
init(int, Key, SecureRandom) - Method in class javax.crypto.Cipher
Initializes this cipher with a key and a source of randomness.
init(int, Key, AlgorithmParameterSpec) - Method in class javax.crypto.Cipher
Initializes this cipher with a key and a set of algorithm parameters.
init(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.Cipher
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
init(Key) - Method in class javax.crypto.KeyAgreement
Initializes this key agreement with the given key, which is required to contain all the algorithm parameters required for this key agreement.
init(Key) - Method in class javax.crypto.Mac
Initializes this Mac object with the given key.
init(Key, SecureRandom) - Method in class javax.crypto.KeyAgreement
Initializes this key agreement with the given key and source of randomness.
init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.KeyAgreement
Initializes this key agreement with the given key and set of algorithm parameters.
init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.Mac
Initializes this Mac object with the given key and algorithm parameters.
init(Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyAgreement
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
initialize(int) - Method in class java.security.KeyPairGenerator
Initializes the key pair generator for a certain keysize using a default parameter set and the SecureRandom implementation of the highest-priority installed provider as the source of randomness.
initialize(int, SecureRandom) - Method in class java.security.KeyPairGenerator
Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set).
initialize(int, SecureRandom) - Method in class java.security.KeyPairGeneratorSpi
Initializes the key pair generator for a certain keysize, using the default parameter set.
initialize(AlgorithmParameterSpec) - Method in class java.security.KeyPairGenerator
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.
initialize(AlgorithmParameterSpec, SecureRandom) - Method in class java.security.KeyPairGenerator
Initializes the key pair generator with the given parameter set and source of randomness.
initialize(AlgorithmParameterSpec, SecureRandom) - Method in class java.security.KeyPairGeneratorSpi
Initializes the key pair generator using the specified parameter set and user-provided source of randomness.
initSign(PrivateKey) - Method in class java.security.Signature
Initialize this object for signing.
initSign(PrivateKey, SecureRandom) - Method in class java.security.Signature
Initialize this object for signing.
initVerify(Certificate) - Method in class java.security.Signature
Initializes this object for verification, using the public key from the given certificate.
initVerify(PublicKey) - Method in class java.security.Signature
Initializes this object for verification.
INVALID_KEY_USAGE - java.security.cert.PKIXReason
The certificate's key usage is invalid.
INVALID_NAME - java.security.cert.PKIXReason
The name constraints have been violated.
INVALID_POLICY - java.security.cert.PKIXReason
The policy constraints have been violated.
INVALID_SIGNATURE - java.security.cert.CertPathValidatorException.BasicReason
The signature is invalid.
InvalidAlgorithmParameterException - Exception in java.security
This is the exception for invalid or inappropriate algorithm parameters.
InvalidAlgorithmParameterException() - Constructor for exception java.security.InvalidAlgorithmParameterException
Constructs an InvalidAlgorithmParameterException with no detail message.
InvalidAlgorithmParameterException(String) - Constructor for exception java.security.InvalidAlgorithmParameterException
Constructs an InvalidAlgorithmParameterException with the specified detail message.
InvalidAlgorithmParameterException(String, Throwable) - Constructor for exception java.security.InvalidAlgorithmParameterException
Creates a InvalidAlgorithmParameterException with the specified detail message and cause.
InvalidAlgorithmParameterException(Throwable) - Constructor for exception java.security.InvalidAlgorithmParameterException
Creates a InvalidAlgorithmParameterException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
InvalidKeyException - Exception in java.security
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
InvalidKeyException() - Constructor for exception java.security.InvalidKeyException
Constructs an InvalidKeyException with no detail message.
InvalidKeyException(String) - Constructor for exception java.security.InvalidKeyException
Constructs an InvalidKeyException with the specified detail message.
InvalidKeyException(String, Throwable) - Constructor for exception java.security.InvalidKeyException
Creates a InvalidKeyException with the specified detail message and cause.
InvalidKeyException(Throwable) - Constructor for exception java.security.InvalidKeyException
Creates a InvalidKeyException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
InvalidKeySpecException - Exception in java.security.spec
This is the exception for invalid key specifications.
InvalidKeySpecException() - Constructor for exception java.security.spec.InvalidKeySpecException
Constructs an InvalidKeySpecException with no detail message.
InvalidKeySpecException(String) - Constructor for exception java.security.spec.InvalidKeySpecException
Constructs an InvalidKeySpecException with the specified detail message.
InvalidKeySpecException(String, Throwable) - Constructor for exception java.security.spec.InvalidKeySpecException
Creates a InvalidKeySpecException with the specified detail message and cause.
InvalidKeySpecException(Throwable) - Constructor for exception java.security.spec.InvalidKeySpecException
Creates a InvalidKeySpecException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
InvalidParameterException - Exception in java.security
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.
InvalidParameterException() - Constructor for exception java.security.InvalidParameterException
Constructs an InvalidParameterException with no detail message.
InvalidParameterException(String) - Constructor for exception java.security.InvalidParameterException
Constructs an InvalidParameterException with the specified detail message.
InvalidParameterSpecException - Exception in java.security.spec
This is the exception for invalid parameter specifications.
InvalidParameterSpecException() - Constructor for exception java.security.spec.InvalidParameterSpecException
Constructs an InvalidParameterSpecException with no detail message.
InvalidParameterSpecException(String) - Constructor for exception java.security.spec.InvalidParameterSpecException
Constructs an InvalidParameterSpecException with the specified detail message.
isAnyPolicyInhibited() - Method in class java.security.cert.PKIXParameters
Checks whether the any policy OID should be processed if it is included in a certificate.
isCertificateEntry(String) - Method in class java.security.KeyStore
Returns true if the entry identified by the given alias was created by a call to setCertificateEntry, or created by a call to setEntry with a TrustedCertificateEntry.
isCritical() - Method in interface java.security.cert.Extension
Gets the extension's criticality setting.
isCritical() - Method in interface java.security.cert.PolicyNode
Returns the criticality indicator of the certificate policy extension in the most recently processed certificate.
isDestroyed() - Method in class javax.crypto.spec.SecretKeySpec
 
isDestroyed() - Method in interface javax.security.auth.Destroyable
Determine if this Object has been destroyed.
isEqual(byte[], byte[]) - Static method in class java.security.MessageDigest
Compares two digests for equality.
isExplicitPolicyRequired() - Method in class java.security.cert.PKIXParameters
Checks if explicit policy is required.
isForwardCheckingSupported() - Method in interface java.security.cert.CertPathChecker
Indicates if forward checking is supported.
isForwardCheckingSupported() - Method in class java.security.cert.PKIXCertPathChecker
Indicates if forward checking is supported.
isKeyEntry(String) - Method in class java.security.KeyStore
Returns true if the entry identified by the given alias was created by a call to setKeyEntry, or created by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry.
isPolicyMappingInhibited() - Method in class java.security.cert.PKIXParameters
Checks if policy mapping is inhibited.
isRevocationEnabled() - Method in class java.security.cert.PKIXParameters
Checks the RevocationEnabled flag.
isRevoked(Certificate) - Method in class java.security.cert.CRL
Checks whether the given certificate is on this CRL.
IvParameterSpec - Class in javax.crypto.spec
This class specifies an initialization vector (IV).
IvParameterSpec(byte[]) - Constructor for class javax.crypto.spec.IvParameterSpec
Creates an IvParameterSpec object using the bytes in iv as the IV.
IvParameterSpec(byte[], int, int) - Constructor for class javax.crypto.spec.IvParameterSpec
Creates an IvParameterSpec object using the first len bytes in iv, beginning at offset inclusive, as the IV.

J

java.security - package java.security
Contains core language classes related to permission management.
java.security.cert - package java.security.cert
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
java.security.spec - package java.security.spec
 
javax.crypto - package javax.crypto
 
javax.crypto.spec - package javax.crypto.spec
 
javax.security.auth - package javax.security.auth
 
javax.security.auth.x500 - package javax.security.auth.x500
 

K

Key - Interface in java.security
The Key interface is the top-level interface for all keys.
KEY_COMPROMISE - java.security.cert.CRLReason
This reason indicates that it is known or suspected that the certificate subject's private key has been compromised.
KeyAgreement - Class in javax.crypto
This class provides the functionality of a key agreement (or key exchange) protocol.
KeyAgreement(KeyAgreementSpi, String) - Constructor for class javax.crypto.KeyAgreement
Creates a KeyAgreement object.
KeyAgreementSpi - Class in javax.crypto
This class defines the Service Provider Interface (SPI) for the KeyAgreement class.
KeyAgreementSpi() - Constructor for class javax.crypto.KeyAgreementSpi
 
KeyException - Exception in java.security
This is the basic key exception.
KeyException() - Constructor for exception java.security.KeyException
Constructs a KeyException with no detail message.
KeyException(String) - Constructor for exception java.security.KeyException
Constructs a KeyException with the specified detail message.
KeyException(String, Throwable) - Constructor for exception java.security.KeyException
Creates a KeyException with the specified detail message and cause.
KeyException(Throwable) - Constructor for exception java.security.KeyException
Creates a KeyException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
KeyFactory - Class in java.security
Key factories are used to convert keys (opaque cryptographic keys of type Key) into key specifications (transparent representations of the underlying key material), and vice versa.
KeyFactorySpi - Class in java.security
This class defines the Service Provider Interface (SPI) for the KeyFactory class.
KeyFactorySpi() - Constructor for class java.security.KeyFactorySpi
 
KeyManagementException - Exception in java.security
This is the general key management exception for all operations dealing with key management.
KeyManagementException() - Constructor for exception java.security.KeyManagementException
Constructs a KeyManagementException with no detail message.
KeyManagementException(String) - Constructor for exception java.security.KeyManagementException
Constructs a KeyManagementException with the specified detail message.
KeyManagementException(String, Throwable) - Constructor for exception java.security.KeyManagementException
Creates a KeyManagementException with the specified detail message and cause.
KeyManagementException(Throwable) - Constructor for exception java.security.KeyManagementException
Creates a KeyManagementException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
KeyPair - Class in java.security
This class is a simple holder for a key pair (a public key and a private key).
KeyPair(PublicKey, PrivateKey) - Constructor for class java.security.KeyPair
Constructs a key pair from the given public key and private key.
KeyPairGenerator - Class in java.security
The KeyPairGenerator class is used to generate pairs of public and private keys.
KeyPairGenerator(String) - Constructor for class java.security.KeyPairGenerator
Creates a KeyPairGenerator object for the specified algorithm.
KeyPairGeneratorSpi - Class in java.security
This class defines the Service Provider Interface (SPI) for the KeyPairGenerator class, which is used to generate pairs of public and private keys.
KeyPairGeneratorSpi() - Constructor for class java.security.KeyPairGeneratorSpi
 
KeySpec - Interface in java.security.spec
A (transparent) specification of the key material that constitutes a cryptographic key.
KeyStore - Class in java.security
This class represents a storage facility for cryptographic keys and certificates.
KeyStoreException - Exception in java.security
This is the generic KeyStore exception.
KeyStoreException() - Constructor for exception java.security.KeyStoreException
Constructs a KeyStoreException with no detail message.
KeyStoreException(String) - Constructor for exception java.security.KeyStoreException
Constructs a KeyStoreException with the specified detail message.
KeyStoreException(String, Throwable) - Constructor for exception java.security.KeyStoreException
Creates a KeyStoreException with the specified detail message and cause.
KeyStoreException(Throwable) - Constructor for exception java.security.KeyStoreException
Creates a KeyStoreException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
KeyStoreSpi - Class in java.security
This class defines the Service Provider Interface (SPI) for the KeyStore class.
KeyStoreSpi() - Constructor for class java.security.KeyStoreSpi
 

L

LDAPCertStoreParameters - Class in java.security.cert
Parameters used as input for the LDAP CertStore algorithm.
LDAPCertStoreParameters() - Constructor for class java.security.cert.LDAPCertStoreParameters
Creates an instance of LDAPCertStoreParameters with the default parameter values (server name "localhost", port 389).
LDAPCertStoreParameters(String) - Constructor for class java.security.cert.LDAPCertStoreParameters
Creates an instance of LDAPCertStoreParameters with the specified server name and a default port of 389.
LDAPCertStoreParameters(String, int) - Constructor for class java.security.cert.LDAPCertStoreParameters
Creates an instance of LDAPCertStoreParameters with the specified parameter values.
load(InputStream, char[]) - Method in class java.security.KeyStore
Loads this KeyStore from the given input stream.

M

Mac - Class in javax.crypto
This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.
MacSpi - Class in javax.crypto
This class defines the Service Provider Interface (SPI) for the Mac class.
MacSpi() - Constructor for class javax.crypto.MacSpi
 
makeSigAlg(String, String) - Static method in class sun.security.x509.AlgorithmId
Creates a signature algorithm name from a digest algorithm name and a encryption algorithm name.
match(Certificate) - Method in interface java.security.cert.CertSelector
Decides whether a Certificate should be selected.
match(Certificate) - Method in class java.security.cert.X509CertSelector
Decides whether a Certificate should be selected.
match(CRL) - Method in interface java.security.cert.CRLSelector
Decides whether a CRL should be selected.
match(CRL) - Method in class java.security.cert.X509CRLSelector
Decides whether a CRL should be selected.
MessageDigest - Class in java.security
This MessageDigest class provides applications the functionality of a message digest algorithm, such as SHA-1 or SHA-256.
MessageDigest(String) - Constructor for class java.security.MessageDigest
Creates a message digest with the specified algorithm name.
MessageDigestSpi - Class in java.security
This class defines the Service Provider Interface (SPI) for the MessageDigest class, which provides the functionality of a message digest algorithm, such as MD5 or SHA.
MessageDigestSpi() - Constructor for class java.security.MessageDigestSpi
 
MGF1ParameterSpec - Class in java.security.spec
This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.
MGF1ParameterSpec(String) - Constructor for class java.security.spec.MGF1ParameterSpec
Constructs a parameter set for mask generation function MGF1 as defined in the PKCS #1 standard.

N

NAME_CHAINING - java.security.cert.PKIXReason
The certificate does not chain correctly.
next(int) - Method in class java.security.SecureRandom
Generates an integer containing the user-specified number of pseudo-random bits (right justified, with leading zeros).
nextBytes(byte[]) - Method in class java.security.SecureRandom
Generates a user-specified number of random bytes.
NO_FALLBACK - java.security.cert.PKIXRevocationChecker.Option
Disable the fallback mechanism.
NO_TRUST_ANCHOR - java.security.cert.PKIXReason
No acceptable trust anchor found.
NoSuchAlgorithmException - Exception in java.security
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
NoSuchAlgorithmException() - Constructor for exception java.security.NoSuchAlgorithmException
Constructs a NoSuchAlgorithmException with no detail message.
NoSuchAlgorithmException(String) - Constructor for exception java.security.NoSuchAlgorithmException
Constructs a NoSuchAlgorithmException with the specified detail message.
NoSuchAlgorithmException(String, Throwable) - Constructor for exception java.security.NoSuchAlgorithmException
Creates a NoSuchAlgorithmException with the specified detail message and cause.
NoSuchAlgorithmException(Throwable) - Constructor for exception java.security.NoSuchAlgorithmException
Creates a NoSuchAlgorithmException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
NoSuchPaddingException - Exception in javax.crypto
This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
NoSuchPaddingException() - Constructor for exception javax.crypto.NoSuchPaddingException
Constructs a NoSuchPaddingException with no detail message.
NoSuchPaddingException(String) - Constructor for exception javax.crypto.NoSuchPaddingException
Constructs a NoSuchPaddingException with the specified detail message.
NoSuchProviderException - Exception in java.security
This exception is thrown when a particular security provider is requested but is not available in the environment.
NoSuchProviderException() - Constructor for exception java.security.NoSuchProviderException
Constructs a NoSuchProviderException with no detail message.
NoSuchProviderException(String) - Constructor for exception java.security.NoSuchProviderException
Constructs a NoSuchProviderException with the specified detail message.
NOT_CA_CERT - java.security.cert.PKIXReason
The certificate is not a CA certificate.
NOT_YET_VALID - java.security.cert.CertPathValidatorException.BasicReason
The certificate is not yet valid.

O

OAEPParameterSpec - Class in javax.crypto.spec
This class specifies the set of parameters used with OAEP Padding, as defined in the PKCS#1 v2.2 standard.
OAEPParameterSpec(String, String, AlgorithmParameterSpec, PSource) - Constructor for class javax.crypto.spec.OAEPParameterSpec
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.
ONLY_END_ENTITY - java.security.cert.PKIXRevocationChecker.Option
Only check the revocation status of end-entity certificates.

P

PATH_TOO_LONG - java.security.cert.PKIXReason
The path length constraint has been violated.
PBEKeySpec - Class in javax.crypto.spec
A user-chosen password that can be used with password-based encryption (PBE).
PBEKeySpec(char[]) - Constructor for class javax.crypto.spec.PBEKeySpec
Constructor that takes a password.
PBEKeySpec(char[], byte[], int) - Constructor for class javax.crypto.spec.PBEKeySpec
Constructor that takes a password, salt, iteration count for generating PBEKey of fixed-key-size PBE ciphers.
PBEKeySpec(char[], byte[], int, int) - Constructor for class javax.crypto.spec.PBEKeySpec
Constructor that takes a password, salt, iteration count, and to-be-derived key length for generating PBEKey of variable-key-size PBE ciphers.
PBEParameterSpec - Class in javax.crypto.spec
This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.
PBEParameterSpec(byte[], int) - Constructor for class javax.crypto.spec.PBEParameterSpec
Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.
PBEParameterSpec(byte[], int, AlgorithmParameterSpec) - Constructor for class javax.crypto.spec.PBEParameterSpec
Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.
PKCS8EncodedKeySpec - Class in java.security.spec
This class represents the ASN.1 encoding of a private key, encoded according to the ASN.1 type PrivateKeyInfo.
PKCS8EncodedKeySpec(byte[]) - Constructor for class java.security.spec.PKCS8EncodedKeySpec
Creates a new PKCS8EncodedKeySpec with the given encoded key.
PKIXBuilderParameters - Class in java.security.cert
Parameters used as input for the PKIX CertPathBuilder algorithm.
PKIXBuilderParameters(KeyStore, CertSelector) - Constructor for class java.security.cert.PKIXBuilderParameters
Creates an instance of PKIXBuilderParameters that populates the set of most-trusted CAs from the trusted certificate entries contained in the specified KeyStore.
PKIXBuilderParameters(Set<TrustAnchor>, CertSelector) - Constructor for class java.security.cert.PKIXBuilderParameters
Creates an instance of PKIXBuilderParameters with the specified Set of most-trusted CAs.
PKIXCertPathBuilderResult - Class in java.security.cert
This class represents the successful result of the PKIX certification path builder algorithm.
PKIXCertPathBuilderResult(CertPath, TrustAnchor, PolicyNode, PublicKey) - Constructor for class java.security.cert.PKIXCertPathBuilderResult
Creates an instance of PKIXCertPathBuilderResult containing the specified parameters.
PKIXCertPathChecker - Class in java.security.cert
An abstract class that performs one or more checks on an X509Certificate.
PKIXCertPathChecker() - Constructor for class java.security.cert.PKIXCertPathChecker
Default constructor.
PKIXCertPathValidatorResult - Class in java.security.cert
This class represents the successful result of the PKIX certification path validation algorithm.
PKIXCertPathValidatorResult(TrustAnchor, PolicyNode, PublicKey) - Constructor for class java.security.cert.PKIXCertPathValidatorResult
Creates an instance of PKIXCertPathValidatorResult containing the specified parameters.
PKIXParameters - Class in java.security.cert
Parameters used as input for the PKIX CertPathValidator algorithm.
PKIXParameters(KeyStore) - Constructor for class java.security.cert.PKIXParameters
Creates an instance of PKIXParameters that populates the set of most-trusted CAs from the trusted certificate entries contained in the specified KeyStore.
PKIXParameters(Set<TrustAnchor>) - Constructor for class java.security.cert.PKIXParameters
Creates an instance of PKIXParameters with the specified Set of most-trusted CAs.
PKIXReason - Enum in java.security.cert
The PKIXReason enumerates the potential PKIX-specific reasons that an X.509 certification path may be invalid according to the PKIX (RFC 5280) standard.
PKIXRevocationChecker - Class in java.security.cert
A PKIXCertPathChecker for checking the revocation status of certificates with the PKIX algorithm.
PKIXRevocationChecker() - Constructor for class java.security.cert.PKIXRevocationChecker
Default constructor.
PKIXRevocationChecker.Option - Enum in java.security.cert
Various revocation options that can be specified for the revocation checking mechanism.
PolicyNode - Interface in java.security.cert
An immutable valid policy tree node as defined by the PKIX certification path validation algorithm.
PolicyQualifierInfo - Class in java.security.cert
An immutable policy qualifier represented by the ASN.1 PolicyQualifierInfo structure.
PolicyQualifierInfo(byte[]) - Constructor for class java.security.cert.PolicyQualifierInfo
Creates an instance of PolicyQualifierInfo from the encoded bytes.
PREFER_CRLS - java.security.cert.PKIXRevocationChecker.Option
Prefer CRLs to OSCP.
Principal - Interface in java.security
This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an individual, a corporation, and a login id.
PRIVATE_KEY - Static variable in class javax.crypto.Cipher
Constant used to indicate the to-be-unwrapped key is a "private key".
PrivateKey - Interface in java.security
A private key.
PRIVILEGE_WITHDRAWN - java.security.cert.CRLReason
This reason indicates that the privileges granted to the subject of the certificate have been withdrawn.
ProviderException - Exception in java.security
A runtime exception for Provider exceptions (such as misconfiguration errors or unrecoverable internal errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.
ProviderException() - Constructor for exception java.security.ProviderException
Constructs a ProviderException with no detail message.
ProviderException(String) - Constructor for exception java.security.ProviderException
Constructs a ProviderException with the specified detail message.
ProviderException(String, Throwable) - Constructor for exception java.security.ProviderException
Creates a ProviderException with the specified detail message and cause.
ProviderException(Throwable) - Constructor for exception java.security.ProviderException
Creates a ProviderException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
PSource - Class in javax.crypto.spec
This class specifies the source for encoding input P in OAEP Padding, as defined in the PKCS#1 v2.2 standard.
PSource(String) - Constructor for class javax.crypto.spec.PSource
Constructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the specified PSource algorithm.
PSource.PSpecified - Class in javax.crypto.spec
This class is used to explicitly specify the value for encoding input P in OAEP Padding.
PSpecified(byte[]) - Constructor for class javax.crypto.spec.PSource.PSpecified
Constructs the source explicitly with the specified value p as the encoding input P.
PUBLIC_KEY - Static variable in class javax.crypto.Cipher
Constant used to indicate the to-be-unwrapped key is a "public key".
PublicKey - Interface in java.security
A public key.

R

REMOVE_FROM_CRL - java.security.cert.CRLReason
This reason indicates that the certificate was previously on hold and should be removed from the CRL.
reset() - Method in class java.security.MessageDigest
Resets the digest for further use.
reset() - Method in class javax.crypto.Mac
Resets this Mac object.
REVOKED - java.security.cert.CertPathValidatorException.BasicReason
The certificate is revoked.
RSAKeyGenParameterSpec - Class in java.security.spec
This class specifies the set of parameters used to generate an RSA key pair.
RSAKeyGenParameterSpec(int, int) - Constructor for class java.security.spec.RSAKeyGenParameterSpec
Constructs a new RSAKeyGenParameterSpec object from the given keysize, public-exponent value, and null key parameters.

S

SECRET_KEY - Static variable in class javax.crypto.Cipher
Constant used to indicate the to-be-unwrapped key is a "secret key".
SecretKey - Interface in javax.crypto
A secret (symmetric) key.
SecretKeyFactory - Class in javax.crypto
This class represents a factory for secret keys.
SecretKeyFactorySpi - Class in javax.crypto
This class defines the Service Provider Interface (SPI) for the SecretKeyFactory class.
SecretKeyFactorySpi() - Constructor for class javax.crypto.SecretKeyFactorySpi
 
SecretKeySpec - Class in javax.crypto.spec
This class specifies a secret key in a provider-independent fashion.
SecretKeySpec(byte[], int, int, String) - Constructor for class javax.crypto.spec.SecretKeySpec
Constructs a secret key from the given byte array, using the first len bytes of key, starting at offset inclusive.
SecretKeySpec(byte[], String) - Constructor for class javax.crypto.spec.SecretKeySpec
Constructs a secret key from the given byte array.
SecureRandom - Class in java.security
This class provides a cryptographically strong random number generator (RNG).
SecureRandom() - Constructor for class java.security.SecureRandom
Constructs a secure random number generator (RNG) implementing the default random number algorithm.
SecureRandom(byte[]) - Constructor for class java.security.SecureRandom
Constructs a secure random number generator (RNG) implementing the default random number algorithm.
SecureRandomSpi - Class in java.security
This class defines the Service Provider Interface (SPI) for the SecureRandom class.
SecureRandomSpi() - Constructor for class java.security.SecureRandomSpi
 
SecurityPermission - Class in java.security
This class is for security permissions.
SecurityPermission(String) - Constructor for class java.security.SecurityPermission
Creates a new SecurityPermission with the specified name.
SecurityPermission(String, String) - Constructor for class java.security.SecurityPermission
Creates a new SecurityPermission object with the specified name.
serialVersionUID - Static variable in interface java.security.Key
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
serialVersionUID - Static variable in interface java.security.PrivateKey
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
serialVersionUID - Static variable in interface java.security.PublicKey
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
serialVersionUID - Static variable in interface javax.crypto.SecretKey
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
setAnyPolicyInhibited(boolean) - Method in class java.security.cert.PKIXParameters
Sets state to determine if the any policy OID should be processed if it is included in a certificate.
setAuthorityKeyIdentifier(byte[]) - Method in class java.security.cert.X509CertSelector
Sets the authorityKeyIdentifier criterion.
setBasicConstraints(int) - Method in class java.security.cert.X509CertSelector
Sets the basic constraints constraint.
setCertificate(X509Certificate) - Method in class java.security.cert.X509CertSelector
Sets the certificateEquals criterion.
setCertificateChecking(X509Certificate) - Method in class java.security.cert.X509CRLSelector
Sets the certificate being checked.
setCertificateEntry(String, Certificate) - Method in class java.security.KeyStore
Assigns the given trusted certificate to the given alias.
setCertificateValid(Date) - Method in class java.security.cert.X509CertSelector
Sets the certificateValid criterion.
setCertPathCheckers(List<PKIXCertPathChecker>) - Method in class java.security.cert.PKIXParameters
Sets a List of additional certification path checkers.
setCertStores(List<CertStore>) - Method in class java.security.cert.PKIXParameters
Sets the list of CertStores to be used in finding certificates and CRLs.
setDate(Date) - Method in class java.security.cert.PKIXParameters
Sets the time for which the validity of the certification path should be determined.
setDateAndTime(Date) - Method in class java.security.cert.X509CRLSelector
Sets the dateAndTime criterion.
setExplicitPolicyRequired(boolean) - Method in class java.security.cert.PKIXParameters
Sets the ExplicitPolicyRequired flag.
setExtendedKeyUsage(Set<String>) - Method in class java.security.cert.X509CertSelector
Sets the extendedKeyUsage criterion.
setInitialPolicies(Set<String>) - Method in class java.security.cert.PKIXParameters
Sets the Set of initial policy identifiers (OID strings), indicating that any one of these policies would be acceptable to the certificate user for the purposes of certification path processing.
setIssuer(byte[]) - Method in class java.security.cert.X509CertSelector
Sets the issuer criterion.
setIssuer(String) - Method in class java.security.cert.X509CertSelector
setIssuer(X500Principal) - Method in class java.security.cert.X509CertSelector
Sets the issuer criterion.
setIssuerNames(Collection<?>) - Method in class java.security.cert.X509CRLSelector
Note: use X509CRLSelector.setIssuers(Collection) instead or only specify the byte array form of distinguished names when using this method.
setIssuers(Collection<X500Principal>) - Method in class java.security.cert.X509CRLSelector
Sets the issuerNames criterion.
setKeyEntry(String, byte[], Certificate[]) - Method in class java.security.KeyStore
Assigns the given key (that has already been protected) to the given alias.
setKeyEntry(String, Key, char[], Certificate[]) - Method in class java.security.KeyStore
Assigns the given key to the given alias, protecting it with the given password.
setKeyUsage(boolean[]) - Method in class java.security.cert.X509CertSelector
Sets the keyUsage criterion.
setMatchAllSubjectAltNames(boolean) - Method in class java.security.cert.X509CertSelector
Enables/disables matching all of the subjectAlternativeNames specified in the setSubjectAlternativeNames or addSubjectAlternativeName methods.
setMaxPathLength(int) - Method in class java.security.cert.PKIXBuilderParameters
Sets the value of the maximum number of non-self-issued intermediate certificates that may exist in a certification path.
setNameConstraints(byte[]) - Method in class java.security.cert.X509CertSelector
Sets the name constraints criterion.
setOcspExtensions(List<Extension>) - Method in class java.security.cert.PKIXRevocationChecker
Sets the optional OCSP request extensions.
setOcspResponderCert(X509Certificate) - Method in class java.security.cert.PKIXRevocationChecker
Sets the OCSP responder's certificate.
setOcspResponses(Map<X509Certificate, byte[]>) - Method in class java.security.cert.PKIXRevocationChecker
Sets the OCSP responses.
setOptions(Set<PKIXRevocationChecker.Option>) - Method in class java.security.cert.PKIXRevocationChecker
Sets the revocation options.
setParameter(AlgorithmParameterSpec) - Method in class java.security.Signature
Initializes this signature engine with the specified parameter set.
setPathToNames(Collection<List<?>>) - Method in class java.security.cert.X509CertSelector
Sets the pathToNames criterion.
setPolicy(Set<String>) - Method in class java.security.cert.X509CertSelector
Sets the policy constraint.
setPolicyMappingInhibited(boolean) - Method in class java.security.cert.PKIXParameters
Sets the PolicyMappingInhibited flag.
setPolicyQualifiersRejected(boolean) - Method in class java.security.cert.PKIXParameters
Sets the PolicyQualifiersRejected flag.
setPrivateKeyValid(Date) - Method in class java.security.cert.X509CertSelector
Sets the privateKeyValid criterion.
setRevocationEnabled(boolean) - Method in class java.security.cert.PKIXParameters
Sets the RevocationEnabled flag.
setSeed(byte[]) - Method in class java.security.SecureRandom
Reseeds this random object.
setSeed(long) - Method in class java.security.SecureRandom
Reseeds this random object, using the eight bytes contained in the given long seed.
setSigProvider(String) - Method in class java.security.cert.PKIXParameters
Sets the signature provider's name.
setSubject(byte[]) - Method in class java.security.cert.X509CertSelector
Sets the subject criterion.
setSubject(String) - Method in class java.security.cert.X509CertSelector
setSubject(X500Principal) - Method in class java.security.cert.X509CertSelector
Sets the subject criterion.
setSubjectAlternativeNames(Collection<List<?>>) - Method in class java.security.cert.X509CertSelector
Sets the subjectAlternativeNames criterion.
setSubjectKeyIdentifier(byte[]) - Method in class java.security.cert.X509CertSelector
Sets the subjectKeyIdentifier criterion.
setSubjectPublicKey(byte[]) - Method in class java.security.cert.X509CertSelector
Sets the subjectPublicKey criterion.
setSubjectPublicKey(PublicKey) - Method in class java.security.cert.X509CertSelector
Sets the subjectPublicKey criterion.
setSubjectPublicKeyAlgID(String) - Method in class java.security.cert.X509CertSelector
Sets the subjectPublicKeyAlgID criterion.
setTargetCertConstraints(CertSelector) - Method in class java.security.cert.PKIXParameters
Sets the required constraints on the target certificate.
setTrustAnchors(Set<TrustAnchor>) - Method in class java.security.cert.PKIXParameters
Sets the Set of most-trusted CAs.
SHA1 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA-1" message digest.
SHA224 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA-224" message digest.
SHA256 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA-256" message digest.
SHA3_224 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA3-224" message digest.
SHA3_256 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA3-256" message digest.
SHA3_384 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA3-384" message digest.
SHA3_512 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA3-512" message digest.
SHA384 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA-384" message digest.
SHA512 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA-512" message digest.
SHA512_224 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA-512/224" message digest.
SHA512_256 - Static variable in class java.security.spec.MGF1ParameterSpec
The MGF1ParameterSpec uses a "SHA-512/256" message digest.
ShortBufferException - Exception in javax.crypto
This exception is thrown when an output buffer provided by the user is too short to hold the operation result.
ShortBufferException() - Constructor for exception javax.crypto.ShortBufferException
Constructs a ShortBufferException with no detail message.
ShortBufferException(String) - Constructor for exception javax.crypto.ShortBufferException
Constructs a ShortBufferException with the specified detail message.
sign() - Method in class java.security.Signature
Returns the signature bytes of all the data updated.
sign(byte[], int, int) - Method in class java.security.Signature
Finishes the signature operation and stores the resulting signature bytes in the provided buffer outbuf, starting at offset.
SIGN - Static variable in class java.security.Signature
Possible Signature.state value, signifying that this signature object has been initialized for signing.
Signature - Class in java.security
The Signature class is used to provide applications the functionality of a digital signature algorithm.
Signature(String) - Constructor for class java.security.Signature
Creates a Signature object for the specified algorithm.
SignatureException - Exception in java.security
This is the generic Signature exception.
SignatureException() - Constructor for exception java.security.SignatureException
Constructs a SignatureException with no detail message.
SignatureException(String) - Constructor for exception java.security.SignatureException
Constructs a SignatureException with the specified detail message.
SignatureException(String, Throwable) - Constructor for exception java.security.SignatureException
Creates a SignatureException with the specified detail message and cause.
SignatureException(Throwable) - Constructor for exception java.security.SignatureException
Creates a SignatureException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
SignatureSpi - Class in java.security
This class defines the Service Provider Interface (SPI) for the Signature class, which is used to provide the functionality of a digital signature algorithm.
SignatureSpi() - Constructor for class java.security.SignatureSpi
 
size() - Method in class java.security.KeyStore
Retrieves the number of entries in this keystore.
SOFT_FAIL - java.security.cert.PKIXRevocationChecker.Option
Allow revocation check to succeed if the revocation status cannot be determined for one of the following reasons: The CRL or OCSP response cannot be obtained because of a network error.
state - Variable in class java.security.Signature
Current state of this signature object.
sun.security.x509 - package sun.security.x509
Contains classes for certificate management.
SUPERSEDED - java.security.cert.CRLReason
This reason indicates that the certificate has been superseded.

T

toString() - Method in class java.security.cert.Certificate
Returns a string representation of this certificate.
toString() - Method in class java.security.cert.CertPath
Returns a string representation of this certification path.
toString() - Method in class java.security.cert.CollectionCertStoreParameters
Returns a formatted string describing the parameters.
toString() - Method in class java.security.cert.CRL
Returns a string representation of this CRL.
toString() - Method in class java.security.cert.LDAPCertStoreParameters
Returns a formatted string describing the parameters.
toString() - Method in class java.security.cert.PKIXBuilderParameters
Returns a formatted string describing the parameters.
toString() - Method in class java.security.cert.PKIXCertPathBuilderResult
Return a printable representation of this PKIXCertPathBuilderResult.
toString() - Method in class java.security.cert.PKIXCertPathValidatorResult
Return a printable representation of this PKIXCertPathValidatorResult.
toString() - Method in class java.security.cert.PKIXParameters
Returns a formatted string describing the parameters.
toString() - Method in class java.security.cert.PolicyQualifierInfo
Return a printable representation of this PolicyQualifierInfo.
toString() - Method in class java.security.cert.TrustAnchor
Returns a formatted string describing the TrustAnchor.
toString() - Method in class java.security.cert.X509CertSelector
Return a printable representation of the CertSelector.
toString() - Method in class java.security.cert.X509CRLEntry
Returns a string representation of this CRL entry.
toString() - Method in class java.security.cert.X509CRLSelector
Returns a printable representation of the X509CRLSelector.
toString() - Method in class java.security.MessageDigest
Returns a string representation of this message digest object.
toString() - Method in interface java.security.Principal
Returns a string representation of this principal.
toString() - Method in class java.security.Signature
Returns a string representation of this signature object, providing information that includes the state of the object and the name of the algorithm used.
toString() - Method in class java.security.spec.MGF1ParameterSpec
 
TrustAnchor - Class in java.security.cert
A trust anchor or most-trusted Certification Authority (CA).
TrustAnchor(String, PublicKey, byte[]) - Constructor for class java.security.cert.TrustAnchor
Creates an instance of TrustAnchor where the most-trusted CA is specified as a distinguished name and public key.
TrustAnchor(X509Certificate, byte[]) - Constructor for class java.security.cert.TrustAnchor
Creates an instance of TrustAnchor with the specified X509Certificate and optional name constraints, which are intended to be used as additional constraints when validating an X.509 certification path.
TrustAnchor(X500Principal, PublicKey, byte[]) - Constructor for class java.security.cert.TrustAnchor
Creates an instance of TrustAnchor where the most-trusted CA is specified as an X500Principal and public key.

U

UNDETERMINED_REVOCATION_STATUS - java.security.cert.CertPathValidatorException.BasicReason
The revocation status of the certificate could not be determined.
UNINITIALIZED - Static variable in class java.security.Signature
Possible Signature.state value, signifying that this signature object has not yet been initialized.
UNRECOGNIZED_CRIT_EXT - java.security.cert.PKIXReason
The certificate contains one or more unrecognized critical extensions.
UnrecoverableEntryException - Exception in java.security
This exception is thrown if an entry in the keystore cannot be recovered.
UnrecoverableEntryException() - Constructor for exception java.security.UnrecoverableEntryException
Constructs an UnrecoverableEntryException with no detail message.
UnrecoverableEntryException(String) - Constructor for exception java.security.UnrecoverableEntryException
Constructs an UnrecoverableEntryException with the specified detail message, which provides more information about why this exception has been thrown.
UnrecoverableKeyException - Exception in java.security
This exception is thrown if a key in the keystore cannot be recovered.
UnrecoverableKeyException() - Constructor for exception java.security.UnrecoverableKeyException
Constructs an UnrecoverableKeyException with no detail message.
UnrecoverableKeyException(String) - Constructor for exception java.security.UnrecoverableKeyException
Constructs an UnrecoverableKeyException with the specified detail message, which provides more information about why this exception has been thrown.
UNSPECIFIED - java.security.cert.CertPathValidatorException.BasicReason
Unspecified reason.
UNSPECIFIED - java.security.cert.CRLReason
This reason indicates that it is unspecified as to why the certificate has been revoked.
UNUSED - java.security.cert.CRLReason
Unused reason.
unwrap(byte[], String, int) - Method in class javax.crypto.Cipher
Unwrap a previously wrapped key.
UNWRAP_MODE - Static variable in class javax.crypto.Cipher
Constant used to initialize cipher to key-unwrapping mode.
update(byte) - Method in class java.security.MessageDigest
Updates the digest using the specified byte.
update(byte) - Method in class java.security.Signature
Updates the data to be signed or verified by a byte.
update(byte) - Method in class javax.crypto.Mac
Processes the given byte.
update(byte[]) - Method in class java.security.MessageDigest
Updates the digest using the specified array of bytes.
update(byte[]) - Method in class java.security.Signature
Updates the data to be signed or verified, using the specified array of bytes.
update(byte[]) - Method in class javax.crypto.Cipher
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
update(byte[]) - Method in class javax.crypto.Mac
Processes the given array of bytes.
update(byte[], int, int) - Method in class java.security.MessageDigest
Updates the digest using the specified array of bytes, starting at the specified offset.
update(byte[], int, int) - Method in class java.security.Signature
Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.
update(byte[], int, int) - Method in class javax.crypto.Cipher
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
update(byte[], int, int) - Method in class javax.crypto.Mac
Processes the first len bytes in input, starting at offset inclusive.
update(byte[], int, int, byte[]) - Method in class javax.crypto.Cipher
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
update(byte[], int, int, byte[], int) - Method in class javax.crypto.Cipher
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
updateAAD(byte[]) - Method in class javax.crypto.Cipher
Continues a multi-part update of the Additional Authentication Data (AAD).
updateAAD(byte[], int, int) - Method in class javax.crypto.Cipher
Continues a multi-part update of the Additional Authentication Data (AAD), using a subset of the provided buffer.

V

validate(CertPath, CertPathParameters) - Method in class java.security.cert.CertPathValidator
Validates the specified certification path using the specified algorithm parameter set.
valueOf(String) - Static method in enum java.security.cert.CertPathValidatorException.BasicReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.security.cert.CRLReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.security.cert.PKIXReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.security.cert.PKIXRevocationChecker.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum java.security.cert.CertPathValidatorException.BasicReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.security.cert.CRLReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.security.cert.PKIXReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.security.cert.PKIXRevocationChecker.Option
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[]) - Method in class java.security.Signature
Verifies the passed-in signature.
verify(byte[], int, int) - Method in class java.security.Signature
Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.
verify(PublicKey) - Method in class java.security.cert.Certificate
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
verify(PublicKey) - Method in class java.security.cert.X509CRL
Verifies that this CRL was signed using the private key that corresponds to the given public key.
verify(PublicKey, String) - Method in class java.security.cert.Certificate
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
VERIFY - Static variable in class java.security.Signature
Possible Signature.state value, signifying that this signature object has been initialized for verification.

W

wrap(Key) - Method in class javax.crypto.Cipher
Wrap a key.
WRAP_MODE - Static variable in class javax.crypto.Cipher
Constant used to initialize cipher to key-wrapping mode.

X

X500Principal - Class in javax.security.auth.x500
This class represents an X.500 Principal.
X500Principal(byte[]) - Constructor for class javax.security.auth.x500.X500Principal
Creates an X500Principal from a distinguished name in ASN.1 DER encoded form.
X500Principal(InputStream) - Constructor for class javax.security.auth.x500.X500Principal
Creates an X500Principal from an InputStream containing the distinguished name in ASN.1 DER encoded form.
X509Certificate - Class in java.security.cert
Abstract class for X.509 certificates.
X509Certificate() - Constructor for class java.security.cert.X509Certificate
Constructor for X.509 certificates.
X509CertSelector - Class in java.security.cert
A CertSelector that selects X509Certificates that match all specified criteria.
X509CertSelector() - Constructor for class java.security.cert.X509CertSelector
Creates an X509CertSelector.
X509CRL - Class in java.security.cert
Abstract class for an X.509 Certificate Revocation List (CRL).
X509CRL() - Constructor for class java.security.cert.X509CRL
Constructor for X.509 CRLs.
X509CRLEntry - Class in java.security.cert
Abstract class for a revoked certificate in a CRL (Certificate Revocation List).
X509CRLEntry() - Constructor for class java.security.cert.X509CRLEntry
 
X509CRLSelector - Class in java.security.cert
A CRLSelector that selects X509CRLs that match all specified criteria.
X509CRLSelector() - Constructor for class java.security.cert.X509CRLSelector
Creates an X509CRLSelector.
X509EncodedKeySpec - Class in java.security.spec
This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo.
X509EncodedKeySpec(byte[]) - Constructor for class java.security.spec.X509EncodedKeySpec
Creates a new X509EncodedKeySpec with the given encoded key.
X509Extension - Interface in java.security.cert
Interface for an X.509 extension.
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages