Java.Security Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extensible cryptographic service provider infrastructure (SPI) for using and defining services such as ICertificate, Key, KeyStore, MessageDigest, and Signature.
Classes
AccessControlContext |
Android doesn't support |
AccessControlException |
This exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied. |
AccessController |
Android doesn't support |
AlgorithmParameterGenerator |
The |
AlgorithmParameterGeneratorSpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
AlgorithmParameters |
This class is used as an opaque representation of cryptographic parameters. |
AlgorithmParametersSpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
AllPermission |
Android doesn't support |
AuthProvider |
Legacy security code; do not use. |
BasicPermission |
Android doesn't support |
CodeSigner |
This class encapsulates information about a code signer. |
CodeSource |
Legacy security code; do not use. |
CryptoPrimitive |
An enumeration of cryptographic primitives. |
DigestException |
This is the generic Message Digest exception. |
DigestInputStream |
A transparent stream that updates the associated message digest using the bits going through the stream. |
DigestOutputStream |
A transparent stream that updates the associated message digest using the bits going through the stream. |
DomainLoadStoreParameter |
Configuration data that specifies the keystores in a keystore domain. |
GeneralSecurityException |
The |
GuardedObject |
A GuardedObject is an object that is used to protect access to another object. |
Identity |
This class represents identities: real-world objects such as people, companies or organizations whose identities can be authenticated using their public keys. |
IdentityScope |
This class represents a scope for identities. |
InvalidAlgorithmParameterException |
This is the exception for invalid or inappropriate algorithm parameters. |
InvalidKeyException |
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc). |
InvalidParameterException |
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. |
Key |
|
KeyException |
This is the basic key exception. |
KeyFactory |
Key factories are used to convert keys (opaque
cryptographic keys of type |
KeyFactorySpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
KeyManagementException |
This is the general key management exception for all operations dealing with key management. |
KeyPair |
This class is a simple holder for a key pair (a public key and a private key). |
KeyPairGenerator |
The KeyPairGenerator class is used to generate pairs of public and private keys. |
KeyPairGeneratorSpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
KeyRep |
Standardized representation for serialized Key objects. |
KeyRep.Type |
Key type. |
KeyStore |
This class represents a storage facility for cryptographic keys and certificates. |
KeyStore.Builder |
A description of a to-be-instantiated KeyStore object. |
KeyStore.CallbackHandlerProtection |
A ProtectionParameter encapsulating a CallbackHandler. |
KeyStore.PasswordProtection |
A password-based implementation of |
KeyStore.PrivateKeyEntry |
A |
KeyStore.SecretKeyEntry |
A |
KeyStore.TrustedCertificateEntry |
A |
KeyStoreException |
This is the generic KeyStore exception. |
KeyStoreSpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
MessageDigest |
This MessageDigest class provides applications the functionality of a message digest algorithm, such as SHA-1 or SHA-256. |
MessageDigestSpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
NoSuchAlgorithmException |
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment. |
NoSuchProviderException |
This exception is thrown when a particular security provider is requested but is not available in the environment. |
Permission |
Android doesn't support |
PermissionCollection |
Android doesn't support |
Permissions |
Android doesn't support |
PKCS12Attribute |
An attribute associated with a PKCS12 keystore entry. |
Policy |
Android doesn't support |
PolicySpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
PrivateKey |
|
PrivilegedActionException |
Legacy security code; do not use. |
ProtectionDomain |
Legacy security code; do not use. |
Provider |
This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security. |
Provider.Service |
The description of a security service. |
ProviderException |
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. |
PublicKey |
|
SecureClassLoader |
This class extends ClassLoader with additional support for defining classes with an associated code source and permissions which are retrieved by the system policy by default. |
SecureRandom |
This class provides a cryptographically strong random number generator (RNG). |
SecureRandomSpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
Security |
This class centralizes all security properties and common security methods. |
SecurityPermission |
Legacy security code; do not use. |
Signature |
The Signature class is used to provide applications the functionality of a digital signature algorithm. |
SignatureException |
This is the generic Signature exception. |
SignatureSpi |
This class defines the Service Provider Interface (<b>SPI</b>)
for the |
SignedObject |
SignedObject is a class for the purpose of creating authentic runtime objects whose integrity cannot be compromised without being detected. |
Signer |
This class is used to represent an Identity that can also digitally sign data. |
Timestamp |
This class encapsulates information about a signed timestamp. |
UnrecoverableEntryException |
This exception is thrown if an entry in the keystore cannot be recovered. |
UnrecoverableKeyException |
This exception is thrown if a key in the keystore cannot be recovered. |
UnresolvedPermission |
Legacy security code; do not use. |
Interfaces
IAlgorithmConstraints |
This interface specifies constraints for cryptographic algorithms, keys (key sizes), and other algorithm parameters. |
ICertificate |
This is an interface of abstract methods for managing a variety of identity certificates. |
IDomainCombiner |
Legacy security code; do not use. |
IGuard |
This interface represents a guard, which is an object that is used to protect access to another object. |
IKey |
The Key interface is the top-level interface for all keys. |
IPrincipal |
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. |
IPrivateKey |
A private key. |
IPrivilegedAction |
Android doesn't support |
IPrivilegedExceptionAction |
Android doesn't support |
IPublicKey |
A public key. |
KeyStore.IEntry |
A marker interface for |
KeyStore.IEntryAttribute | |
KeyStore.ILoadStoreParameter |
A marker interface for |
KeyStore.IProtectionParameter |
A marker interface for keystore protection parameters. |
Policy.IParameters |
Legacy security code; do not use. |
Enums
SignatureState |
Enumerates values returned by several types. |