|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.lib.EncryptedData
public class EncryptedData
Class Description : EncryptedData class. A modified version of the code obtained from the Open Group Research Institute.
Constructor Summary | |
---|---|
EncryptedData(EncryptionKey key,
java.io.Serializable plainObject)
Class constructor |
|
EncryptedData(int new_eType,
java.lang.Integer new_kvno,
javax.crypto.SealedObject new_cipher)
Class constructor |
|
EncryptedData(java.lang.String password,
java.io.Serializable plainObject)
Class constructor |
Method Summary | |
---|---|
java.lang.Object |
decrypt(EncryptionKey key)
Decrypt sealed object |
java.lang.Object |
decrypt(java.lang.String password)
Decrypt the sealed object |
java.lang.Object |
decryptedData()
Return the decrypted object |
int |
getEtype()
Return the encrypt type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptedData(int new_eType, java.lang.Integer new_kvno, javax.crypto.SealedObject new_cipher)
new_eType
- intnew_kvno
- Integernew_cipher
- SealedObjectpublic EncryptedData(EncryptionKey key, java.io.Serializable plainObject) throws KrbException
key
- EncryptionKeyplainObject
- Serializable
KrbException
public EncryptedData(java.lang.String password, java.io.Serializable plainObject) throws KrbException
password
- StringplainObject
- Serializable
KrbException
Method Detail |
---|
public java.lang.Object decrypt(EncryptionKey key) throws KrbException
key
- EncryptionKey
KrbException
public java.lang.Object decrypt(java.lang.String password) throws KrbException
password
- String
KrbException
public java.lang.Object decryptedData()
public int getEtype()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |