📄 package-use.html
字号:
<BR> This is the general key management exception, for all operations dealing with key management.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/KeyPair.html#java.security"><B>KeyPair</B></A></B><BR> This class is a simple holder for a key pair (a public key and a private key).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/KeyPairGenerator.html#java.security"><B>KeyPairGenerator</B></A></B><BR> The KeyPairGenerator class is used to generate pairs of public and private keys.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/KeyPairGeneratorSpi.html#java.security"><B>KeyPairGeneratorSpi</B></A></B><BR> This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) for the <code>KeyPairGenerator</code> class, which is used to generate pairs of public and private keys.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/KeyStore.html#java.security"><B>KeyStore</B></A></B><BR> This class represents an in-memory collection of keys and certificates.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/KeyStoreException.html#java.security"><B>KeyStoreException</B></A></B><BR> This is the generic KeyStore exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/KeyStoreSpi.html#java.security"><B>KeyStoreSpi</B></A></B><BR> This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) for the <code>KeyStore</code> class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/MessageDigest.html#java.security"><B>MessageDigest</B></A></B><BR> This MessageDigest class provides applications the functionality of a message digest algorithm, such as MD5 or SHA.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/MessageDigestSpi.html#java.security"><B>MessageDigestSpi</B></A></B><BR> This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) for the <code>MessageDigest</code> class, which provides the functionality of a message digest algorithm, such as MD5 or SHA.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/NoSuchAlgorithmException.html#java.security"><B>NoSuchAlgorithmException</B></A></B><BR> This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/NoSuchProviderException.html#java.security"><B>NoSuchProviderException</B></A></B><BR> This exception is thrown when a particular security provider is requested but is not available in the environment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/Permission.html#java.security"><B>Permission</B></A></B><BR> Abstract class for representing access to a system resource.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/PermissionCollection.html#java.security"><B>PermissionCollection</B></A></B><BR> Abstract class representing a collection of Permission objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/Policy.html#java.security"><B>Policy</B></A></B><BR> This is an abstract class for representing the system security policy for a Java application environment (specifying which permissions are available for code from various sources).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/Principal.html#java.security"><B>Principal</B></A></B><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/PrivateKey.html#java.security"><B>PrivateKey</B></A></B><BR> A private key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/PrivilegedAction.html#java.security"><B>PrivilegedAction</B></A></B><BR> A computation to be performed with privileges enabled.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/PrivilegedActionException.html#java.security"><B>PrivilegedActionException</B></A></B><BR> This exception is thrown by <code>doPrivileged(PrivilegedExceptionAction)</code> and <code>doPrivileged(PrivilegedExceptionAction, AccessControlContext context)</code> to indicate that the action being performed threw a checked exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/PrivilegedExceptionAction.html#java.security"><B>PrivilegedExceptionAction</B></A></B><BR> A computation to be performed with privileges enabled, that throws one or more checked exceptions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/ProtectionDomain.html#java.security"><B>ProtectionDomain</B></A></B><BR> This ProtectionDomain class encapulates the characteristics of a domain, which encloses a set of classes whose instances are granted the same set of permissions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/Provider.html#java.security"><B>Provider</B></A></B><BR> This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security, including: Algorithms (such as DSA, RSA, MD5 or SHA-1).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/PublicKey.html#java.security"><B>PublicKey</B></A></B><BR> A public key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/SecureRandom.html#java.security"><B>SecureRandom</B></A></B><BR> This class provides a cryptographically strong pseudo-random number generator (PRNG).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/SecureRandomSpi.html#java.security"><B>SecureRandomSpi</B></A></B><BR> This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) for the <code>SecureRandom</code> class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/Signature.html#java.security"><B>Signature</B></A></B><BR> This Signature class is used to provide applications the functionality of a digital signature algorithm.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/SignatureException.html#java.security"><B>SignatureException</B></A></B><BR> This is the generic Signature exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/SignatureSpi.html#java.security"><B>SignatureSpi</B></A></B><BR> This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) for the <code>Signature</code> class, which is used to provide the functionality of a digital signature algorithm.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/UnrecoverableKeyException.html#java.security"><B>UnrecoverableKeyException</B></A></B><BR> This exception is thrown if a key in the keystore cannot be recovered.</TD></TR></FONT></TD></TR></TABLE> <P><A NAME="java.security.acl"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Classes in <A HREF="../../java/security/package-summary.html">java.security</A> used by <A HREF="../../java/security/acl/package-summary.html">java.security.acl</A><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/Principal.html#java.security.acl"><B>Principal</B></A></B><BR> 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.</TD></TR></FONT></TD></TR></TABLE> <P><A NAME="java.security.cert"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Classes in <A HREF="../../java/security/package-summary.html">java.security</A> used by <A HREF="../../java/security/cert/package-summary.html">java.security.cert</A><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/GeneralSecurityException.html#java.security.cert"><B>GeneralSecurityException</B></A></B><BR> This is the general security exception class, which serves to group all the exception classes of the <code>java.security</code> package that extend from it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/InvalidKeyException.html#java.security.cert"><B>InvalidKeyException</B></A></B><BR> This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><B><A HREF="../../java/security/class-use/NoSuchAlgorithmException.html#java.security.cert"><B>NoSuchAlgorithmException</B></A></B><BR> This exception is thrown when a particular cryptographic algorithm is
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -