- 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.
- 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.
- 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(X500Principal) - Method in class java.security.cert.X509CertSelector
-
Sets the issuer criterion.
- setIssuer(String) - Method in class java.security.cert.X509CertSelector
-
- setIssuer(byte[]) - Method in class java.security.cert.X509CertSelector
-
Sets the issuer criterion.
- setIssuerNames(Collection<?>) - Method in class java.security.cert.X509CRLSelector
-
- 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
-
- 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(X500Principal) - Method in class java.security.cert.X509CertSelector
-
Sets the subject criterion.
- setSubject(String) - Method in class java.security.cert.X509CertSelector
-
- setSubject(byte[]) - 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(PublicKey) - Method in class java.security.cert.X509CertSelector
-
Sets the subjectPublicKey criterion.
- setSubjectPublicKey(byte[]) - 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.
- SHA384 - Static variable in class java.security.spec.MGF1ParameterSpec
-
The MGF1ParameterSpec uses a "SHA-384" 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.
- 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 - 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.
- sun.security.x509 - package sun.security.x509
-
Contains classes for certificate management.