Home
last modified time | relevance | path

Searched refs:kKeyTypePublic (Results 1 - 9 of 9) sorted by relevance

/third_party/node/src/crypto/
H A Dcrypto_keys.cc621 case kKeyTypePublic: in ExportJWKInner()
640 KeyObjectData::CreateAsymmetric(kKeyTypePublic, *this); in ToEncodedPublicKey()
644 KeyObjectData::CreateAsymmetric(kKeyTypePublic, *this); in ToEncodedPublicKey()
854 case kKeyTypePublic: in MemoryInfo()
991 case kKeyTypePublic: { in Init()
1087 kKeyTypePublic, in InitECRaw()
1160 case kKeyTypePublic: in Equals()
1197 case kKeyTypePublic: in GetKeyDetail()
1289 } else if (type == kKeyTypePublic) { in Export()
1423 case kKeyTypePublic in Deserialize()
[all...]
H A Dcrypto_rsa.cc279 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
351 CHECK_EQ(key_data->GetKeyType(), kKeyTypePublic); in DoCipher()
442 KeyType type = d_value->IsString() ? kKeyTypePrivate : kKeyTypePublic; in ImportJWKRsaKey()
H A Dcrypto_ec.cc473 public_key->Data()->GetKeyType() != kKeyTypePublic) { in AdditionalConfig()
646 case kKeyTypePublic: in EC_Raw_Export()
661 if (key_data->GetKeyType() != kKeyTypePublic) in EC_Raw_Export()
707 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
951 KeyType type = d_value->IsString() ? kKeyTypePrivate : kKeyTypePublic; in ImportJWKEcKey()
H A Dcrypto_dsa.cc121 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
H A Dcrypto_x509.cc277 KeyObjectData::CreateAsymmetric(kKeyTypePublic, epkey); in PublicKey()
427 CHECK_EQ(key->Data()->GetKeyType(), kKeyTypePublic); in Verify()
H A Dcrypto_dh.cc615 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
688 public_key->Data()->GetKeyType() != kKeyTypePublic) { in AdditionalConfig()
H A Dcrypto_keys.h40 kKeyTypePublic, enumerator
/third_party/node/lib/internal/crypto/
H A Dcfrg.js15 kKeyTypePublic,
98 const keyType = isPublic ? kKeyTypePublic : kKeyTypePrivate;
H A Dkeys.js18 kKeyTypePublic,
461 const keyType = isPublic ? kKeyTypePublic : kKeyTypePrivate;
619 handle.init(kKeyTypePublic, data, format, type, passphrase);

Completed in 9 milliseconds