Record Class CrlEntry
java.lang.Object
java.lang.Record
zeroecho.pkix.crl.CrlEntry
- Record Components:
serialNumber- the revoked certificate serial number (positive)revocationTime- the revocation timereason- the revocation reason
public record CrlEntry(BigInteger serialNumber, Instant revocationTime, CrlReason reason)
extends Record
A single revoked-certificate entry in a CRL.
-
Constructor Summary
ConstructorsConstructorDescriptionCrlEntry(BigInteger serialNumber, Instant revocationTime, CrlReason reason) Canonicalizing constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.Returns the value of therevocationTimerecord component.Returns the value of theserialNumberrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CrlEntry
Canonicalizing constructor.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
serialNumber
Returns the value of theserialNumberrecord component.- Returns:
- the value of the
serialNumberrecord component
-
revocationTime
Returns the value of therevocationTimerecord component.- Returns:
- the value of the
revocationTimerecord component
-
reason
-