Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
java.security.cert

Class X509CRLEntry

  • All Implemented Interfaces:
    X509Extension

    public abstract class X509CRLEntry
    extends Object
    implements X509Extension

    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 }

    See Also:
    X509CRL, X509Extension
    • Constructor Detail

      • X509CRLEntry

        public X509CRLEntry()
    • Method Detail

      • equals

        public boolean equals(Object 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.
        Overrides:
        equals in class Object
        Parameters:
        other - the object to test for equality with this CRL entry.
        Returns:
        true iff the encoded forms of the two CRL entries match, false otherwise.
        See Also:
        Object.hashCode(), HashMap
      • getEncoded

        public abstract byte[] getEncoded()
                                   throws CRLException
        Returns the ASN.1 DER-encoded form of this CRL Entry, that is the inner SEQUENCE.
        Returns:
        the encoded form of this certificate
        Throws:
        CRLException - if an encoding error occurs.
      • getSerialNumber

        public abstract BigInteger getSerialNumber()
        Gets the serial number from this X509CRLEntry, the userCertificate.
        Returns:
        the serial number.
      • getCertificateIssuer

        public X500Principal getCertificateIssuer()
        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.
        Since:
        1.5
      • getRevocationDate

        public abstract Date getRevocationDate()
        Gets the revocation date from this X509CRLEntry, the revocationDate.
        Returns:
        the revocation date.
      • hasExtensions

        public abstract boolean hasExtensions()
        Returns true if this CRL entry has extensions.
        Returns:
        true if this entry has extensions, false otherwise.
      • toString

        public abstract String toString()
        Returns a string representation of this CRL entry.
        Overrides:
        toString in class Object
        Returns:
        a string representation of this CRL entry.
      • getRevocationReason

        public CRLReason getRevocationReason()
        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
        Since:
        1.7

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/security/cert/X509CRLEntry.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut