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>
public class SignerAttributeV2 extends AbstractSignerAttr
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTIFIERFields inherited from class br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.signed.AbstractSignerAttr
hasOtherAttrCerts, hasSignedAssertion, identifier, toBeThrown -
Constructor Summary
Constructors Constructor Description 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.SignerAttributeV2(org.bouncycastle.asn1.cms.Attribute attributeEncoded)Construtor. -
Method Summary
Modifier and Type Method Description protected voiddecodeAttributeCertificates(org.bouncycastle.asn1.ASN1Object object)protected org.bouncycastle.asn1.DERTaggedObjectgetEncodedAttributeCertificates()Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.signed.AbstractSignerAttr
decode, decodeAttributeCertificatesV2, getAttributeCertificates, getClaimedAttributes, getEncoded, getIdentifier, getSignedAssertions, getValue, isSigned, isUnique, validate
-
Field Details
-
IDENTIFIER
- See Also:
- Constant Field Values
-
-
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 SignatureAttributeExceptionConstrutor.- 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
-