keytool and jarsigner),| Modifier and Type | Interface and Description |
|---|---|
| public interface | AlgorithmConstraints
This interface specifies constraints for cryptographic algorithms, keys (key sizes), and other algorithm parameters. |
| public interface | AsymmetricKey
An asymmetric key, which can be either a public key or a private key. |
| public interface | BinaryEncodable
Preview
Third Preview of PEM Encodings of Cryptographic Objects (JEP 538).
This interface identifies the cryptographic objects that can be converted
to and from binary data, and thereby encoded and decoded as PEM text.
|
| public interface | Certificate
Deprecated
for removal since 1.2. This class is deprecated and subject to removal in a future
version of Java SE. It has been replaced by
java.security.cert.Certificate and related classes.
This is an interface of abstract methods for managing a variety of identity certificates. |
| public interface | DomainCombiner
Deprecated
for removal since 17. This class was only useful in conjunction with the Security Manager, which is no longer supported.
There is no replacement for the Security Manager or this class.
DomainCombiner was used to dynamically update
ProtectionDomains for access control operations and decisions.
|
| public interface | Guard
This interface represents a guard, which is an object that is used to protect access to another object. |
| public interface | Key
The |
| public interface | Principal
This interface represents the abstract notion of a |
| public interface | PrivateKey
A private key. |
| public interface | PrivilegedAction<
the type of the result of running the computation T>A computation to be performed by invoking
|
| public interface | PrivilegedExceptionAction<
the type of the result of running the computation T>A computation to be performed that throws one or more checked exceptions. |
| public interface | PublicKey
A public key. |
| public interface | SecureRandomParameters
A marker interface for parameters used in various |
| Modifier and Type | Class and Description |
|---|---|
| public class | AccessControlContext
Deprecated
for removal since 17. This class was only useful in conjunction with the the Security Manager, which is no longer supported.
There is no replacement for the Security Manager or this class.
AccessControlContext was used with the Security Manager for access
control decisions based on context that it encapsulated.
|
| public class | AccessControlException
Deprecated
for removal since 17. This exception was only useful in conjunction with
the Security Manager, which is no
longer supported. There is no replacement for the Security Manager
or this class.
This exception was originally thrown by the AccessController to
indicate that a requested access was denied.
|
| public class | AccessController
Deprecated
for removal since 17. This class was only useful in conjunction with the Security Manager, which is no longer supported.
There is no replacement for the Security Manager or this class.
AccessController was used with the Security Manager for access
control operations and decisions.
|
| public class | AlgorithmParameterGenerator
The |
| public abstract class | AlgorithmParameterGeneratorSpi
This class defines the Service Provider Interface (SPI)
for the |
| public class | AlgorithmParameters
This class is used as an opaque representation of cryptographic parameters. |
| public abstract class | AlgorithmParametersSpi
This class defines the Service Provider Interface (SPI)
for the |
| public class | AllPermission
The |
| pack-priv class | AllPermissionCollection
An |
| public abstract class | AuthProvider
This class defines login and logout methods for a provider. |
| public abstract class | BasicPermission
The |
| pack-priv class | BasicPermissionCollection
A |
| public class | CodeSigner
This class encapsulates information about a code signer. |
| public class | CodeSource
This class extends the concept of a codebase to encapsulate not only the location (URL) but also the certificate chains that were used to verify signed code originating from that location. |
| public class | DigestException
This is the generic Message Digest exception. |
| public class | DigestInputStream
A transparent stream that updates the associated message digest using the bits going through the stream. |
| public class | DigestOutputStream
A transparent stream that updates the associated message digest using the bits going through the stream. |
| public class | DomainLoadStoreParameter
Configuration data that specifies the keystores in a keystore domain. |
| public class | DrbgParameters
This class specifies the parameters used by a DRBG (Deterministic Random Bit Generator). |
| public class | GeneralSecurityException
The |
| public class | GuardedObject
A GuardedObject is an object that is used to protect access to another object. |
| public abstract class | Identity
Deprecated
for removal since 1.2. This class is deprecated and subject to removal in a future
version of Java SE. It has been replaced by
java.security.KeyStore, the java.security.cert package,
and java.security.Principal.
This class represents identities: real-world objects such as people, companies or organizations whose identities can be authenticated using their public keys. |
| public abstract class | IdentityScope
Deprecated
for removal since 1.2. This class is deprecated and subject to removal in a future
version of Java SE. It has been replaced by
java.security.KeyStore, the java.security.cert package,
and java.security.Principal.
This class represents a scope for identities. |
| public class | InvalidAlgorithmParameterException
This is the exception for invalid or inappropriate algorithm parameters. |
| public class | InvalidKeyException
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc.). |
| public class | InvalidParameterException
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. |
| public class | KeyException
This is the basic key exception. |
| public class | KeyFactory
Key factories are used to convert keys (opaque
cryptographic keys of type |
| public abstract class | KeyFactorySpi
This class defines the Service Provider Interface (SPI)
for the |
| public class | KeyManagementException
This is the general key management exception for all operations dealing with key management. |
| public class | KeyPair
This class is a simple holder for a key pair (a public key and a private key). |
| public abstract class | KeyPairGenerator
The |
| public abstract class | KeyPairGeneratorSpi
This class defines the Service Provider Interface (SPI)
for the |
| public class | KeyRep
Standardized representation for serialized Key objects. |
| public class | KeyStore
This class represents a storage facility for cryptographic keys and certificates. |
| public class | KeyStoreException
This is the generic KeyStore exception. |
| public abstract class | KeyStoreSpi
This class defines the Service Provider Interface (SPI)
for the |
| public abstract class | MessageDigest
This |
| public abstract class | MessageDigestSpi
This class defines the Service Provider Interface (SPI)
for the |
| public class | NoSuchAlgorithmException
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment. |
| public class | NoSuchProviderException
This exception is thrown when a particular security provider is requested but is not available in the environment. |
| public class | PEM
Preview
Third Preview of PEM Encodings of Cryptographic Objects (JEP 538).
A BinaryEncodable representing a Privacy-Enhanced Mail (PEM) structure
composed of a type identifier, Base64-encoded content, and optional
leading data that precedes the PEM header.
|
| public class | PEMDecoder
Preview
Third Preview of PEM Encodings of Cryptographic Objects (JEP 538).
PEMDecoder implements a decoder for Privacy-Enhanced Mail (PEM) data.
|
| public class | PEMEncoder
Preview
Third Preview of PEM Encodings of Cryptographic Objects (JEP 538).
PEMEncoder implements an encoder for Privacy-Enhanced Mail (PEM)
data.
|
| public abstract class | Permission
Abstract class for representing access to a system resource. |
| public abstract class | PermissionCollection
Abstract class representing a collection of Permission objects. |
| public class | Permissions
This class represents a heterogeneous collection of permissions. |
| pack-priv class | |
| pack-priv class | PermissionsHash
A |
| public class | PKCS12Attribute
An attribute associated with a PKCS12 keystore entry. |
| public abstract class | Policy
Deprecated
for removal since 17. This class was only useful in conjunction with
the Security Manager, which is no longer
supported.
A Policy object was responsible for determining whether code
executing in the Java runtime environment had permission to perform a
security-sensitive operation.
|
| public abstract class | PolicySpi
Deprecated
for removal since 17. This class was only useful in conjunction with
the Security Manager, which is no
longer supported. There is no replacement for
the Security Manager or this class.
This class defines the Service Provider Interface (SPI)
for the Policy class.
|
| public class | PrivilegedActionException
This exception is thrown by
|
| public class | ProtectionDomain
The |
| public abstract class | Provider
This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security. |
| public class | ProviderException
A runtime exception for |
| public class | SecureClassLoader
This class extends |
| public class | SecureRandom
This class provides a cryptographically strong random number generator (RNG). |
| public abstract class | SecureRandomSpi
This class defines the Service Provider Interface (SPI)
for the |
| public class | Security
This class centralizes all security properties and common security methods. |
| public class | SecurityPermission
Deprecated
for removal since 25. This permission cannot be used for controlling access to resources
as the Security Manager is no longer supported.
This class is for security permissions.
|
| public abstract class | Signature
The |
| public class | SignatureException
This is the generic Signature exception. |
| public abstract class | SignatureSpi
This class defines the Service Provider Interface (SPI)
for the |
| public class | SignedObject
|
| public abstract class | Signer
Deprecated
for removal since 1.2. This class is deprecated and subject to removal in a future
version of Java SE. It has been replaced by
This class is used to represent an Identity that can also digitally
sign data.
java.security.KeyStore, the java.security.cert package,
and java.security.Principal.
|
| public class | Timestamp
This class encapsulates information about a signed timestamp. |
| public class | UnrecoverableEntryException
This exception is thrown if an entry in the keystore cannot be recovered. |
| public class | UnrecoverableKeyException
This exception is thrown if a key in the keystore cannot be recovered. |
| public class | UnresolvedPermission
Deprecated
for removal since 25. This permission cannot be used for controlling access to
resources as the Security Manager is no longer supported.
The UnresolvedPermission class used to hold Permissions that were
"unresolved" when the Policy was initialized.
|
| pack-priv class | UnresolvedPermissionCollection
A |
| public class | URIParameter
References Deprecated
A parameter that contains a URI pointing to data intended for a
PolicySpi or ConfigurationSpi implementation.
Policy.Parameters is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Enum and Description |
|---|---|
| public enum | CryptoPrimitive
An enumeration of cryptographic primitives. |