java.lang.Object | ||
↳ | sun.security.x509.Extension | |
↳ | sun.security.x509.CertificateIssuerExtension |
Represents the CRL Certificate Issuer Extension (OID = 2.5.29.29).
The CRL certificate issuer extension identifies the certificate issuer associated with an entry in an indirect CRL, i.e. a CRL that has the indirectCRL indicator set in its issuing distribution point extension. If this extension is not present on the first entry in an indirect CRL, the certificate issuer defaults to the CRL issuer. On subsequent entries in an indirect CRL, if this extension is not present, the certificate issuer for the entry is the same as that for the preceding entry.
If used by conforming CRL issuers, this extension is always critical. If an implementation ignored this extension it could not correctly attribute CRL entries to certificates. PKIX (RFC 3280) RECOMMENDS that implementations recognize this extension.
The ASN.1 definition for this is:
id-ce-certificateIssuer OBJECT IDENTIFIER ::= { id-ce 29 } certificateIssuer ::= GeneralNames
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ISSUER | ||||||||||
String | NAME | Attribute names. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a CertificateIssuerExtension containing the specified issuer name.
| |||||||||||
Create a CertificateIssuerExtension from the specified DER encoded
value of the same.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Deletes the attribute value.
| |||||||||||
Write the extension to the OutputStream.
| |||||||||||
Gets the attribute value.
| |||||||||||
Return an enumeration of names of attributes existing within this
attribute.
| |||||||||||
Return the name of this attribute.
| |||||||||||
Set the attribute value.
| |||||||||||
Returns a printable representation of the certificate issuer.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Create a CertificateIssuerExtension containing the specified issuer name. Criticality is automatically set to true.
issuer | the certificate issuer |
---|
IOException | on error |
---|
Create a CertificateIssuerExtension from the specified DER encoded value of the same.
critical | true if the extension is to be treated as critical. |
---|---|
value | an array of DER encoded bytes of the actual value |
ClassCastException | if value is not an array of bytes |
---|---|
IOException | on error |
Deletes the attribute value.
name | the name of the attribute to delete. |
---|
IOException | on error |
---|
Write the extension to the OutputStream.
out | the OutputStream to write the extension to |
---|
IOException | on encoding errors |
---|
Gets the attribute value.
name | the name of the attribute to return. |
---|
IOException | on error |
---|
Return an enumeration of names of attributes existing within this attribute.
Set the attribute value.
name | the name of the attribute (e.g. "x509.info.key") |
---|---|
obj | the attribute object. |
IOException | on error |
---|
Returns a printable representation of the certificate issuer.