public interface ICertificate extends IDirectoryObject
Modifier and Type | Field and Description |
---|---|
static String |
CERTIFICATE_TYPE_ENCRYPT
Encrypt only certificate type
|
static String |
CERTIFICATE_TYPE_MESSAGE_AUTH
Message audhtentication certificate type
|
static String |
CERTIFICATE_TYPE_SSL
SSL Certificate type (default)
|
static String |
CERTIFICATE_TYPE_VERIFY
Verify only certificate type
|
static String |
CERTIFICATE_TYPE_VERIFY_ENCRYPT
Verify and Encrypt certificate type
|
static String |
FIELD_CERTIFICATE_TYPE |
static String |
FIELD_ENCODED |
static String |
FIELD_ISSUER_DN |
static String |
FIELD_NOT_AFTER |
static String |
FIELD_NOT_BEFORE |
static String |
FIELD_SERIAL_NUMBER |
static String |
FIELD_SUBJECT_DN |
Modifier and Type | Method and Description |
---|---|
String |
getID()
Returns unique ID for this certificate object
|
String |
getIssuerCommonName()
Issuer common name
|
String |
getIssuerDN()
Issuer DN String
|
Date |
getNotAfter()
Certificate not After date
|
Date |
getNotBefore()
Certificate not Before date
|
String |
getSerialNumber()
Certificate serial number
|
String |
getSigAlgName()
Certificate alg name
|
String |
getSubjectCommonName()
Subject common name
|
String |
getSubjectDN()
Subject full DN string
|
String |
getType()
Assigned certificate type
|
String |
getUser()
Certificate user
|
String |
getVersion()
Certificate version
|
X509Certificate |
getX509Certificate()
Returns X509Certificate object
|
getDirectorySession
static final String FIELD_CERTIFICATE_TYPE
static final String FIELD_SERIAL_NUMBER
static final String FIELD_ISSUER_DN
static final String FIELD_SUBJECT_DN
static final String FIELD_NOT_BEFORE
static final String FIELD_NOT_AFTER
static final String FIELD_ENCODED
static final String CERTIFICATE_TYPE_SSL
static final String CERTIFICATE_TYPE_VERIFY
static final String CERTIFICATE_TYPE_ENCRYPT
static final String CERTIFICATE_TYPE_VERIFY_ENCRYPT
static final String CERTIFICATE_TYPE_MESSAGE_AUTH
String getID() throws DirectoryException
getID
in interface IDirectoryObject
DirectoryException
String getType() throws DirectoryException
DirectoryException
String getSerialNumber() throws DirectoryException
DirectoryException
String getIssuerDN() throws DirectoryException
DirectoryException
String getIssuerCommonName() throws DirectoryException
DirectoryException
String getSubjectDN() throws DirectoryException
DirectoryException
String getSubjectCommonName() throws DirectoryException
DirectoryException
Date getNotBefore() throws DirectoryException
DirectoryException
Date getNotAfter() throws DirectoryException
DirectoryException
X509Certificate getX509Certificate() throws DirectoryException
DirectoryException
String getVersion() throws DirectoryException
DirectoryException
String getSigAlgName() throws DirectoryException
DirectoryException
String getUser() throws DirectoryException
DirectoryException