Class Key
java.lang.Object
com.netscape.certsrv.key.Key
- All Implemented Interfaces:
JSONSerializer
Represents a Key stored in the DRM.
Return type for all the key retrieval requests of
the KeyClient.
- Author:
- akoneru
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbyte[]getData()byte[]byte[]getSize()getType()inthashCode()voidsetAlgorithm(String algorithm) voidsetData(byte[] data) voidsetEncryptAlgorithmOID(String encryptAlgorithmOID) voidsetEncryptedData(byte[] encryptedData) voidsetNonceData(byte[] nonceData) voidsetP12Data(String p12Data) voidsetPublicKey(String publicKey) voidsetRequestId(RequestId requestId) voidvoidvoidsetWrapAlgorithm(String wrapAlgorithm) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netscape.certsrv.util.JSONSerializer
toJSON
-
Constructor Details
-
Key
public Key() -
Key
-
-
Method Details
-
getEncryptedData
public byte[] getEncryptedData() -
setEncryptedData
public void setEncryptedData(byte[] encryptedData) -
getNonceData
public byte[] getNonceData() -
setNonceData
public void setNonceData(byte[] nonceData) -
getP12Data
-
setP12Data
-
getAlgorithm
-
setAlgorithm
-
getSize
-
setSize
-
getData
public byte[] getData() -
setData
public void setData(byte[] data) -
getRequestId
-
setRequestId
-
getWrapAlgorithm
-
setWrapAlgorithm
-
getEncryptAlgorithmOID
-
setEncryptAlgorithmOID
-
getType
-
setType
-
getPublicKey
-
setPublicKey
-
clearSensitiveData
public void clearSensitiveData() -
hashCode
-
equals
-