COM.claymoresystems.sslg
Interface Certificate

All Known Implementing Classes:
X509Cert

public interface Certificate

An interface specifying minimal certificate access functions


Method Summary
 byte[] getDER()
          get the DER of the cert itself
 java.util.Vector getExtensions()
          Get the vector of extensions (if any)
 byte[] getIssuerDER()
          get the DER encoded issuer name
 DistinguishedName getIssuerName()
          Get the Isuser name as a DistinguishedName
 java.math.BigInteger getSerial()
          get the serialNumber
 byte[] getSubjectDER()
          get the DER encoded subject name
 DistinguishedName getSubjectName()
          Get the Subject name as a DistinguishedName
 java.util.Date getValidityNotAfter()
          get the not-valid-after date of the certificate (the end of the validity period)
 java.util.Date getValidityNotBefore()
          get the not-valid-before date of the certificate (the beginning of the validity period)
 

Method Detail

getDER

byte[] getDER()
get the DER of the cert itself

Returns:
the encoding as a bytestring

getIssuerDER

byte[] getIssuerDER()
get the DER encoded issuer name

Returns:
the encoding as a bytestring

getSerial

java.math.BigInteger getSerial()
get the serialNumber

Returns:
the serial as a BigInteger

getSubjectDER

byte[] getSubjectDER()
get the DER encoded subject name

Returns:
the encoding as a bytestring

getSubjectName

DistinguishedName getSubjectName()
Get the Subject name as a DistinguishedName

Returns:
the subject name as a DistinguishedName

getIssuerName

DistinguishedName getIssuerName()
Get the Isuser name as a DistinguishedName

Returns:
the issuer name as a DistinguishedName

getValidityNotBefore

java.util.Date getValidityNotBefore()
get the not-valid-before date of the certificate (the beginning of the validity period)

Returns:
the notBefore Date

getValidityNotAfter

java.util.Date getValidityNotAfter()
get the not-valid-after date of the certificate (the end of the validity period)

Returns:
the notAfter Date

getExtensions

java.util.Vector getExtensions()
Get the vector of extensions (if any)

Returns:
the extensions


Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.