CK_FLAGS flags, void *wincx)
CK_FLAGS flags, PRBool isPerm, void *wincx)
PK11_ImportSymKeyWithFlags(PK11SlotInfo *slot, CK_MECHANISM_TYPE type,     PK11Origin origin, CK_ATTRIBUTE_TYPE operation, SECItem *key,     CK_FLAGS flags, void *wincx){    PK11SymKey *    symKey;    unsigned int    templateCount = 0;    CK_OBJECT_CLASS keyClass 	= CKO_SECRET_KEY;    CK_KEY_TYPE     keyType 	= CKK_GENERIC_SECRET;    CK_BBOOL        cktrue 	= CK_TRUE; /* sigh */    CK_ATTRIBUTE    keyTemplate[MAX_TEMPL_ATTRS];    CK_ATTRIBUTE *  attrs 	= keyTemplate;    PK11_SETATTRS(attrs, CKA_CLASS, &keyClass, sizeof(keyClass) ); attrs++;    PK11_SETATTRS(attrs, CKA_KEY_TYPE, &keyType, sizeof(keyType) ); attrs++;    templateCount = attrs - keyTemplate;    templateCount += pk11_FlagsToAttributes(flags, attrs, &cktrue);    PR_ASSERT(templateCount+1 <= sizeof(keyTemplate)/sizeof(CK_ATTRIBUTE));    keyType = PK11_GetKeyType(type,key->len);    symKey = pk11_ImportSymKeyWithTempl(slot, type, origin, keyTemplate,     					templateCount, key, wincx);    return symKey;}