- 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.
- SecretKeySpec - Class in javax.crypto.spec
-
This class specifies a secret key in a provider-independent fashion.
- SecretKeySpec(byte[], String) - Constructor for class javax.crypto.spec.SecretKeySpec
-
Constructs a secret key from the given byte array.
- 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.
- 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.
- 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.
- setCertificateEntry(String, Certificate) - Method in class java.security.KeyStore
-
Assigns the given trusted certificate to the given alias.
- setKeyEntry(String, byte[], Certificate[]) - Method in class java.security.KeyStore
-
Assigns the given key (that has already been protected) to the given alias.
- setParameter(AlgorithmParameterSpec) - Method in class java.security.Signature
-
Initializes this signature engine with the specified parameter set.
- 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
.
- 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 - Static variable in class java.security.Signature
-
Possible
Signature.state
value, signifying that this signature object has been initialized for signing.
- 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
.
- 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.
- state - Variable in class java.security.Signature
-
Current state of this signature object.