Class AttributeRevocationValues
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.RevocationValues
br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.AttributeRevocationValues
- All Implemented Interfaces:
SignatureAttribute<JadesAttrCommonStruct>
public class AttributeRevocationValues extends RevocationValues
-
Field Summary
Fields Modifier and Type Field Description static String
IDENTIFIER
Entrada no cabeçalho que relacionam o SigningCertificateFields inherited from class br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.RevocationValues
CRL_VALS, OCSP_VALS, OTHER_VALS, signatureVerifier
-
Constructor Summary
Constructors Constructor Description AttributeRevocationValues(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader)
AttributeRevocationValues(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRevValues, String digestAlgorithm)
AttributeRevocationValues(org.json.JSONObject attribute)
-
Method Summary
Modifier and Type Method Description String
getIdentifier()
Retorna o identificador do atributoString
getRefsIdentifier()
Retorna o identificador do atributo de referênciasboolean
isSigned()
Informa se o atributo é assinadoboolean
isUnique()
Informa se o atributo deve ter apenas uma instância na assinaturaMethods inherited from class br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.RevocationValues
getCRLs, getCrlValues, getEncoded, getOCSPResponses, getOCSPs, getOcspValues, getOtherRevValues, validate
-
Field Details
-
IDENTIFIER
Entrada no cabeçalho que relacionam o SigningCertificate- See Also:
- Constant Field Values
-
-
Constructor Details
-
AttributeRevocationValues
public AttributeRevocationValues(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader) throws RevocationValuesException- Throws:
RevocationValuesException
-
AttributeRevocationValues
public AttributeRevocationValues(org.json.JSONObject attribute) -
AttributeRevocationValues
public AttributeRevocationValues(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRevValues, String digestAlgorithm) throws SignatureAttributeException- Throws:
SignatureAttributeException
-
-
Method Details
-
isSigned
public boolean isSigned()Informa se o atributo é assinado- Specified by:
isSigned
in interfaceSignatureAttribute<JadesAttrCommonStruct>
- Overrides:
isSigned
in classRevocationValues
- Returns:
- Indica se o atributo é assinado
-
isUnique
public boolean isUnique()Informa se o atributo deve ter apenas uma instância na assinatura- Specified by:
isUnique
in interfaceSignatureAttribute<JadesAttrCommonStruct>
- Overrides:
isUnique
in classRevocationValues
- Returns:
- Indica se o atributo deve ter apenas uma instância na assinatura
-
getIdentifier
Retorna o identificador do atributo- Specified by:
getIdentifier
in interfaceSignatureAttribute<JadesAttrCommonStruct>
- Overrides:
getIdentifier
in classRevocationValues
- Returns:
- O identificador do atributo
-
getRefsIdentifier
Retorna o identificador do atributo de referências- Overrides:
getRefsIdentifier
in classRevocationValues
- Returns:
- O identificador do atributo de referências
-