public AttributeTable Add(DerObjectIdentifier attrType, Asn1Encodable attrValue) { AttributeTable attributeTable = new AttributeTable(this.attributes); attributeTable.AddAttribute(new Attribute(attrType, new DerSet(attrValue))); return(attributeTable); }
/** * Return a new table with the passed in attribute added. * * @param attrType * @param attrValue * @return */ public AttributeTable Add(DerObjectIdentifier attrType, Asn1Encodable attrValue) { AttributeTable newTable = new AttributeTable(attributes); newTable.AddAttribute(new Attribute(attrType, new DerSet(attrValue))); return newTable; }