Record Class CrmfRequest.CertificateReference
java.lang.Object
java.lang.Record
zeroecho.pkix.cmp.CrmfRequest.CertificateReference
- Record Components:
issuer- certificate issuer distinguished nameserialNumber- positive certificate serial of at most 160 bits
- Enclosing class:
CrmfRequest
public static record CrmfRequest.CertificateReference(X500Principal issuer, BigInteger serialNumber)
extends Record
Immutable structural predecessor reference; possession and authority are not asserted.
-
Constructor Summary
ConstructorsConstructorDescriptionCertificateReference(X500Principal issuer, BigInteger serialNumber) Validates nonnull bounded coordinates. -
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.issuer()Returns the value of theissuerrecord component.Returns the value of theserialNumberrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
CertificateReference
Validates nonnull bounded coordinates.
-
-
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). -
issuer
-
serialNumber
Returns the value of theserialNumberrecord component.- Returns:
- the value of the
serialNumberrecord component
-