| Modifier and Type | Field and Description |
|---|---|
| private transient Extensions | |
| private static final long | |
| private transient Certificate |
| Access | Constructor and Description |
|---|---|
| public | X509CertificateHolder(byte[]
BER/DER encoding of the certificate. certEncoding)Create a X509CertificateHolder from the passed in bytes. |
| public | X509CertificateHolder(Certificate
an ASN.1 Certificate structure. x509Certificate)Create a X509CertificateHolder 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 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 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 certificate. |
| public Extensions | Returns: the extensions block, null otherwise.Return the extensions block associated with this certificate if there is one. |
| public X500Name | |
| 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 certificate. |
| public Date | Returns: the final time for the certificate's validity period.Return the date after which this certificate is not valid. |
| public Date | Returns: the start time for the certificate's validity period.Return the date before which this 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 X500Name | |
| public SubjectPublicKeyInfo | Returns: the public key ASN.1 structure contained in the certificate.Return the SubjectPublicKeyInfo describing the public key this certificate is carrying. |
| public int | |
| public int | |
| public boolean | Returns: true if extension are present, false otherwise.Return whether or not the holder's 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 certificate in this holder. |
| public boolean | |
| private static Certificate | |
| private void | |
| public Certificate | Returns: a Certificate object.Return the underlying ASN.1 structure for the certificate in this holder. |
| private void |
| extensions | back to summary |
|---|---|
| private transient Extensions extensions | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| x509Certificate | back to summary |
|---|---|
| private transient Certificate x509Certificate | |
| X509CertificateHolder | back to summary |
|---|---|
| public X509CertificateHolder(byte[] certEncoding) throws IOException Create a X509CertificateHolder from the passed in bytes.
| |
| X509CertificateHolder | back to summary |
|---|---|
| public X509CertificateHolder(Certificate x509Certificate) Create a X509CertificateHolder 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.
| |
| getCriticalExtensionOIDs | back to summary |
|---|---|
| public Set Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's certificate.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Implements org. Return the ASN.1 encoding of this holder's 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 certificate.
| |
| getExtensions | back to summary |
|---|---|
| public Extensions getExtensions() Return the extensions block associated with this certificate if there is one.
| |
| getIssuer | back to summary |
|---|---|
| public X500Name getIssuer() Return the issuer of this certificate.
| |
| 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 certificate.
| |
| getNotAfter | back to summary |
|---|---|
| public Date getNotAfter() Return the date after which this certificate is not valid.
| |
| getNotBefore | back to summary |
|---|---|
| public Date getNotBefore() Return the date before which this 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.
| |
| getSubject | back to summary |
|---|---|
| public X500Name getSubject() Return the subject this certificate is for.
| |
| getSubjectPublicKeyInfo | back to summary |
|---|---|
| public SubjectPublicKeyInfo getSubjectPublicKeyInfo() Return the SubjectPublicKeyInfo describing the public key this certificate is carrying.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion()
Deprecated use getVersionNumber | |
| getVersionNumber | back to summary |
|---|---|
| public int getVersionNumber() | |
| hasExtensions | back to summary |
|---|---|
| public boolean hasExtensions() Return whether or not the holder's 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(Certificate x509Certificate) | |
| isSignatureValid | back to summary |
|---|---|
| public boolean isSignatureValid(ContentVerifierProvider verifierProvider) throws CertException Validate the signature on the certificate in this holder.
| |
| isValidOn | back to summary |
|---|---|
| public boolean isValidOn(Date date) Return whether or not this certificate is valid on a particular date.
| |
| parseBytes | back to summary |
|---|---|
| private static Certificate parseBytes(byte[] certEncoding) throws IOException | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| toASN1Structure | back to summary |
|---|---|
| public Certificate toASN1Structure() Return the underlying ASN.1 structure for the certificate in this holder.
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |