org.bouncycastle.x509
public interface X509AttributeCertificate extends X509Extension
Method Summary | |
---|---|
void | checkValidity() |
void | checkValidity(Date date) |
X509Attribute[] | getAttributes()
Return the attributes contained in the attribute block in the certificate.
|
X509Attribute[] | getAttributes(String oid)
Return the attributes with the same type as the passed in oid.
|
byte[] | getEncoded()
Return an ASN.1 encoded byte array representing the attribute certificate.
|
AttributeCertificateHolder | getHolder()
Return the holder of the certificate.
|
AttributeCertificateIssuer | getIssuer()
Return the issuer details for the certificate.
|
boolean[] | getIssuerUniqueID() |
Date | getNotAfter()
Return the date after which the certificate is not valid.
|
Date | getNotBefore()
Return the date before which the certificate is not valid.
|
BigInteger | getSerialNumber()
Return the serial number for the certificate.
|
byte[] | getSignature() |
int | getVersion()
Return the version number for the certificate.
|
void | verify(PublicKey key, String provider) |
Returns: an array of attributes.
Parameters: oid the object identifier we wish to match.
Returns: an array of matched attributes, null if there is no match.
Returns: an ASN.1 encoded byte array.
Throws: IOException if the certificate cannot be encoded.
Returns: the holder.
Returns: the issuer details.
Returns: the "not valid afer" date.
Returns: the "not valid before" date.
Returns: the serial number.
Returns: the version number.