|
JSS 3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.mozilla.jss.SecretDecoderRing.Decryptor
Decrypts data with the SecretDecoderRing.
| Constructor Summary | |
Decryptor(CryptoToken token)
Creates a Decryptor for use with the given CryptoToken. |
|
| Method Summary | |
byte[] |
decrypt(byte[] ciphertext)
Decrypts the given ciphertext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Decryptor(CryptoToken token)
| Method Detail |
public byte[] decrypt(byte[] ciphertext)
throws CryptoManager.NotInitializedException,
java.security.GeneralSecurityException,
TokenException
ciphertext - A DER-encoded Encoding object, created from a previous
call to Encryptor.encrypt(), or with the NSS SecretDecoderRing.
java.security.InvalidKeyException - If no key can be found with the matching
keyID.
CryptoManager.NotInitializedException
java.security.GeneralSecurityException
TokenException
|
JSS 3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||