Class XAdESLTProfile
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.Profile<Element,XadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.XAdESProfiles.XAdESBProfile
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.XAdESProfiles.XAdESTProfile
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.XAdESProfiles.XAdESLTProfile
- All Implemented Interfaces:
BaselineB<XadesSignature>
,BaselineLT<XadesSignature>
,BaselineT<XadesSignature>
,SignaturePolicyInstance
,Cacheable
- Direct Known Subclasses:
XAdESLTAProfile
public class XAdESLTProfile extends XAdESTProfile implements BaselineLT<XadesSignature>
-
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
mandatedConditionalSignedAttributeList, mandatedSignedAttributeList, mandatedUnsignedAttributeList, prohibitedSignedAttributeList, prohibitedUnsignedAttributeList
-
Constructor Summary
Constructors Constructor Description XAdESLTProfile()
-
Method Summary
Modifier and Type Method Description boolean
defineProfile(XadesSignature signature)
Profile.AdESLevel
getAdESLevel()
Retorna o nível do perfilList<String>
getWarningAttributeList()
Método que retorna a lista de atributos que geram warningsboolean
hasRevocationValuesInLongTermValidation(XadesSignature signature)
Esse método serve para verificar a conformidade da assinaturaboolean
isAtLeast(Profile.AdESLevel level)
org.apache.commons.lang3.tuple.Pair<Boolean,List<String>>
validateMandatoryConditionals(Signature<Element> signature, List<String> attrList)
Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.XAdESProfiles.XAdESTProfile
providesTrustedTime
Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.XAdESProfiles.XAdESBProfile
getAdESType, getAlgorithmIdentifier, getDefaultAttributes, getEncoded, getEncodedHash, getExpectedSignPolicyInfoHash, getNormativeReference, getSignPolicyIdentifier, isBasicSignature, isFound, isXML, validateHash
Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.Profile
addMandatoryConditionals, getAdES, getCAdESProfiles, getIdentifier, getJAdESProfiles, getMandatedConditionalSignedAttributeList, getMandatedSignedAttrs, getMandatedUnsignedAttributeList, getMandatedUnsignedAttrs, getPAdESProfiles, getProhibitedSignedAttrs, getProhibitedUnsignedAttrs, getSignaturePolicyName, getSignaturePolicyType, getSignatureValidationPolicy, getXAdESProfiles, isInstanceOf, loadAttributes, 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
getBytes, getCacheKey, isNotFound
-
Constructor Details
-
XAdESLTProfile
public XAdESLTProfile()
-
-
Method Details
-
getAdESLevel
Retorna o nível do perfil- Specified by:
getAdESLevel
in interfaceSignaturePolicyInstance
- Overrides:
getAdESLevel
in classXAdESTProfile
- Returns:
- string informando o tipo de perfil
-
isAtLeast
- Overrides:
isAtLeast
in classXAdESTProfile
-
validateMandatoryConditionals
public org.apache.commons.lang3.tuple.Pair<Boolean,List<String>> validateMandatoryConditionals(Signature<Element> signature, List<String> attrList)- Overrides:
validateMandatoryConditionals
in classXAdESTProfile
-
defineProfile
- Overrides:
defineProfile
in classXAdESTProfile
-
getWarningAttributeList
Description copied from class:Profile
Método que retorna a lista de atributos que geram warnings- Overrides:
getWarningAttributeList
in classXAdESTProfile
- Returns:
- lista de atributos que geram warnings
-
hasRevocationValuesInLongTermValidation
Description copied from interface:BaselineLT
Esse método serve para verificar a conformidade da assinatura- Specified by:
hasRevocationValuesInLongTermValidation
in interfaceBaselineLT<XadesSignature>
- Parameters:
signature
- a assinatura a ter seu LT verificado- Returns:
- a presença ou não de disponibilidade de verificação à longo prazo
-