subtle.getPublicKey(key, keyUsages)
稳定性: 1.1 - 积极开发
¥Stability: 1.1 - Active development
-
key
<CryptoKey> 一个私钥,用于派生相应的公钥。¥
key
<CryptoKey> A private key from which to derive the corresponding public key. -
keyUsages
<string[]> 参见 关键用法。¥
keyUsages
<string[]> See Key usages. -
返回:<Promise> 成功后获得 <CryptoKey>。
¥Returns: <Promise> Fulfills with a <CryptoKey> upon success.
从给定的私钥派生公钥。
¥Derives the public key from a given private key.