Record Class AttributeCertificateValidationContext
java.lang.Object
java.lang.Record
br.ufsc.labsec.validationDataServices.services.attributeCertificate.AttributeCertificateValidationContext
public record AttributeCertificateValidationContext(X509Certificate signer, X509Certificate issuer, org.bouncycastle.cert.X509AttributeCertificateHolder attributeCertificate, CertificateRulesDB database, int version, boolean rfc5755, boolean docIcp16)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeCertificateValidationContext(X509Certificate signer, X509Certificate issuer, org.bouncycastle.cert.X509AttributeCertificateHolder attributeCertificate, CertificateRulesDB database, int version, boolean rfc5755, boolean docIcp16) Creates an instance of aAttributeCertificateValidationContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.cert.X509AttributeCertificateHolderReturns the value of theattributeCertificaterecord component.database()Returns the value of thedatabaserecord component.booleandocIcp16()Returns the value of thedocIcp16record component.final 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.booleanrfc5755()Returns the value of therfc5755record component.signer()Returns the value of thesignerrecord component.final StringtoString()Returns a string representation of this record class.intversion()Returns the value of theversionrecord component.
-
Constructor Details
-
AttributeCertificateValidationContext
public AttributeCertificateValidationContext(X509Certificate signer, X509Certificate issuer, org.bouncycastle.cert.X509AttributeCertificateHolder attributeCertificate, CertificateRulesDB database, int version, boolean rfc5755, boolean docIcp16) Creates an instance of aAttributeCertificateValidationContextrecord class.- Parameters:
signer- the value for thesignerrecord componentissuer- the value for theissuerrecord componentattributeCertificate- the value for theattributeCertificaterecord componentdatabase- the value for thedatabaserecord componentversion- the value for theversionrecord componentrfc5755- the value for therfc5755record componentdocIcp16- the value for thedocIcp16record component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
signer
Returns the value of thesignerrecord component.- Returns:
- the value of the
signerrecord component
-
issuer
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
attributeCertificate
public org.bouncycastle.cert.X509AttributeCertificateHolder attributeCertificate()Returns the value of theattributeCertificaterecord component.- Returns:
- the value of the
attributeCertificaterecord component
-
database
Returns the value of thedatabaserecord component.- Returns:
- the value of the
databaserecord component
-
version
public int version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
rfc5755
public boolean rfc5755()Returns the value of therfc5755record component.- Returns:
- the value of the
rfc5755record component
-
docIcp16
public boolean docIcp16()Returns the value of thedocIcp16record component.- Returns:
- the value of the
docIcp16record component
-