public interface

X509AttributeCertificate

implements X509Extension
org.bouncycastle.x509.X509AttributeCertificate
Known Indirect Subclasses

Class Overview

Interface for an X.509 Attribute Certificate.

Summary

Public Methods
abstract void checkValidity()
abstract void checkValidity(Date date)
abstract X509Attribute[] getAttributes(String oid)
Return the attributes with the same type as the passed in oid.
abstract X509Attribute[] getAttributes()
Return the attributes contained in the attribute block in the certificate.
abstract byte[] getEncoded()
Return an ASN.1 encoded byte array representing the attribute certificate.
abstract AttributeCertificateHolder getHolder()
Return the holder of the certificate.
abstract AttributeCertificateIssuer getIssuer()
Return the issuer details for the certificate.
abstract boolean[] getIssuerUniqueID()
abstract Date getNotAfter()
Return the date after which the certificate is not valid.
abstract Date getNotBefore()
Return the date before which the certificate is not valid.
abstract BigInteger getSerialNumber()
Return the serial number for the certificate.
abstract byte[] getSignature()
abstract int getVersion()
Return the version number for the certificate.
abstract void verify(PublicKey key, String provider)
[Expand]
Inherited Methods
From interface java.security.cert.X509Extension

Public Methods

public abstract void checkValidity ()

public abstract void checkValidity (Date date)

public abstract X509Attribute[] getAttributes (String oid)

Return the attributes with the same type as the passed in oid.

Parameters
oid the object identifier we wish to match.
Returns
  • an array of matched attributes, null if there is no match.

public abstract X509Attribute[] getAttributes ()

Return the attributes contained in the attribute block in the certificate.

Returns
  • an array of attributes.

public abstract byte[] getEncoded ()

Return an ASN.1 encoded byte array representing the attribute certificate.

Returns
  • an ASN.1 encoded byte array.
Throws
IOException if the certificate cannot be encoded.

public abstract AttributeCertificateHolder getHolder ()

Return the holder of the certificate.

Returns
  • the holder.

public abstract AttributeCertificateIssuer getIssuer ()

Return the issuer details for the certificate.

Returns
  • the issuer details.

public abstract boolean[] getIssuerUniqueID ()

public abstract Date getNotAfter ()

Return the date after which the certificate is not valid.

Returns
  • the "not valid afer" date.

public abstract Date getNotBefore ()

Return the date before which the certificate is not valid.

Returns
  • the "not valid before" date.

public abstract BigInteger getSerialNumber ()

Return the serial number for the certificate.

Returns
  • the serial number.

public abstract byte[] getSignature ()

public abstract int getVersion ()

Return the version number for the certificate.

Returns
  • the version number.