Lines Matching refs:isPublic
269 function parseKeyType(typeStr, required, keyType, isPublic, optionName) { argument
278 } else if (typeStr === 'spki' && isPublic !== false) {
280 } else if (typeStr === 'pkcs8' && isPublic !== true) {
282 } else if (typeStr === 'sec1' && isPublic !== true) {
298 function parseKeyFormatAndType(enc, keyType, isPublic, objName) { argument
312 isPublic,
323 function parseKeyEncoding(enc, keyType, isPublic, objName) { argument
331 } = parseKeyFormatAndType(enc, keyType, isPublic, objName);
334 if (isPublic !== true) {
423 const isPublic = ctx === kConsumePublic || ctx === kCreatePublic;
431 if (!isPublic)
435 if (isPublic)
461 const keyType = isPublic ? kKeyTypePublic : kKeyTypePrivate;
483 if (!isPublic) {
506 if (!isPublic) {
560 const isPublic =
564 ...parseKeyEncoding(key, undefined, isPublic),