Record Class DocTimeStampAttribute.DocTimeStampEncoded
java.lang.Object
java.lang.Record
br.ufsc.labsec.parser.pades.attributes.DocTimeStampAttribute.DocTimeStampEncoded
- All Implemented Interfaces:
PadesEncoded
- Enclosing class:
DocTimeStampAttribute
public static record DocTimeStampAttribute.DocTimeStampEncoded(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature pdSignature, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface)
extends Record
implements PadesEncoded
-
Constructor Summary
ConstructorsConstructorDescriptionDocTimeStampEncoded(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature pdSignature, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface) Creates an instance of aDocTimeStampEncodedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.org.apache.pdfbox.cos.COSDictionaryfinal inthashCode()Returns a hash code value for this object.org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignatureReturns the value of thepdSignaturerecord component.org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterfaceReturns the value of thesignatureInterfacerecord component.final StringtoString()Returns a string representation of this record class.voidvisit(PadesSignature signature)
-
Constructor Details
-
DocTimeStampEncoded
public DocTimeStampEncoded(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature pdSignature, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface) Creates an instance of aDocTimeStampEncodedrecord class.- Parameters:
pdSignature- the value for thepdSignaturerecord componentsignatureInterface- the value for thesignatureInterfacerecord 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). -
pdSignature
public org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature pdSignature()Returns the value of thepdSignaturerecord component.- Returns:
- the value of the
pdSignaturerecord component
-
signatureInterface
public org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface()Returns the value of thesignatureInterfacerecord component.- Returns:
- the value of the
signatureInterfacerecord component
-