Liking cljdoc? Tell your friends :D

jdk.security.cert.X509CRLEntry

Abstract class for a revoked certificate in a CRL (Certificate Revocation List).

The ASN.1 definition for revokedCertificates is:

revokedCertificates SEQUENCE OF SEQUENCE { userCertificate CertificateSerialNumber, revocationDate ChoiceOfTime, crlEntryExtensions Extensions OPTIONAL -- if present, must be v2 } OPTIONAL

CertificateSerialNumber ::= INTEGER

Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension

Extension ::= SEQUENCE { extnId OBJECT IDENTIFIER, critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING -- contains a DER encoding of a value -- of the type registered for use with -- the extnId object identifier value }

Abstract class for a revoked certificate in a CRL (Certificate
Revocation List).

The ASN.1 definition for revokedCertificates is:


revokedCertificates    SEQUENCE OF SEQUENCE  {
    userCertificate    CertificateSerialNumber,
    revocationDate     ChoiceOfTime,
    crlEntryExtensions Extensions OPTIONAL
                       -- if present, must be v2
}  OPTIONAL

CertificateSerialNumber  ::=  INTEGER

Extensions  ::=  SEQUENCE SIZE (1..MAX) OF Extension

Extension  ::=  SEQUENCE  {
    extnId        OBJECT IDENTIFIER,
    critical      BOOLEAN DEFAULT FALSE,
    extnValue     OCTET STRING
                  -- contains a DER encoding of a value
                  -- of the type registered for use with
                  -- the extnId object identifier value
}
raw docstring

->x-509-crl-entryclj

(->x-509-crl-entry)

Constructor.

Constructor.
raw docstring

equalsclj

(equals this other)

Compares this CRL entry for equality with the given object. If the other object is an instanceof X509CRLEntry, then its encoded form (the inner SEQUENCE) is retrieved and compared with the encoded form of this CRL entry.

other - the object to test for equality with this CRL entry. - java.lang.Object

returns: true iff the encoded forms of the two CRL entries match, false otherwise. - boolean

Compares this CRL entry for equality with the given
 object. If the other object is an
 instanceof X509CRLEntry, then
 its encoded form (the inner SEQUENCE) is retrieved and compared
 with the encoded form of this CRL entry.

other - the object to test for equality with this CRL entry. - `java.lang.Object`

returns: true iff the encoded forms of the two CRL entries
 match, false otherwise. - `boolean`
raw docstring

get-certificate-issuerclj

(get-certificate-issuer this)

Get the issuer of the X509Certificate described by this entry. If the certificate issuer is also the CRL issuer, this method returns null.

This method is used with indirect CRLs. The default implementation always returns null. Subclasses that wish to support indirect CRLs should override it.

returns: the issuer of the X509Certificate described by this entry or null if it is issued by the CRL issuer. - javax.security.auth.x500.X500Principal

Get the issuer of the X509Certificate described by this entry. If
 the certificate issuer is also the CRL issuer, this method returns
 null.

 This method is used with indirect CRLs. The default implementation
 always returns null. Subclasses that wish to support indirect CRLs
 should override it.

returns: the issuer of the X509Certificate described by this entry
 or null if it is issued by the CRL issuer. - `javax.security.auth.x500.X500Principal`
raw docstring

get-encodedclj

(get-encoded this)

Returns the ASN.1 DER-encoded form of this CRL Entry, that is the inner SEQUENCE.

returns: the encoded form of this certificate - byte[]

throws: java.security.cert.CRLException - if an encoding error occurs.

Returns the ASN.1 DER-encoded form of this CRL Entry,
 that is the inner SEQUENCE.

returns: the encoded form of this certificate - `byte[]`

throws: java.security.cert.CRLException - if an encoding error occurs.
raw docstring

get-revocation-dateclj

(get-revocation-date this)

Gets the revocation date from this X509CRLEntry, the revocationDate.

returns: the revocation date. - java.util.Date

Gets the revocation date from this X509CRLEntry,
 the revocationDate.

returns: the revocation date. - `java.util.Date`
raw docstring

get-revocation-reasonclj

(get-revocation-reason this)

Returns the reason the certificate has been revoked, as specified in the Reason Code extension of this CRL entry.

returns: the reason the certificate has been revoked, or null if this CRL entry does not have a Reason Code extension - java.security.cert.CRLReason

Returns the reason the certificate has been revoked, as specified
 in the Reason Code extension of this CRL entry.

returns: the reason the certificate has been revoked, or
    null if this CRL entry does not have
    a Reason Code extension - `java.security.cert.CRLReason`
raw docstring

get-serial-numberclj

(get-serial-number this)

Gets the serial number from this X509CRLEntry, the userCertificate.

returns: the serial number. - java.math.BigInteger

Gets the serial number from this X509CRLEntry,
 the userCertificate.

returns: the serial number. - `java.math.BigInteger`
raw docstring

has-extensions?clj

(has-extensions? this)

Returns true if this CRL entry has extensions.

returns: true if this entry has extensions, false otherwise. - boolean

Returns true if this CRL entry has extensions.

returns: true if this entry has extensions, false otherwise. - `boolean`
raw docstring

hash-codeclj

(hash-code this)

Returns a hashcode value for this CRL entry from its encoded form.

returns: the hashcode value. - int

Returns a hashcode value for this CRL entry from its
 encoded form.

returns: the hashcode value. - `int`
raw docstring

to-stringclj

(to-string this)

Returns a string representation of this CRL entry.

returns: a string representation of this CRL entry. - java.lang.String

Returns a string representation of this CRL entry.

returns: a string representation of this CRL entry. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close