java.lang.Object | ||
↳ | sun.security.x509.Extension | |
↳ | sun.security.x509.CRLDistributionPointsExtension |
![]() |
Represent the CRL Distribution Points Extension (OID = 2.5.29.31).
The CRL distribution points extension identifies how CRL information is obtained. The extension SHOULD be non-critical, but the PKIX profile recommends support for this extension by CAs and applications.
For PKIX, if the cRLDistributionPoints extension contains a DistributionPointName of type URI, the following semantics MUST be assumed: the URI is a pointer to the current CRL for the associated reasons and will be issued by the associated cRLIssuer. The expected values for the URI conform to the following rules. The name MUST be a non-relative URL, and MUST follow the URL syntax and encoding rules specified in [RFC 1738]. The name must include both a scheme (e.g., "http" or "ftp") and a scheme-specific-part. The scheme- specific-part must include a fully qualified domain name or IP address as the host. As specified in [RFC 1738], the scheme name is not case-sensitive (e.g., "http" is equivalent to "HTTP"). The host part is also not case-sensitive, but other components of the scheme-specific-part may be case-sensitive. When comparing URIs, conforming implementations MUST compare the scheme and host without regard to case, but assume the remainder of the scheme-specific-part is case sensitive. Processing rules for other values are not defined by this specification. If the distributionPoint omits reasons, the CRL MUST include revocations for all reasons. If the distributionPoint omits cRLIssuer, the CRL MUST be issued by the CA that issued the certificate.
The ASN.1 definition for this is:
id-ce-cRLDistributionPoints OBJECT IDENTIFIER ::= { id-ce 31 } cRLDistributionPoints ::= { CRLDistPointsSyntax } CRLDistPointsSyntax ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | IDENT | Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. | |||||||||
String | NAME | Attribute name. | |||||||||
String | POINTS |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a CRLDistributionPointsExtension from a List of
DistributionPoint; the criticality is set to false.
| |||||||||||
Create a CRLDistributionPointsExtension from a List of
DistributionPoint.
| |||||||||||
Create the extension from the passed DER encoded value of the same.
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates the extension (also called by the subclass).
| |||||||||||
Creates the extension (also called by the subclass).
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Delete the attribute value.
| |||||||||||
Write the extension to the DerOutputStream.
| |||||||||||
Get the attribute value.
| |||||||||||
Return an enumeration of names of attributes existing within this
attribute.
| |||||||||||
Return the name of this attribute.
| |||||||||||
Set the attribute value.
| |||||||||||
Return the extension as user readable string.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Write the extension to the DerOutputStream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
Create a CRLDistributionPointsExtension from a List of DistributionPoint; the criticality is set to false.
distributionPoints | the list of distribution points |
---|
IOException | on error |
---|
Create a CRLDistributionPointsExtension from a List of DistributionPoint.
isCritical | the criticality setting. |
---|---|
distributionPoints | the list of distribution points |
IOException | on error |
---|
Create the extension from the passed DER encoded value of the same.
critical | true if the extension is to be treated as critical. |
---|---|
value | Array of DER encoded bytes of the actual value. |
IOException | on error. |
---|
Creates the extension (also called by the subclass).
IOException |
---|
Creates the extension (also called by the subclass).
IOException |
---|
Write the extension to the DerOutputStream.
out | the DerOutputStream to write the extension to. |
---|
IOException | on encoding errors. |
---|
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 |
---|
Return the extension as user readable string.
Write the extension to the DerOutputStream. (Also called by the subclass)
IOException |
---|