Package com.netscape.certsrv.key
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
-
Field Summary
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
byte[]
getData()
byte[]
byte[]
getSize()
getType()
int
hashCode()
void
setAlgorithm
(String algorithm) void
setData
(byte[] data) void
setEncryptAlgorithmOID
(String encryptAlgorithmOID) void
setEncryptedData
(byte[] encryptedData) void
setNonceData
(byte[] nonceData) void
setP12Data
(String p12Data) void
setPublicKey
(String publicKey) void
setRequestId
(RequestId requestId) void
void
void
setWrapAlgorithm
(String wrapAlgorithm) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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
public int hashCode() -
equals
-