|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.bouncycastle.x509.X509V2AttributeCertificate
An implementation of a version 2 X.509 Attribute Certificate.
| Constructor Summary | |
X509V2AttributeCertificate(byte[] encoded)
Deprecated. |
|
X509V2AttributeCertificate(java.io.InputStream encIn)
Deprecated. |
|
| Method Summary | |
void |
checkValidity()
Deprecated. |
void |
checkValidity(java.util.Date date)
Deprecated. |
boolean |
equals(java.lang.Object o)
Deprecated. |
X509Attribute[] |
getAttributes()
Deprecated. Return the attributes contained in the attribute block in the certificate. |
X509Attribute[] |
getAttributes(java.lang.String oid)
Deprecated. Return the attributes with the same type as the passed in oid. |
java.util.Set |
getCriticalExtensionOIDs()
Deprecated. |
byte[] |
getEncoded()
Deprecated. Return an ASN.1 encoded byte array representing the attribute certificate. |
byte[] |
getExtensionValue(java.lang.String oid)
Deprecated. |
AttributeCertificateHolder |
getHolder()
Deprecated. Return the holder of the certificate. |
AttributeCertificateIssuer |
getIssuer()
Deprecated. Return the issuer details for the certificate. |
boolean[] |
getIssuerUniqueID()
Deprecated. |
java.util.Set |
getNonCriticalExtensionOIDs()
Deprecated. |
java.util.Date |
getNotAfter()
Deprecated. Return the date after which the certificate is not valid. |
java.util.Date |
getNotBefore()
Deprecated. Return the date before which the certificate is not valid. |
java.math.BigInteger |
getSerialNumber()
Deprecated. Return the serial number for the certificate. |
byte[] |
getSignature()
Deprecated. |
int |
getVersion()
Deprecated. Return the version number for the certificate. |
int |
hashCode()
Deprecated. |
boolean |
hasUnsupportedCriticalExtension()
Deprecated. |
void |
verify(java.security.PublicKey key,
java.lang.String provider)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, 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()
X509AttributeCertificategetVersion in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatepublic java.math.BigInteger getSerialNumber()
X509AttributeCertificategetSerialNumber in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatepublic AttributeCertificateHolder getHolder()
X509AttributeCertificategetHolder in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatepublic AttributeCertificateIssuer getIssuer()
X509AttributeCertificategetIssuer in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatepublic java.util.Date getNotBefore()
X509AttributeCertificategetNotBefore in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatepublic java.util.Date getNotAfter()
X509AttributeCertificategetNotAfter in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatepublic boolean[] getIssuerUniqueID()
getIssuerUniqueID in interface X509AttributeCertificate
public void checkValidity()
throws java.security.cert.CertificateExpiredException,
java.security.cert.CertificateNotYetValidException
checkValidity in interface X509AttributeCertificate
public void checkValidity(java.util.Date date)
throws java.security.cert.CertificateExpiredException,
java.security.cert.CertificateNotYetValidException
checkValidity in interface X509AttributeCertificatepublic byte[] getSignature()
getSignature in interface X509AttributeCertificate
public final void verify(java.security.PublicKey key,
java.lang.String provider)
throws java.security.cert.CertificateException,
java.security.NoSuchAlgorithmException,
java.security.InvalidKeyException,
java.security.NoSuchProviderException,
java.security.SignatureException
verify in interface X509AttributeCertificate
public byte[] getEncoded()
throws java.io.IOException
X509AttributeCertificategetEncoded in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatejava.io.IOException - if the certificate cannot be encoded.public byte[] getExtensionValue(java.lang.String oid)
getExtensionValue in interface java.security.cert.X509Extensionpublic java.util.Set getNonCriticalExtensionOIDs()
getNonCriticalExtensionOIDs in interface java.security.cert.X509Extensionpublic java.util.Set getCriticalExtensionOIDs()
getCriticalExtensionOIDs in interface java.security.cert.X509Extensionpublic boolean hasUnsupportedCriticalExtension()
hasUnsupportedCriticalExtension in interface java.security.cert.X509Extensionpublic X509Attribute[] getAttributes()
X509AttributeCertificategetAttributes in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificatepublic X509Attribute[] getAttributes(java.lang.String oid)
X509AttributeCertificategetAttributes in interface X509AttributeCertificateorg.bouncycastle.x509.X509AttributeCertificateoid - the object identifier we wish to match.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||