Class CertificateBaseModel
- java.lang.Object
-
- fr.gouv.vitam.security.internal.common.model.CertificateBaseModel
-
- Direct Known Subclasses:
IdentityModel
,PersonalCertificateModel
public class CertificateBaseModel extends java.lang.Object
base model for identity
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ISSUER_DN_TAG
static java.lang.String
REVOCATION_DATE_TAG
static java.lang.String
STATUS_TAG
-
Constructor Summary
Constructors Constructor Description CertificateBaseModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCertificate()
CertificateStatus
getCertificateStatus()
getter for certificateStatusjava.lang.String
getContextId()
java.lang.String
getId()
java.lang.String
getIssuerDN()
java.lang.String
getRevocationDate()
getter for revocationDatejava.lang.String
getSerialNumber()
java.lang.String
getSubjectDN()
void
setCertificate(byte[] certificate)
void
setCertificateStatus(CertificateStatus certificateStatus)
set certificateStatusvoid
setContextId(java.lang.String contextId)
void
setId(java.lang.String id)
void
setIssuerDN(java.lang.String issuerDN)
void
setRevocationDate(java.lang.String revocationDate)
set revocationDatevoid
setSerialNumber(java.lang.String serialNumber)
void
setSubjectDN(java.lang.String subjectDN)
-
-
-
Field Detail
-
ISSUER_DN_TAG
public static final java.lang.String ISSUER_DN_TAG
- See Also:
- Constant Field Values
-
STATUS_TAG
public static final java.lang.String STATUS_TAG
- See Also:
- Constant Field Values
-
REVOCATION_DATE_TAG
public static final java.lang.String REVOCATION_DATE_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getSubjectDN
public java.lang.String getSubjectDN()
-
setSubjectDN
public void setSubjectDN(java.lang.String subjectDN)
-
getContextId
public java.lang.String getContextId()
-
setContextId
public void setContextId(java.lang.String contextId)
-
getSerialNumber
public java.lang.String getSerialNumber()
-
setSerialNumber
public void setSerialNumber(java.lang.String serialNumber)
-
getIssuerDN
public java.lang.String getIssuerDN()
-
setIssuerDN
public void setIssuerDN(java.lang.String issuerDN)
-
getCertificate
public byte[] getCertificate()
-
setCertificate
public void setCertificate(byte[] certificate)
-
getCertificateStatus
public CertificateStatus getCertificateStatus()
getter for certificateStatus- Returns:
- certificateStatus value
-
setCertificateStatus
public void setCertificateStatus(CertificateStatus certificateStatus)
set certificateStatus
-
getRevocationDate
public java.lang.String getRevocationDate()
getter for revocationDate- Returns:
- revocationDate value
-
setRevocationDate
public void setRevocationDate(java.lang.String revocationDate)
set revocationDate
-
-