com.webmethods.sc.directory.cert
Interface ICertificate

All Superinterfaces:
IDirectoryObject

public interface ICertificate
extends IDirectoryObject

Represents stored x509 Certificate


Field Summary
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
 
Method Summary
 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 getSubjectCommonName()
          Subject common name
 String getSubjectDN()
          Subject full DN string
 String getType()
          Assigned certificate type
 X509Certificate getX509Certificate()
          Returns X509Certificate object
 
Methods inherited from interface com.webmethods.sc.directory.IDirectoryObject
getDirectorySession
 

Field Detail

CERTIFICATE_TYPE_SSL

static final String CERTIFICATE_TYPE_SSL
SSL Certificate type (default)

See Also:
Constant Field Values

CERTIFICATE_TYPE_VERIFY

static final String CERTIFICATE_TYPE_VERIFY
Verify only certificate type

See Also:
Constant Field Values

CERTIFICATE_TYPE_ENCRYPT

static final String CERTIFICATE_TYPE_ENCRYPT
Encrypt only certificate type

See Also:
Constant Field Values

CERTIFICATE_TYPE_VERIFY_ENCRYPT

static final String CERTIFICATE_TYPE_VERIFY_ENCRYPT
Verify and Encrypt certificate type

See Also:
Constant Field Values

CERTIFICATE_TYPE_MESSAGE_AUTH

static final String CERTIFICATE_TYPE_MESSAGE_AUTH
Message audhtentication certificate type

See Also:
Constant Field Values
Method Detail

getID

String getID()
             throws DirectoryException
Returns unique ID for this certificate object

Specified by:
getID in interface IDirectoryObject
Throws:
DirectoryException

getType

String getType()
               throws DirectoryException
Assigned certificate type

Throws:
DirectoryException

getSerialNumber

String getSerialNumber()
                       throws DirectoryException
Certificate serial number

Throws:
DirectoryException

getIssuerDN

String getIssuerDN()
                   throws DirectoryException
Issuer DN String

Throws:
DirectoryException

getIssuerCommonName

String getIssuerCommonName()
                           throws DirectoryException
Issuer common name

Throws:
DirectoryException

getSubjectDN

String getSubjectDN()
                    throws DirectoryException
Subject full DN string

Throws:
DirectoryException

getSubjectCommonName

String getSubjectCommonName()
                            throws DirectoryException
Subject common name

Throws:
DirectoryException

getNotBefore

Date getNotBefore()
                  throws DirectoryException
Certificate not Before date

Throws:
DirectoryException

getNotAfter

Date getNotAfter()
                 throws DirectoryException
Certificate not After date

Throws:
DirectoryException

getX509Certificate

X509Certificate getX509Certificate()
                                   throws DirectoryException
Returns X509Certificate object

Throws:
DirectoryException