public class PKIDataObject
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
PKIDataObject(int id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertType() |
int |
getId() |
byte[] |
getPubKey() |
java.lang.String |
getPubKeyAlgorithm() |
short |
getPubKeyStatus() |
short |
getPubKeyTrust() |
long |
getStoreDT() |
java.security.cert.X509Certificate |
getX509Cert() |
int |
hashCode() |
void |
setCertType(java.lang.String certType) |
void |
setId(int id) |
void |
setPubKey(byte[] pubKey) |
void |
setPubKeyAlgorithm(java.lang.String algorithm) |
void |
setPubKeyAndType(byte[] pubKey,
java.lang.String algorithm) |
void |
setPubKeyStatus(short pubKeyStatus) |
void |
setPubKeyTrust(short pubKeyTrust) |
void |
setStoreDT(long storeDT) |
void |
setX509Cert(java.security.cert.X509Certificate x509Cert) |
java.lang.String |
toString()
Returns a printable or JSON usable representation of the data set.
|
public static final long serialVersionUID
public java.lang.String getCertType()
public void setCertType(java.lang.String certType)
certType
- "standard", "X509CA" or "PGP"public java.lang.String getPubKeyAlgorithm()
public void setPubKeyAlgorithm(java.lang.String algorithm)
pubKeyType
- the type of algorithm to setpublic byte[] getPubKey()
public void setPubKey(byte[] pubKey)
pubKey
- the pubKey to setpublic void setPubKeyAndType(byte[] pubKey, java.lang.String algorithm)
pubKey
- the PublicKey as Byte Sequencealgorithm
- should be RSApublic long getStoreDT()
public void setStoreDT(long storeDT)
storeDT
- the storeDT to setpublic java.security.cert.X509Certificate getX509Cert()
public void setX509Cert(java.security.cert.X509Certificate x509Cert)
x509Cert
- the x509Cert to setpublic short getPubKeyStatus()
public void setPubKeyStatus(short pubKeyStatus)
pubKeyStatus
- the pubKeyStatus to setpublic short getPubKeyTrust()
public void setPubKeyTrust(short pubKeyTrust)
pubKeyTrust
- the pubKeyTrust to setpublic int getId()
public void setId(int id)
id
- the reference id to setpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object