Deprecated
use org.bouncycastle.cert.X509AttributeCertificateHolder
| Modifier and Type | Field and Description |
|---|---|
| private AttributeCertificate | |
| private Date | |
| private Date |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public X509Attribute[] | getAttributes()
Implements org.
Deprecated
as a consequence of
Return the attributes contained in the attribute block in the certificate.
X509Attribute being deprecated.
|
| public X509Attribute[] | getAttributes(String
the object identifier we wish to match. oid)Implements org.
Deprecated
as a consequence of
Return the attributes with the same type as the passed in oid.
X509Attribute being deprecated.
|
| public Set | getCriticalExtensionOIDs()
Implements java. |
| public byte[] | getEncoded()
Implements org. |
| private Set | |
| public byte[] | getExtensionValue(String
the Object Identifier value for the extension. oid)Implements java. oid
String.
|
| public AttributeCertificateHolder | getHolder()
Implements org.
Deprecated
as a consequence of
Return the holder of the certificate.
AttributeCertificateHolder being deprecated.
|
| public AttributeCertificateIssuer | getIssuer()
Implements org.
Deprecated
as a consequence of
Return the issuer details for the certificate.
AttributeCertificateIssuer being deprecated.
|
| public boolean[] | |
| public Set | getNonCriticalExtensionOIDs()
Implements java. |
| public Date | getNotAfter()
Implements org. |
| public Date | getNotBefore()
Implements org. |
| private static AttributeCertificate | |
| public BigInteger | getSerialNumber()
Implements org. |
| public byte[] | |
| public int | getVersion()
Implements org. |
| public int | |
| public boolean | hasUnsupportedCriticalExtension()
Implements java. |
| public final void | verify(PublicKey key, String provider)
Implements org. |
| cert | back to summary |
|---|---|
| private AttributeCertificate cert | |
| notAfter | back to summary |
|---|---|
| private Date notAfter | |
| notBefore | back to summary |
|---|---|
| private Date notBefore | |
| X509V2AttributeCertificate | back to summary |
|---|---|
| public X509V2AttributeCertificate(InputStream encIn) throws IOException | |
| X509V2AttributeCertificate | back to summary |
|---|---|
| public X509V2AttributeCertificate(byte[] encoded) throws IOException | |
| X509V2AttributeCertificate | back to summary |
|---|---|
| pack-priv X509V2AttributeCertificate(AttributeCertificate cert) throws IOException | |
| checkValidity | back to summary |
|---|---|
| public void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException Implements org. | |
| checkValidity | back to summary |
|---|---|
| public void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException Implements org. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAttributes | back to summary |
|---|---|
| public X509Attribute[] getAttributes() Implements org. Doc from org. Deprecated as a consequence of Return the attributes contained in the attribute block in the certificate.
| |
| getAttributes | back to summary |
|---|---|
| public X509Attribute[] getAttributes(String oid) Implements org. Doc from org. Deprecated as a consequence of Return the attributes with the same type as the passed in oid.
| |
| getCriticalExtensionOIDs | back to summary |
|---|---|
| public Set Implements java. Doc from java. Gets a Set of the OID strings for the extension(s) marked CRITICAL in the certificate/CRL managed by the object implementing this interface. Here is sample code to get a Set of critical extensions from an X509Certificate and print the OIDs:
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Implements org. Doc from org. Return an ASN.1 encoded byte array representing the attribute certificate.
| |
| getExtensionOIDs | back to summary |
|---|---|
| private Set | |
| getExtensionValue | back to summary | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public byte[] getExtensionValue(String oid) Implements java. Doc from java. Gets the DER-encoded OCTET string for the extension value
(extnValue) identified by the passed-in For example:
| |||||||||||||||||||||||
| getHolder | back to summary |
|---|---|
| public AttributeCertificateHolder getHolder() Implements org. Doc from org. Deprecated as a consequence of Return the holder of the certificate.
| |
| getIssuer | back to summary |
|---|---|
| public AttributeCertificateIssuer getIssuer() Implements org. Doc from org. Deprecated as a consequence of Return the issuer details for the certificate.
| |
| getIssuerUniqueID | back to summary |
|---|---|
| public boolean[] getIssuerUniqueID() Implements org. | |
| getNonCriticalExtensionOIDs | back to summary |
|---|---|
| public Set Implements java. Doc from java. Gets a Set of the OID strings for the extension(s) marked NON-CRITICAL in the certificate/CRL managed by the object implementing this interface. Here is sample code to get a Set of non-critical extensions from an X509CRL revoked certificate entry and print the OIDs:
| |
| getNotAfter | back to summary |
|---|---|
| public Date getNotAfter() Implements org. Doc from org. Return the date after which the certificate is not valid.
| |
| getNotBefore | back to summary |
|---|---|
| public Date getNotBefore() Implements org. Doc from org. Return the date before which the certificate is not valid.
| |
| getObject | back to summary |
|---|---|
| private static AttributeCertificate getObject(InputStream in) throws IOException | |
| getSerialNumber | back to summary |
|---|---|
| public BigInteger getSerialNumber() Implements org. Doc from org. Return the serial number for the certificate.
| |
| getSignature | back to summary |
|---|---|
| public byte[] getSignature() Implements org. | |
| getVersion | back to summary |
|---|---|
| public int getVersion() Implements org. Doc from org. Return the version number for the certificate.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasUnsupportedCriticalExtension | back to summary |
|---|---|
| public boolean hasUnsupportedCriticalExtension() Implements java. Doc from java. Check if there is a critical extension that is not supported.
| |
| verify | back to summary |
|---|---|
| public final void verify(PublicKey key, String provider) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException Implements org. | |