Record Class TrustedListSignatureValidation
java.lang.Object
java.lang.Record
br.ufsc.labsec.TrustedListSignatureValidation
- Record Components:
valid- indica se a assinatura é válidasignerCertificate- certificado do assinantesignerCertificateSelector- seletor do certificado do assinantedetailedReport- relatório detalhado da assinatura
public record TrustedListSignatureValidation(boolean valid, Certificate signerCertificate, CertSelector signerCertificateSelector, ReportElement detailedReport)
extends Record
Resultado da validação da assinatura de uma lista confiável.
-
Constructor Summary
ConstructorsConstructorDescriptionTrustedListSignatureValidation(boolean valid, Certificate signerCertificate, CertSelector signerCertificateSelector, ReportElement detailedReport) Creates an instance of aTrustedListSignatureValidationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedetailedReportrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesignerCertificaterecord component.Returns the value of thesignerCertificateSelectorrecord component.final StringtoString()Returns a string representation of this record class.booleanvalid()Returns the value of thevalidrecord component.
-
Constructor Details
-
TrustedListSignatureValidation
public TrustedListSignatureValidation(boolean valid, Certificate signerCertificate, CertSelector signerCertificateSelector, ReportElement detailedReport) Creates an instance of aTrustedListSignatureValidationrecord class.- Parameters:
valid- the value for thevalidrecord componentsignerCertificate- the value for thesignerCertificaterecord componentsignerCertificateSelector- the value for thesignerCertificateSelectorrecord componentdetailedReport- the value for thedetailedReportrecord 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. -
valid
-
signerCertificate
Returns the value of thesignerCertificaterecord component.- Returns:
- the value of the
signerCertificaterecord component
-
signerCertificateSelector
Returns the value of thesignerCertificateSelectorrecord component.- Returns:
- the value of the
signerCertificateSelectorrecord component
-
detailedReport
Returns the value of thedetailedReportrecord component.- Returns:
- the value of the
detailedReportrecord component
-