Uses of Class
java.security.KeyException
| Package | Description |
|---|---|
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
-
Uses of KeyException in java.security
Subclasses of KeyException in java.security Modifier and Type Class Description classInvalidKeyExceptionInvalidKeyExceptionindicates exceptional conditions, caused by an invalid key.classKeyManagementExceptionKeyManagementExceptionis a general exception, thrown to indicate an exception during processing an operation concerning key management.Methods in java.security that throw KeyException Modifier and Type Method Description voidCertificate. decode(InputStream stream)Deprecated.Decodes a certificate from the givenInputStream.voidCertificate. encode(OutputStream stream)Deprecated.Encodes this certificate to an output stream.voidSigner. setKeyPair(KeyPair pair)Deprecated.Associates the specified key pair with thisSigner.