public static AttributeTypeAndValue getInstance(Object o) { if (o instanceof AttributeTypeAndValue) { return (AttributeTypeAndValue)o; } if (o != null) { return new AttributeTypeAndValue(ASN1Sequence.getInstance(o)); } return null; }
public static AttributeTypeAndValue getInstance(Object o) { if (o instanceof AttributeTypeAndValue) { return (AttributeTypeAndValue)o; } if (o != null) { return new AttributeTypeAndValue(ASN1Sequence.getInstance(o)); } return null; }
public static AttributeTypeAndValue buildAttributeTypeAndValue(CmpUtf8Pairs utf8Pairs) { Args.notNull(utf8Pairs, "utf8Pairs"); return new AttributeTypeAndValue(CMPObjectIdentifiers.regInfo_utf8Pairs, new DERUTF8String(utf8Pairs.encoded())); }
public static AttributeTypeAndValue buildAttributeTypeAndValue(CmpUtf8Pairs utf8Pairs) { ParamUtil.requireNonNull("utf8Pairs", utf8Pairs); return new AttributeTypeAndValue(CMPObjectIdentifiers.regInfo_utf8Pairs, new DERUTF8String(utf8Pairs.encoded())); }
public static AttributeTypeAndValue buildAttributeTypeAndValue(final CmpUtf8Pairs utf8Pairs) { ParamUtil.requireNonNull("utf8Pairs", utf8Pairs); return new AttributeTypeAndValue(CMPObjectIdentifiers.regInfo_utf8Pairs, new DERUTF8String(utf8Pairs.encoded())); }
CertId certId = new CertId(issuerGn, oldCertSerialNumbers[i]); Controls controls = new Controls( new AttributeTypeAndValue(CMPObjectIdentifiers.regCtrl_oldCertID, certId)); CertRequest certReq = new CertRequest(new ASN1Integer(certReqIds[i]), certTemplateBuilder.build(), controls); new AttributeTypeAndValue(CMPObjectIdentifiers.regInfo_utf8Pairs, new DERUTF8String(utf8pairs)); atvs = new AttributeTypeAndValue[]{certprofileInfo};
new AttributeTypeAndValue(CMPObjectIdentifiers.regInfo_utf8Pairs, new DERUTF8String(utf8pairs)); atvs = new AttributeTypeAndValue[]{certprofileInfo};
CertId certId = new CertId(issuerGn, oldCertSerialNumbers[i]); Controls controls = new Controls( new AttributeTypeAndValue(CMPObjectIdentifiers.regCtrl_oldCertID, certId)); CertRequest certReq = new CertRequest(new ASN1Integer(certReqIds[i]), certTemplateBuilder.build(), controls);
if (uri == null) { AttributeTypeAndValue certprofileInfo = new AttributeTypeAndValue(CMPObjectIdentifiers.regInfo_utf8Pairs, new DERUTF8String("certprofile?" + certprofiles[i] + "%")); atvs = new AttributeTypeAndValue[]{certprofileInfo};