FileDocCategorySizeDatePackage
X509AttributeCertificate.javaAPI DocAndroid 1.5 API3017Wed May 06 22:41:06 BST 2009org.bouncycastle.x509

X509AttributeCertificate

public interface X509AttributeCertificate implements X509Extension
Interface for an X.509 Attribute Certificate.

Fields Summary
Constructors Summary
Methods Summary
public voidcheckValidity()

public voidcheckValidity(java.util.Date date)

public X509Attribute[]getAttributes()
Return the attributes contained in the attribute block in the certificate.

return
an array of attributes.

public X509Attribute[]getAttributes(java.lang.String oid)
Return the attributes with the same type as the passed in oid.

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

public java.util.SetgetCriticalExtensionOIDs()

public byte[]getEncoded()
Return an ASN.1 encoded byte array representing the attribute certificate.

return
an ASN.1 encoded byte array.
throws
IOException if the certificate cannot be encoded.

public AttributeCertificateHoldergetHolder()
Return the holder of the certificate.

return
the holder.

public AttributeCertificateIssuergetIssuer()
Return the issuer details for the certificate.

return
the issuer details.

public boolean[]getIssuerUniqueID()

public java.util.SetgetNonCriticalExtensionOIDs()

public java.util.DategetNotAfter()
Return the date after which the certificate is not valid.

return
the "not valid afer" date.

public java.util.DategetNotBefore()
Return the date before which the certificate is not valid.

return
the "not valid before" date.

public java.math.BigIntegergetSerialNumber()
Return the serial number for the certificate.

return
the serial number.

public byte[]getSignature()

public intgetVersion()
Return the version number for the certificate.

return
the version number.

public voidverify(java.security.PublicKey key, java.lang.String provider)