Record Class AbstractASN1CertificateReferences.OtherCertIDSelector
java.lang.Object
java.lang.Record
br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.unsigned.AbstractASN1CertificateReferences.OtherCertIDSelector
- All Implemented Interfaces:
Cloneable, CertSelector
- Enclosing class:
AbstractASN1CertificateReferences
public static record AbstractASN1CertificateReferences.OtherCertIDSelector(org.bouncycastle.asn1.ess.OtherCertID otherCertID)
extends Record
implements CertSelector
-
Constructor Summary
ConstructorsConstructorDescriptionOtherCertIDSelector(org.bouncycastle.asn1.ess.OtherCertID otherCertID) Creates an instance of aOtherCertIDSelectorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmatch(Certificate cert) org.bouncycastle.asn1.ess.OtherCertIDReturns the value of theotherCertIDrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OtherCertIDSelector
public OtherCertIDSelector(org.bouncycastle.asn1.ess.OtherCertID otherCertID) Creates an instance of aOtherCertIDSelectorrecord class.- Parameters:
otherCertID- the value for theotherCertIDrecord component
-
-
Method Details
-
match
- Specified by:
matchin interfaceCertSelector
-
clone
- Specified by:
clonein interfaceCertSelector- Overrides:
clonein classObject
-
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). -
otherCertID
public org.bouncycastle.asn1.ess.OtherCertID otherCertID()Returns the value of theotherCertIDrecord component.- Returns:
- the value of the
otherCertIDrecord component
-