(enc, keyType, objName)
| 508 | // when this is used to parse an input encoding and must be a valid key type if |
| 509 | // used to parse an output encoding. |
| 510 | function parsePrivateKeyEncoding(enc, keyType, objName) { |
| 511 | return parseKeyEncoding(enc, keyType, false, objName); |
| 512 | } |
| 513 | |
| 514 | function validateAsymmetricKeyType(type, ctx, key) { |
| 515 | if (ctx === kCreatePrivate) { |
no test coverage detected
searching dependent graphs…