- 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
.
- 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.
- getAlgorithm() - Method in interface java.security.Key
-
Returns the standard algorithm name for this key.
- 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.Mac
-
Returns the algorithm name of this Mac
object.
- getAlgorithm() - Method in class javax.crypto.spec.SecretKeySpec
-
Returns the name of the algorithm associated with this secret key.
- getBlockSize() - Method in class javax.crypto.Cipher
-
Returns the block size (in bytes).
- 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.
- 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.
- 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.
- getEncoded() - Method in class java.security.cert.Certificate
-
Returns the encoded form of this certificate.
- 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 javax.crypto.spec.SecretKeySpec
-
Returns the key material of this secret key.
- 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 javax.crypto.spec.SecretKeySpec
-
Returns the name of the encoding format for this secret key.
- 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.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, 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, 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, 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.Mac
-
Returns a Mac
object that implements the
specified MAC algorithm.
- getInstance(String, String) - Static method in class javax.crypto.Mac
-
Returns a Mac
object that implements the
specified MAC algorithm.
- getIssuerX500Principal() - Method in class java.security.cert.X509Certificate
-
Returns the issuer (issuer distinguished name) value from the certificate as an X500Principal
.
- getIV() - Method in class javax.crypto.Cipher
-
Returns the initialization vector (IV) in a new buffer.
- 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.
- getMacLength() - Method in class javax.crypto.Mac
-
Returns the length of the MAC in bytes.
- 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.
- getName() - Method in class javax.security.auth.x500.X500Principal
-
Returns a string representation of the X.500 distinguished name.
- 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).
- getPublicKey() - Method in class java.security.cert.Certificate
-
Gets the public key from this certificate.
- getSubjectX500Principal() - Method in class java.security.cert.X509Certificate
-
Returns the subject (subject distinguished name) value from the certificate as an X500Principal
.
- 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.KeyStore
-
Returns the type of this keystore.