Class PAdESProfileAbstract
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.Profile<Object,PadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.PAdESProfiles.PAdESProfileAbstract
- All Implemented Interfaces:
SignaturePolicyInstance
- Direct Known Subclasses:
PAdESBProfile
,PAdESLTAProfile
,PAdESLTProfile
,PAdESTProfile
public abstract class PAdESProfileAbstract extends Profile<Object,PadesSignature>
-
Nested Class Summary
Nested classes/interfaces inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.Profile
Profile.AdESLevel, Profile.AdESType
-
Field Summary
Fields inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.Profile
conditionalSignedAttributeList, conditionalUnsignedAttributeList, mandatedConditionalSignedAttributeList, mandatedSignedAttributeList, mandatedUnsignedAttributeList, prohibitedSignedAttributeList, prohibitedUnsignedAttributeList
-
Constructor Summary
Constructors Constructor Description PAdESProfileAbstract()
-
Method Summary
Modifier and Type Method Description static List<org.apache.pdfbox.cos.COSName>
getMandatedSignatureDictionaryEntries()
String
getNormativeReference()
static List<org.apache.pdfbox.cos.COSName>
getProhibitedSignatureDictionaryEntries()
protected void
setDictionaryEntriesCondition()
boolean
validate(PadesSignature signature, Profile<Object,PadesSignature> profile)
org.apache.commons.lang3.tuple.Pair<Boolean,List<String>>
validateMandatoryConditionals(Signature<Object> signature, List<String> attrList)
Boolean
verifyDictionary(PadesSignature signature)
Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.Profile
addMandatoryConditionals, getAdES, getAdESLevel, getIdentifier, getMandatedConditionalSignedAttributeList, getMandatedSignedAttrs, getMandatedUnsignedAttributeList, getMandatedUnsignedAttrs, getProhibitedSignedAttrs, getProhibitedUnsignedAttrs, getSignaturePolicyName, getSignaturePolicyType, getSignatureValidationPolicy, getWarningAttributeList, isAtLeast, isInstanceOf, loadAttributes, validate, validateMandatoryConditionalsLocal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.SignaturePolicyInstance
getAdESType, getAlgorithmIdentifier, getEncoded, getEncodedHash, getExpectedSignPolicyInfoHash, getSignPolicyIdentifier, isFound, isNotFound, isXML, validateHash
-
Constructor Details
-
PAdESProfileAbstract
public PAdESProfileAbstract()
-
-
Method Details
-
setDictionaryEntriesCondition
protected void setDictionaryEntriesCondition() -
getMandatedSignatureDictionaryEntries
-
getProhibitedSignatureDictionaryEntries
-
validateMandatoryConditionals
public org.apache.commons.lang3.tuple.Pair<Boolean,List<String>> validateMandatoryConditionals(Signature<Object> signature, List<String> attrList)- Specified by:
validateMandatoryConditionals
in classProfile<Object,PadesSignature>
-
verifyDictionary
-
validate
-
getNormativeReference
- Specified by:
getNormativeReference
in classProfile<Object,PadesSignature>
-