Class SignerAttributeV2
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.signed.AbstractSignerAttr
br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.signed.SignerAttributeV2
- All Implemented Interfaces:
SignatureAttribute<org.bouncycastle.asn1.cms.Attribute>
-
Field Summary
FieldsFields inherited from class AbstractSignerAttr
hasOtherAttrCerts, hasSignedAssertion, identifier, toBeThrown -
Constructor Summary
ConstructorsConstructorDescriptionSignerAttributeV2(Map<org.bouncycastle.asn1.ASN1ObjectIdentifier, List<org.bouncycastle.asn1.ASN1Encodable>> claimedAttributes, List<org.bouncycastle.asn1.x509.AttributeCertificate> certifiedAttributesV2, List<org.bouncycastle.asn1.ASN1Encodable> signerAssertions) Construtor.SignerAttributeV2(org.bouncycastle.asn1.cms.Attribute attributeEncoded) Construtor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecodeAttributeCertificates(org.bouncycastle.asn1.ASN1Object object) protected org.bouncycastle.asn1.DERTaggedObjectMethods inherited from class AbstractSignerAttr
decode, decodeAttributeCertificatesV2, getAttributeCertificates, getClaimedAttributes, getEncoded, getIdentifier, getSignedAssertions, getValue, isSigned, isUnique, validate
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
SignerAttributeV2
public SignerAttributeV2(Map<org.bouncycastle.asn1.ASN1ObjectIdentifier, List<org.bouncycastle.asn1.ASN1Encodable>> claimedAttributes, List<org.bouncycastle.asn1.x509.AttributeCertificate> certifiedAttributesV2, List<org.bouncycastle.asn1.ASN1Encodable> signerAssertions) Construtor.- Parameters:
claimedAttributes- atributoscertifiedAttributesV2- atributossignerAssertions- atributos
-
SignerAttributeV2
public SignerAttributeV2(org.bouncycastle.asn1.cms.Attribute attributeEncoded) throws SignatureAttributeException Construtor.- Parameters:
attributeEncoded- Atributo codificado.- Throws:
SignatureAttributeException- Caso não seja possível decodificar o atributo.
-
-
Method Details
-
decodeAttributeCertificates
protected void decodeAttributeCertificates(org.bouncycastle.asn1.ASN1Object object) throws SignatureAttributeException - Overrides:
decodeAttributeCertificatesin classAbstractSignerAttr- Throws:
SignatureAttributeException
-
getEncodedAttributeCertificates
protected org.bouncycastle.asn1.DERTaggedObject getEncodedAttributeCertificates()- Overrides:
getEncodedAttributeCertificatesin classAbstractSignerAttr
-