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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringEntrada no cabeçalho que relacionam o SigningCertificateprotected JadesVerifierVerificador de assinatura JWSFields inherited from class RevocationRefs
CRL_REFS, OCSP_REFS, OTHER_REFS -
Constructor Summary
ConstructorsConstructorDescriptionAttributeRevocationRefs(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 TypeMethodDescriptionRetorna o identificador do atributoRetorna o identificador do atributo de valoresbooleanisUnique()Informa se o atributo deve ter apenas uma instância na assinaturaMethods inherited from class RevocationRefs
getCrlRefs, getEncoded, getOcspRefs, getValue, isSigned, match, match, match, validate
-
Field Details
-
IDENTIFIER
Entrada no cabeçalho que relacionam o SigningCertificate- See Also:
-
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:
isUniquein interfaceSignatureAttribute<JadesAttrCommonStruct>- Overrides:
isUniquein classRevocationRefs- 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 classRevocationRefs- Returns:
- O identificador do atributo
-
getValuesIdentifier
Retorna o identificador do atributo de valores- Overrides:
getValuesIdentifierin classRevocationRefs- Returns:
- O identificador do atributo de valores
-