Class AttributeRevocationRefs
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.RevocationRefs
br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.AttributeRevocationRefs
- All Implemented Interfaces:
SignatureAttribute<JadesAttrCommonStruct>
public class AttributeRevocationRefs extends RevocationRefs
-
Field Summary
Fields Modifier and Type Field Description static String
IDENTIFIER
Entrada no cabeçalho que relacionam o SigningCertificateprotected JadesVerifier
signatureVerifier
Verificador de assinatura JWSFields inherited from class br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.RevocationRefs
CRL_REFS, OCSP_REFS, OTHER_REFS
-
Constructor Summary
Constructors Constructor Description AttributeRevocationRefs(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader)
AttributeRevocationRefs(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRefs, String digestAlgorithm)
AttributeRevocationRefs(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRefs, org.bouncycastle.asn1.ASN1ObjectIdentifier digestIdentifier)
AttributeRevocationRefs(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRefs, org.bouncycastle.asn1.x509.AlgorithmIdentifier digestIdentifier)
-
Method Summary
Modifier and Type Method Description String
getIdentifier()
Retorna o identificador do atributoString
getValuesIdentifier()
Retorna o identificador do atributo de valoresboolean
isUnique()
Informa se o atributo deve ter apenas uma instância na assinaturaMethods inherited from class br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned.RevocationRefs
getCrlRefs, getEncoded, getOcspRefs, isSigned, match, match, match, validate
-
Field Details
-
IDENTIFIER
Entrada no cabeçalho que relacionam o SigningCertificate- See Also:
- Constant Field Values
-
signatureVerifier
Verificador de assinatura JWS
-
-
Constructor Details
-
AttributeRevocationRefs
public AttributeRevocationRefs(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader) throws SignatureAttributeException- Throws:
SignatureAttributeException
-
AttributeRevocationRefs
public AttributeRevocationRefs(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRefs, String digestAlgorithm) throws SignatureAttributeException- Throws:
SignatureAttributeException
-
AttributeRevocationRefs
public AttributeRevocationRefs(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRefs, org.bouncycastle.asn1.ASN1ObjectIdentifier digestIdentifier) throws SignatureAttributeException- Throws:
SignatureAttributeException
-
AttributeRevocationRefs
public AttributeRevocationRefs(List<CRL> crls, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps, List<org.json.JSONObject> otherRefs, org.bouncycastle.asn1.x509.AlgorithmIdentifier digestIdentifier) throws SignatureAttributeException- Throws:
SignatureAttributeException
-
-
Method Details
-
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 classRevocationRefs
- 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 classRevocationRefs
- Returns:
- O identificador do atributo
-
getValuesIdentifier
Retorna o identificador do atributo de valores- Overrides:
getValuesIdentifier
in classRevocationRefs
- Returns:
- O identificador do atributo de valores
-