public class SignerRules extends ASN1Object
SignerRules ::= SEQUENCE {
externalSignedData BOOLEAN OPTIONAL,
-- True if signed data is external to CMS structure
-- False if signed data part of CMS structure
-- not present if either allowed
mandatedSignedAttr CMSAttrs,
-- Mandated CMS signed attributes
mandatedUnsignedAttr CMSAttrs,
-- Mandated CMS unsigned attributed
mandatedCertificateRef [0] CertRefReq DEFAULT signerOnly,
-- Mandated Certificate Reference
mandatedCertificateInfo [1] CertInfoReq DEFAULT none,
-- Mandated Certificate Info
signPolExtensions [2]SignPolExtensions OPTIONAL
}
CMSAttrs ::= SEQUENCE OF OBJECT IDENTIFIER *
ASN1Boolean,
ASN1Encodable,
ASN1Sequence,
ASN1Primitive,
DERSequence,
DERTaggedObject| Constructor and Description |
|---|
SignerRules() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getExternalSignedData() |
CertInfoReq |
getMandatedCertificateInfo() |
CertRefReq |
getMandatedCertificateRef() |
CMSAttrs |
getMandatedSignedAttr() |
CMSAttrs |
getMandatedUnsignedAttr() |
SignPolExtensions |
getSignPolExtensions() |
void |
parse(org.bouncycastle.asn1.ASN1Primitive primitive) |
void |
setExternalSignedData(Boolean externalSignedData) |
void |
setMandatedCertificateInfo(CertInfoReq mandatedCertificateInfo) |
void |
setMandatedCertificateRef(CertRefReq mandatedCertificateRef) |
void |
setMandatedSignedAttr(CMSAttrs mandatedSignedAttr) |
void |
setMandatedUnsignedAttr(CMSAttrs mandatedUnsignedAttr) |
void |
setSignPolExtensions(SignPolExtensions signPolExtensions) |
getDEREnumerated, getDERSequencepublic Boolean getExternalSignedData()
public void setExternalSignedData(Boolean externalSignedData)
public CMSAttrs getMandatedSignedAttr()
public void setMandatedSignedAttr(CMSAttrs mandatedSignedAttr)
public CMSAttrs getMandatedUnsignedAttr()
public void setMandatedUnsignedAttr(CMSAttrs mandatedUnsignedAttr)
public CertRefReq getMandatedCertificateRef()
public void setMandatedCertificateRef(CertRefReq mandatedCertificateRef)
public CertInfoReq getMandatedCertificateInfo()
public void setMandatedCertificateInfo(CertInfoReq mandatedCertificateInfo)
public SignPolExtensions getSignPolExtensions()
public void setSignPolExtensions(SignPolExtensions signPolExtensions)
public void parse(org.bouncycastle.asn1.ASN1Primitive primitive)
parse in class ASN1Objectprimitive - ASN1 Primitive to parseCopyright © 2021 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.