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 StringIDENTIFIEREntrada 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 StringgetIdentifier()Retorna o identificador do atributoStringgetRefsIdentifier()Retorna o identificador do atributo de referênciasbooleanisSigned()Informa se o atributo é assinadobooleanisUnique()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, getValue, 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:
isSignedin interfaceSignatureAttribute<JadesAttrCommonStruct>- Overrides:
isSignedin 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:
isUniquein interfaceSignatureAttribute<JadesAttrCommonStruct>- Overrides:
isUniquein classRevocationValues- Returns:
- Indica se o atributo deve ter apenas uma instância na assinatura
-
getIdentifier
Retorna o identificador do atributo- Specified by:
getIdentifierin interfaceSignatureAttribute<JadesAttrCommonStruct>- Overrides:
getIdentifierin classRevocationValues- Returns:
- O identificador do atributo
-
getRefsIdentifier
Retorna o identificador do atributo de referências- Overrides:
getRefsIdentifierin classRevocationValues- Returns:
- O identificador do atributo de referências
-