Record Class DssAttribute.DssEncoded
java.lang.Object
java.lang.Record
br.ufsc.labsec.parser.pades.attributes.DssAttribute.DssEncoded
- All Implemented Interfaces:
PadesEncoded
- Enclosing class:
DssAttribute
public static record DssAttribute.DssEncoded(org.apache.pdfbox.cos.COSDictionary dssDictionary, String signatureHash)
extends Record
implements PadesEncoded
-
Constructor Summary
ConstructorsConstructorDescriptionDssEncoded(org.apache.pdfbox.cos.COSDictionary dssDictionary, String signatureHash) Creates an instance of aDssEncodedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pdfbox.cos.COSDictionaryReturns the value of thedssDictionaryrecord component.final booleanIndicates whether some other object is "equal to" this one.org.apache.pdfbox.cos.COSDictionaryfinal inthashCode()Returns a hash code value for this object.Returns the value of thesignatureHashrecord component.final StringtoString()Returns a string representation of this record class.voidvisit(PadesSignature signature)
-
Constructor Details
-
DssEncoded
Creates an instance of aDssEncodedrecord class.- Parameters:
dssDictionary- the value for thedssDictionaryrecord componentsignatureHash- the value for thesignatureHashrecord component
-
-
Method Details
-
visit
- Specified by:
visitin interfacePadesEncoded- Throws:
SignatureAttributeException
-
getCOSDictionary
public org.apache.pdfbox.cos.COSDictionary getCOSDictionary()- Specified by:
getCOSDictionaryin interfacePadesEncoded
-
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). -
dssDictionary
public org.apache.pdfbox.cos.COSDictionary dssDictionary()Returns the value of thedssDictionaryrecord component.- Returns:
- the value of the
dssDictionaryrecord component
-
signatureHash
Returns the value of thesignatureHashrecord component.- Returns:
- the value of the
signatureHashrecord component
-