|
Bouncy Castle Cryptography 1.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.x509.X509V2AttributeCertificate
| Constructor Summary | |
X509V2AttributeCertificate(byte[] encoded)
|
|
X509V2AttributeCertificate(java.io.InputStream encIn)
|
|
| 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. |
byte[] |
getExtensionValue(java.lang.String oid)
|
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. |
boolean |
hasUnsupportedCriticalExtension()
|
void |
verify(java.security.PublicKey key,
java.lang.String provider)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public X509V2AttributeCertificate(java.io.InputStream encIn)
throws java.io.IOException
public X509V2AttributeCertificate(byte[] encoded)
throws java.io.IOException
| Method Detail |
public int getVersion()
X509AttributeCertificate
getVersion in interface X509AttributeCertificatepublic java.math.BigInteger getSerialNumber()
X509AttributeCertificate
getSerialNumber in interface X509AttributeCertificatepublic AttributeCertificateHolder getHolder()
X509AttributeCertificate
getHolder in interface X509AttributeCertificatepublic AttributeCertificateIssuer getIssuer()
X509AttributeCertificate
getIssuer in interface X509AttributeCertificatepublic java.util.Date getNotBefore()
X509AttributeCertificate
getNotBefore in interface X509AttributeCertificatepublic java.util.Date getNotAfter()
X509AttributeCertificate
getNotAfter in interface X509AttributeCertificatepublic boolean[] getIssuerUniqueID()
getIssuerUniqueID in interface X509AttributeCertificate
public void checkValidity()
throws CertificateExpiredException,
CertificateNotYetValidException
checkValidity in interface X509AttributeCertificateCertificateExpiredException
CertificateNotYetValidException
public void checkValidity(java.util.Date date)
throws CertificateExpiredException,
CertificateNotYetValidException
checkValidity in interface X509AttributeCertificateCertificateExpiredException
CertificateNotYetValidExceptionpublic byte[] getSignature()
getSignature in interface X509AttributeCertificate
public final void verify(java.security.PublicKey key,
java.lang.String provider)
throws CertificateException,
java.security.NoSuchAlgorithmException,
java.security.InvalidKeyException,
java.security.NoSuchProviderException,
java.security.SignatureException
verify in interface X509AttributeCertificateCertificateException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
public byte[] getEncoded()
throws java.io.IOException
X509AttributeCertificate
getEncoded in interface X509AttributeCertificatejava.io.IOException - if the certificate cannot be encoded.public byte[] getExtensionValue(java.lang.String oid)
getExtensionValue in interface X509Extensionpublic Set getNonCriticalExtensionOIDs()
getNonCriticalExtensionOIDs in interface X509AttributeCertificatepublic Set getCriticalExtensionOIDs()
getCriticalExtensionOIDs in interface X509AttributeCertificatepublic boolean hasUnsupportedCriticalExtension()
hasUnsupportedCriticalExtension in interface X509Extensionpublic X509Attribute[] getAttributes()
X509AttributeCertificate
getAttributes in interface X509AttributeCertificatepublic X509Attribute[] getAttributes(java.lang.String oid)
X509AttributeCertificate
getAttributes in interface X509AttributeCertificateoid - the object identifier we wish to match.
|
Bouncy Castle Cryptography 1.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||