COM.claymoresystems.sslg

Interface Certificate

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
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
BigInteger
getSerial()
get the serialNumber
byte[]
getSubjectDER()
get the DER encoded subject name
DistinguishedName
getSubjectName()
Get the Subject name as a DistinguishedName
Date
getValidityNotAfter()
get the not-valid-after date of the certificate (the end of the validity period)
Date
getValidityNotBefore()
get the not-valid-before date of the certificate (the beginning of the validity period)

Method Details

getDER

public byte[] getDER()
get the DER of the cert itself
Returns:
the encoding as a bytestring

getExtensions

public Vector getExtensions()
Get the vector of extensions (if any)
Returns:
the extensions

getIssuerDER

public byte[] getIssuerDER()
get the DER encoded issuer name
Returns:
the encoding as a bytestring

getIssuerName

public DistinguishedName getIssuerName()
Get the Isuser name as a DistinguishedName
Returns:
the issuer name as a DistinguishedName

getSerial

public BigInteger getSerial()
get the serialNumber
Returns:
the serial as a BigInteger

getSubjectDER

public byte[] getSubjectDER()
get the DER encoded subject name
Returns:
the encoding as a bytestring

getSubjectName

public DistinguishedName getSubjectName()
Get the Subject name as a DistinguishedName
Returns:
the subject name as a DistinguishedName

getValidityNotAfter

public Date getValidityNotAfter()
get the not-valid-after date of the certificate (the end of the validity period)
Returns:
the notAfter Date

getValidityNotBefore

public Date getValidityNotBefore()
get the not-valid-before date of the certificate (the beginning of the validity period)
Returns:
the notBefore Date

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