Record Class AbstractSignatureIdentityInformation.CRLSelector
java.lang.Object
java.lang.Record
br.ufsc.labsec.signature.conformanceVerifier.AbstractSignatureIdentityInformation.CRLSelector
- Enclosing class:
AbstractSignatureIdentityInformation
public static record AbstractSignatureIdentityInformation.CRLSelector(CRLSelector selector, PublicKey publicKey)
extends Record
implements org.bouncycastle.util.Selector<CRL>
-
Constructor Summary
ConstructorsConstructorDescriptionCRLSelector(CRLSelector selector) CRLSelector(CRLSelector selector, PublicKey publicKey) Creates an instance of aCRLSelectorrecord class.CRLSelector(PublicKey publicKey) -
Method Summary
Modifier and TypeMethodDescriptionclone()final booleanIndicates whether some other object is "equal to" this one.fromIssuerName(X500Principal issuerPrincipal) fromIssuerNameOf(Object certificate) final inthashCode()Returns a hash code value for this object.booleanReturns the value of thepublicKeyrecord component.selector()Returns the value of theselectorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CRLSelector
public CRLSelector() -
CRLSelector
-
CRLSelector
-
CRLSelector
Creates an instance of aCRLSelectorrecord class.- Parameters:
selector- the value for theselectorrecord componentpublicKey- the value for thepublicKeyrecord component
-
-
Method Details
-
fromIssuerName
public static AbstractSignatureIdentityInformation.CRLSelector fromIssuerName(X500Principal issuerPrincipal) -
fromIssuerNameOf
public static AbstractSignatureIdentityInformation.CRLSelector fromIssuerNameOf(Object certificate) throws IOException - Throws:
IOException
-
issuedBy
-
match
-
clone
-
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). -
selector
Returns the value of theselectorrecord component.- Returns:
- the value of the
selectorrecord component
-
publicKey
Returns the value of thepublicKeyrecord component.- Returns:
- the value of the
publicKeyrecord component
-