Hi
I am using the snippet at the wiki, to create KeyPair.
I get KEY_SIZE_RANGE error.
in this line:
templatePub.Add(new ObjectAttribute(ObjectAttribute.CKA_MODULUS_BITS,0));
try to use 1024 or 2048 instead of 0
thanks, now i get "ATTRIBUTE_TYPE_INVALID"