public ASN1Primitive toASN1Primitive() { if (bodyPartID != null) { return bodyPartID.toASN1Primitive(); } else { return bodyPartPath.toASN1Primitive(); } } }
public ASN1Primitive toASN1Primitive() { if (pendInfo != null) { return pendInfo.toASN1Primitive(); } return failInfo.toASN1Primitive(); } }
public ASN1Primitive toASN1Primitive() { if (pendInfo != null) { return pendInfo.toASN1Primitive(); } else if (failInfo != null) { return failInfo.toASN1Primitive(); } return extendedFailInfo.toASN1Primitive(); } }
public BodyPartList( BodyPartID[] bodyPartIDs) { this.bodyPartIDs = Utils.clone(bodyPartIDs); }
public CMCStatusInfoV2Builder setOtherInfo(ExtendedFailInfo extendedFailInfo) { this.otherInfo = new OtherStatusInfo(extendedFailInfo); return this; }
private BodyPartList( ASN1Sequence seq) { this.bodyPartIDs = Utils.toBodyPartIDArray(seq); }
public CMCStatusInfoBuilder setOtherInfo(CMCFailInfo failInfo) { this.otherInfo = new CMCStatusInfo.OtherInfo(failInfo); return this; }
public CertificationRequest( X500Name subject, AlgorithmIdentifier subjectPublicAlgorithm, DERBitString subjectPublicKey, ASN1Set attributes, AlgorithmIdentifier signatureAlgorithm, DERBitString signature) { this.certificationRequestInfo = new CertificationRequestInfo(subject, subjectPublicAlgorithm, subjectPublicKey, attributes); this.signatureAlgorithm = signatureAlgorithm; this.signature = signature; }
public CMCStatusInfoV2 build() { return new CMCStatusInfoV2(cMCStatus, bodyList, statusString, otherInfo); } }
public CMCStatusInfo build() { return new CMCStatusInfo(cMCStatus, bodyList, statusString, otherInfo); } }
public PKIData( TaggedAttribute[] controlSequence, TaggedRequest[] reqSequence, TaggedContentInfo[] cmsSequence, OtherMsg[] otherMsgSequence) { this.controlSequence = copy(controlSequence); this.reqSequence = copy(reqSequence); this.cmsSequence = copy(cmsSequence); this.otherMsgSequence = copy(otherMsgSequence); }
public ExtensionReq( Extension[] extensions) { this.extensions = Utils.clone(extensions); }
public CMCStatusInfoV2Builder setOtherInfo(PendInfo pendInfo) { this.otherInfo = new OtherStatusInfo(pendInfo); return this; }
private BodyPartPath( ASN1Sequence seq) { this.bodyPartIDs = Utils.toBodyPartIDArray(seq); }
public CMCStatusInfoBuilder setOtherInfo(PendInfo pendInfo) { this.otherInfo = new CMCStatusInfo.OtherInfo(pendInfo); return this; }
public TaggedAttribute[] getControlSequence() { return copy(controlSequence); }
public BodyPartPath( BodyPartID[] bodyPartIDs) { this.bodyPartIDs = Utils.clone(bodyPartIDs); }
public CMCStatusInfoV2Builder setOtherInfo(CMCFailInfo failInfo) { this.otherInfo = new OtherStatusInfo(failInfo); return this; }
public BodyPartID[] getBodyPartIDs() { return Utils.clone(bodyPartIDs); }
public BodyPartID[] getBodyPartIDs() { return Utils.clone(bodyPartIDs); }