* Returns the KeyObject's native type slot as a string. * @param {KeyObject} key * @returns {'secret' | 'public' | 'private'}
(key)
| 877 | * @returns {'secret' | 'public' | 'private'} |
| 878 | */ |
| 879 | function getKeyObjectType(key) { |
| 880 | return keyObjectTypeToString(getKeyObjectSlots(key)[kKeyObjectSlotType]); |
| 881 | } |
| 882 | |
| 883 | /** |
| 884 | * Returns the KeyObjectHandle wrapping the KeyObject's underlying key |
no test coverage detected
searching dependent graphs…