|
Bouncy Castle Cryptography 1.27 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for an X.509 Attribute Certificate.
Method Summary | |
void |
checkValidity()
|
void |
checkValidity(java.util.Date date)
|
X509Attribute[] |
getAttributes()
Return the attributes contained in the attribute block in the certificate. |
X509Attribute[] |
getAttributes(java.lang.String oid)
Return the attributes with the same type as the passed in oid. |
Set |
getCriticalExtensionOIDs()
|
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()
|
Set |
getNonCriticalExtensionOIDs()
|
java.util.Date |
getNotAfter()
Return the date after which the certificate is not valid. |
java.util.Date |
getNotBefore()
Return the date before which the certificate is not valid. |
java.math.BigInteger |
getSerialNumber()
Return the serial number for the certificate. |
byte[] |
getSignature()
|
int |
getVersion()
Return the version number for the certificate. |
void |
verify(java.security.PublicKey key,
java.lang.String provider)
|
Methods inherited from interface java.security.cert.X509Extension |
getExtensionValue, hasUnsupportedCriticalExtension |
Method Detail |
public int getVersion()
public java.math.BigInteger getSerialNumber()
public java.util.Date getNotBefore()
public java.util.Date getNotAfter()
public AttributeCertificateHolder getHolder()
public AttributeCertificateIssuer getIssuer()
public X509Attribute[] getAttributes()
public X509Attribute[] getAttributes(java.lang.String oid)
oid
- the object identifier we wish to match.
public boolean[] getIssuerUniqueID()
public Set getNonCriticalExtensionOIDs()
getNonCriticalExtensionOIDs
in interface X509Extension
public Set getCriticalExtensionOIDs()
getCriticalExtensionOIDs
in interface X509Extension
public void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException
CertificateExpiredException
CertificateNotYetValidException
public void checkValidity(java.util.Date date) throws CertificateExpiredException, CertificateNotYetValidException
CertificateExpiredException
CertificateNotYetValidException
public byte[] getSignature()
public void verify(java.security.PublicKey key, java.lang.String provider) throws CertificateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
CertificateException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
public byte[] getEncoded() throws java.io.IOException
java.io.IOException
- if the certificate cannot be encoded.
|
Bouncy Castle Cryptography 1.27 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |