Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.ObjectAttribute C# (CSharp) Method

ObjectAttribute() public method

Creates attribute of given type with mechanism array value
public ObjectAttribute ( CKA type, List value ) : System
type CKA Attribute type
value List Attribute value
return System
        public ObjectAttribute(CKA type, List<CKM> value)
        {
            CKM[] mechanisms = null;
            
            if (value != null)
                mechanisms = value.ToArray();
            
            _ckAttribute = CkaUtils.CreateAttribute(type, mechanisms);
        }
        

Same methods

ObjectAttribute::ObjectAttribute ( CKA type ) : System
ObjectAttribute::ObjectAttribute ( CKA type, CKC value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, CKK value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, CKO value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, System.DateTime value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, List value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, List value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, bool value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, byte value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, string value ) : System
ObjectAttribute::ObjectAttribute ( CKA type, ulong value ) : System
ObjectAttribute::ObjectAttribute ( CK_ATTRIBUTE attribute ) : System
ObjectAttribute::ObjectAttribute ( ulong type ) : System
ObjectAttribute::ObjectAttribute ( ulong type, System.DateTime value ) : System
ObjectAttribute::ObjectAttribute ( ulong type, List value ) : System
ObjectAttribute::ObjectAttribute ( ulong type, List value ) : System
ObjectAttribute::ObjectAttribute ( ulong type, List value ) : System
ObjectAttribute::ObjectAttribute ( ulong type, bool value ) : System
ObjectAttribute::ObjectAttribute ( ulong type, byte value ) : System
ObjectAttribute::ObjectAttribute ( ulong type, string value ) : System
ObjectAttribute::ObjectAttribute ( ulong type, ulong value ) : System