COM.claymoresystems.sslg

Interface Certificate

public interface Certificate

An interface specifying minimal certificate access functions
Method Summary
byte[]getDER()
get the DER of the cert itself
VectorgetExtensions()
Get the vector of extensions (if any)
byte[]getIssuerDER()
get the DER encoded issuer name
DistinguishedNamegetIssuerName()
Get the Isuser name as a DistinguishedName
BigIntegergetSerial()
get the serialNumber
byte[]getSubjectDER()
get the DER encoded subject name
DistinguishedNamegetSubjectName()
Get the Subject name as a DistinguishedName
DategetValidityNotAfter()
get the not-valid-after date of the certificate (the end of the validity period)
DategetValidityNotBefore()
get the not-valid-before date of the certificate (the beginning of the validity period)

Method Detail

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.