java.lang.Object | |
↳ | sun.security.x509.CRLExtensions |
This class defines the CRL Extensions. It is used for both CRL Extensions and CRL Entry Extensions, which are defined are follows:
TBSCertList ::= SEQUENCE { version Version OPTIONAL, -- if present, must be v2 signature AlgorithmIdentifier, issuer Name, thisUpdate Time, nextUpdate Time OPTIONAL, revokedCertificates SEQUENCE OF SEQUENCE { userCertificate CertificateSerialNumber, revocationDate Time, crlEntryExtensions Extensions OPTIONAL -- if present, must be v2 } OPTIONAL, crlExtensions [0] EXPLICIT Extensions OPTIONAL -- if present, must be v2 }
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Create the object, decoding the values from the passed DER stream.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Delete the extension value with this alias.
| |||||||||||
Encode the extensions in DER form to the stream.
| |||||||||||
Compares this CRLExtensions for equality with the specified
object.
| |||||||||||
Get the extension with this alias.
| |||||||||||
Return a collection view of the extensions.
| |||||||||||
Return an enumeration of the extensions.
| |||||||||||
Return true if a critical extension is found that is
not supported, otherwise return false.
| |||||||||||
Returns a hashcode value for this CRLExtensions.
| |||||||||||
Set the extension value with this alias.
| |||||||||||
Returns a string representation of this CRLExtensions object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Default constructor.
Create the object, decoding the values from the passed DER stream.
in | the DerInputStream to read the Extension from, i.e. the sequence of extensions. |
---|
CRLException | on decoding errors. |
---|
Delete the extension value with this alias.
alias | the identifier string for the extension to delete. |
---|
Encode the extensions in DER form to the stream.
out | the DerOutputStream to marshal the contents to. |
---|---|
isExplicit | the tag indicating whether this is an entry extension (false) or a CRL extension (true). |
CRLException | on encoding errors. |
---|
Compares this CRLExtensions for equality with the specified
object. If the other
object is an
instanceof
CRLExtensions
, then
all the entries are compared with the entries from this.
other | the object to test for equality with this CRLExtensions. |
---|
Get the extension with this alias.
alias | the identifier string for the extension to retrieve. |
---|
Return a collection view of the extensions.
Return an enumeration of the extensions.
Return true if a critical extension is found that is not supported, otherwise return false.
Returns a hashcode value for this CRLExtensions.
Set the extension value with this alias.
alias | the identifier string for the extension to set. |
---|---|
obj | the Object to set the extension identified by the alias. |
Returns a string representation of this CRLExtensions object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space).
Overrides to toString method of Object.