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
CERTIFICATE_TAG
static java.lang.String
EXPIRATION_DATE_TAG
static java.lang.String
ISSUER_DN_TAG
static java.lang.String
REVOCATION_DATE_TAG
static java.lang.String
SERIAL_NUMBER
static java.lang.String
STATUS_TAG
static java.lang.String
SUBJECT_DN
-
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
getExpirationDate()
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
setExpirationDate(java.lang.String expirationDate)
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
-
SUBJECT_DN
public static final java.lang.String SUBJECT_DN
- See Also:
- Constant Field Values
-
SERIAL_NUMBER
public static final java.lang.String SERIAL_NUMBER
- See Also:
- Constant Field Values
-
CERTIFICATE_TAG
public static final java.lang.String CERTIFICATE_TAG
- See Also:
- Constant Field Values
-
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
-
EXPIRATION_DATE_TAG
public static final java.lang.String EXPIRATION_DATE_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)
-
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
-
getExpirationDate
public java.lang.String getExpirationDate()
-
setExpirationDate
public void setExpirationDate(java.lang.String expirationDate)
-
getRevocationDate
public java.lang.String getRevocationDate()
getter for revocationDate- Returns:
- revocationDate value
-
setRevocationDate
public void setRevocationDate(java.lang.String revocationDate)
set revocationDate
-
-