| Modifier and Type | Field and Description |
|---|---|
| private transient AttributeCertificate | |
| private static Attribute[] | |
| private transient Extensions | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | X509AttributeCertificateHolder(byte[]
BER/DER encoding of the certificate. certEncoding)Create a X509AttributeCertificateHolder from the passed in bytes. |
| public | X509AttributeCertificateHolder(AttributeCertificate
an ASN.1 AttributeCertificate structure. attrCert)Create a X509AttributeCertificateHolder from the passed in ASN.1 structure. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Attribute[] | Returns: an array of Attribute, zero length if none present.Return the attributes, if any associated with this request. |
| public Attribute[] | Returns: an array of Attribute of the requested type, zero length if none present.the type of the attribute being looked for. type)Return an array of attributes matching the passed in type OID. |
| public Set | Returns: a set of critical extension OIDs.Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's attribute certificate. |
| public byte[] | Returns: a DER encoded byte array.Implements org. |
| public Extension | Returns: the extension if present, null otherwise.the OID of the extension of interest. oid)Look up the extension associated with the passed in OID. |
| public List | Returns: a list of extension OIDs.Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's attribute certificate. |
| public Extensions | Returns: the extensions block, null otherwise.Return the extensions block associated with this certificate if there is one. |
| public AttributeCertificateHolder | Returns: this attribute certificate's holder structure.Return the holder details for this attribute certificate. |
| public AttributeCertificateIssuer | Returns: this attribute certificate's issuer structure,Return the issuer details for this attribute certificate. |
| public boolean[] | |
| public Set | Returns: a set of non-critical extension OIDs.Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's attribute certificate. |
| public Date | Returns: the final date for the attribute certificate's validity period.Return the date after which this attribute certificate is not valid. |
| public Date | Returns: the start date for the attribute certificate's validity period.Return the date before which this attribute certificate is not valid. |
| public BigInteger | |
| public byte[] | Returns: the attribute certificate signature bytes.Return the bytes making up the signature associated with this attribute certificate. |
| public AlgorithmIdentifier | Returns: the AlgorithmIdentifier describing the signature algorithm used to create this attribute certificate.Return the details of the signature algorithm used to create this attribute certificate. |
| public int | |
| public boolean | Returns: true if extension are present, false otherwise.Return whether or not the holder's attribute certificate contains extensions. |
| public int | |
| private void | |
| public boolean | Returns: true if the signature is valid, false otherwise.a ContentVerifierProvider that can generate a verifier for the signature. verifierProvider)Validate the signature on the attribute certificate in this holder. |
| public boolean | |
| private static AttributeCertificate | |
| private void | |
| public AttributeCertificate | Returns: a AttributeCertificate object.Return the underlying ASN.1 structure for the attribute certificate in this holder. |
| private void |
| attrCert | back to summary |
|---|---|
| private transient AttributeCertificate attrCert | |
| EMPTY_ARRAY | back to summary |
|---|---|
| private static Attribute[] EMPTY_ARRAY | |
| extensions | back to summary |
|---|---|
| private transient Extensions extensions | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| X509AttributeCertificateHolder | back to summary |
|---|---|
| public X509AttributeCertificateHolder(byte[] certEncoding) throws IOException Create a X509AttributeCertificateHolder from the passed in bytes.
| |
| X509AttributeCertificateHolder | back to summary |
|---|---|
| public X509AttributeCertificateHolder(AttributeCertificate attrCert) Create a X509AttributeCertificateHolder from the passed in ASN.1 structure.
| |
| 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 Attribute[] getAttributes() Return the attributes, if any associated with this request.
| |
| getAttributes | back to summary |
|---|---|
| public Attribute[] getAttributes(ASN1ObjectIdentifier type) Return an array of attributes matching the passed in type OID.
| |
| getCriticalExtensionOIDs | back to summary |
|---|---|
| public Set Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's attribute certificate.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Implements org. Return the ASN.1 encoding of this holder's attribute certificate.
| |
| getExtension | back to summary |
|---|---|
| public Extension getExtension(ASN1ObjectIdentifier oid) Look up the extension associated with the passed in OID.
| |
| getExtensionOIDs | back to summary |
|---|---|
| public List Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's attribute certificate.
| |
| getExtensions | back to summary |
|---|---|
| public Extensions getExtensions() Return the extensions block associated with this certificate if there is one.
| |
| getHolder | back to summary |
|---|---|
| public AttributeCertificateHolder getHolder() Return the holder details for this attribute certificate.
| |
| getIssuer | back to summary |
|---|---|
| public AttributeCertificateIssuer getIssuer() Return the issuer details for this attribute certificate.
| |
| getIssuerUniqueID | back to summary |
|---|---|
| public boolean[] getIssuerUniqueID() | |
| getNonCriticalExtensionOIDs | back to summary |
|---|---|
| public Set Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's attribute certificate.
| |
| getNotAfter | back to summary |
|---|---|
| public Date getNotAfter() Return the date after which this attribute certificate is not valid.
| |
| getNotBefore | back to summary |
|---|---|
| public Date getNotBefore() Return the date before which this attribute certificate is not valid.
| |
| getSerialNumber | back to summary |
|---|---|
| public BigInteger getSerialNumber() Return the serial number of this attribute certificate.
| |
| getSignature | back to summary |
|---|---|
| public byte[] getSignature() Return the bytes making up the signature associated with this attribute certificate.
| |
| getSignatureAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getSignatureAlgorithm() Return the details of the signature algorithm used to create this attribute certificate.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() | |
| hasExtensions | back to summary |
|---|---|
| public boolean hasExtensions() Return whether or not the holder's attribute certificate contains extensions.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| init | back to summary |
|---|---|
| private void init(AttributeCertificate attrCert) | |
| isSignatureValid | back to summary |
|---|---|
| public boolean isSignatureValid(ContentVerifierProvider verifierProvider) throws CertException Validate the signature on the attribute certificate in this holder.
| |
| isValidOn | back to summary |
|---|---|
| public boolean isValidOn(Date date) Return whether or not this attribute certificate is valid on a particular date.
| |
| parseBytes | back to summary |
|---|---|
| private static AttributeCertificate parseBytes(byte[] certEncoding) throws IOException | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| toASN1Structure | back to summary |
|---|---|
| public AttributeCertificate toASN1Structure() Return the underlying ASN.1 structure for the attribute certificate in this holder.
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |