public P11Object[] FindObjects(uint maxCount) { uint[] hObjs = this.Module.P11Module.FindObjects(HSession, maxCount); P11Object[] objs = new P11Object[hObjs.Length]; for (int i = 0; i < hObjs.Length; ++i) { objs[i] = P11Object.GetInstance(this, hObjs[i]); } return(objs); }
public P11Object CreateObject(P11Object template) { uint hObj = this.Module.P11Module.CreateObject(hSession, getAssignedAttributes(template)); return(P11Object.GetInstance(this, hObj)); }