}
// add localKeyId (if present)
if ((lk_id != null) && (lk_id.length > 0)) {
ASN1ObjectIdentifier lkOID = new ASN1ObjectIdentifier(LK_OID_);
attrUserKeyId = new Attribute(lkOID, new ASN1OctetString(lk_id));
}
// both present -> add both
if ((user_fn != null) && (lk_id != null)) {
Attribute[] attr = new Attribute[2];