public class CryptoKey extends java.lang.Object implements Identifiable
Constructor and Description |
---|
CryptoKey() |
Modifier and Type | Method and Description |
---|---|
CryptoKeyType |
getCryptoKeyType() |
java.lang.String |
getDescription()
Getter for description
|
java.lang.Long |
getId()
Getter for id
|
byte[] |
getKey() |
java.lang.String |
getKeyString()
Get a string version of this key.
|
Org |
getOrg() |
boolean |
isGPG() |
boolean |
isSSL() |
void |
setCryptoKeyType(CryptoKeyType cryptoKeyTypeIn) |
void |
setDescription(java.lang.String descriptionIn)
Setter for description
|
void |
setId(java.lang.Long idIn)
Setter for id
|
void |
setKey(byte[] keyIn) |
void |
setOrg(Org orgIn) |
public java.lang.Long getId()
getId
in interface Identifiable
public void setId(java.lang.Long idIn)
idIn
- to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String descriptionIn)
descriptionIn
- to setpublic CryptoKeyType getCryptoKeyType()
public void setCryptoKeyType(CryptoKeyType cryptoKeyTypeIn)
cryptoKeyTypeIn
- The cryptoKeyType to set.public boolean isSSL()
public boolean isGPG()
public Org getOrg()
public void setOrg(Org orgIn)
orgIn
- The org to set.public byte[] getKey()
public void setKey(byte[] keyIn)
keyIn
- The key to set.public java.lang.String getKeyString()