Searched refs:kKeyTypePrivate (Results 1 - 12 of 12) sorted by relevance
/third_party/node/src/crypto/ |
H A D | crypto_keys.cc | 623 case kKeyTypePrivate: in ExportJWKInner() 659 KeyObjectData::CreateAsymmetric(kKeyTypePrivate, *this); in ToEncodedPrivateKey() 663 KeyObjectData::CreateAsymmetric(kKeyTypePrivate, *this); in ToEncodedPrivateKey() 750 CHECK_EQ(key->Data()->GetKeyType(), kKeyTypePrivate); in GetPrivateKeyFromJs() 852 case kKeyTypePrivate: in MemoryInfo() 1001 case kKeyTypePrivate: { in Init() 1107 new_key_fn fn = type == kKeyTypePrivate in InitEDRaw() 1161 case kKeyTypePrivate: { in Equals() 1199 case kKeyTypePrivate: in GetKeyDetail() 1254 if (type == kKeyTypePrivate) { in CheckEcKeyData() [all...] |
H A D | crypto_rsa.cc | 275 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport() 355 CHECK_EQ(key_data->GetKeyType(), kKeyTypePrivate); in DoCipher() 403 if (key->GetKeyType() == kKeyTypePrivate) { in ExportJWKRsaKey() 442 KeyType type = d_value->IsString() ? kKeyTypePrivate : kKeyTypePublic; in ImportJWKRsaKey() 458 if (type == kKeyTypePrivate) { in ImportJWKRsaKey()
|
H A D | crypto_ec.cc | 472 if (private_key->Data()->GetKeyType() != kKeyTypePrivate || in AdditionalConfig() 643 case kKeyTypePrivate: in EC_Raw_Export() 703 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport() 833 if (key->GetKeyType() == kKeyTypePrivate) { in ExportJWKEcKey() 886 if (key->GetKeyType() == kKeyTypePrivate) { in ExportJWKEdKey() 951 KeyType type = d_value->IsString() ? kKeyTypePrivate : kKeyTypePublic; in ImportJWKEcKey() 970 if (type == kKeyTypePrivate) { in ImportJWKEcKey()
|
H A D | crypto_dsa.cc | 117 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport()
|
H A D | crypto_dh.cc | 611 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport() 652 CHECK_EQ(our_key_object->Data()->GetKeyType(), kKeyTypePrivate); in Stateless() 687 if (private_key->Data()->GetKeyType() != kKeyTypePrivate || in AdditionalConfig()
|
H A D | crypto_keys.h | 41 kKeyTypePrivate enumerator
|
H A D | crypto_x509.cc | 410 CHECK_EQ(key->Data()->GetKeyType(), kKeyTypePrivate); in CheckPrivateKey()
|
H A D | crypto_context.cc | 581 if (key->GetKeyType() != KeyType::kKeyTypePrivate) { in UseKey()
|
/third_party/node/lib/internal/crypto/ |
H A D | cfrg.js | 14 kKeyTypePrivate, 98 const keyType = isPublic ? kKeyTypePublic : kKeyTypePrivate;
|
H A D | ec.js | 14 kKeyTypePrivate, 246 keyObject = type === kKeyTypePrivate ?
|
H A D | rsa.js | 19 kKeyTypePrivate, 280 keyObject = type === kKeyTypePrivate ?
|
H A D | keys.js | 19 kKeyTypePrivate, 461 const keyType = isPublic ? kKeyTypePublic : kKeyTypePrivate; 632 handle.init(kKeyTypePrivate, data, format, type, passphrase);
|
Completed in 12 milliseconds