Expand description
Code related to proxying CryptoKey and CryptoKeyPair
Functions
sourceproxifyKey
proxifyKey
source<TKey, TProxKey>(handler: ProxyHandler<TKey>): ((key: TKey) => TProxKey)
<TKey, TProxKey>(handler: ProxyHandler<TKey>): ((key: TKey) => TProxKey)
Type Parameters
TKey extends CryptoKey
TProxKey extends ProxiedCryptoKey<TKey, TProxKey>
Parameters
handler: ProxyHandler<TKey>
Returns ((key: TKey) => TProxKey)
Parameters
key: TKey
Returns TProxKey
sourceproxifyKeyPair
proxifyKeyPair
source<TKeyPair, TPrivKey, TProxPrivKey, TPubKey, TProxPubKey>(__namedParameters: ProxyKeyPairHandlers<TPrivKey, TPubKey>): ((keyPair: TKeyPair) => ProxiedCryptoKeyPair<TKeyPair, TPrivKey, TProxPrivKey, TPubKey, TProxPubKey>)
<TKeyPair, TPrivKey, TProxPrivKey, TPubKey, TProxPubKey>(__namedParameters: ProxyKeyPairHandlers<TPrivKey, TPubKey>): ((keyPair: TKeyPair) => ProxiedCryptoKeyPair<TKeyPair, TPrivKey, TProxPrivKey, TPubKey, TProxPubKey>)
Type Parameters
TKeyPair extends CryptoKeyPair
TPrivKey extends CryptoKey
TProxPrivKey extends ProxiedCryptoKey<TPrivKey, TProxPrivKey>
TPubKey extends CryptoKey
TProxPubKey extends ProxiedCryptoKey<TPubKey, TProxPubKey>
Parameters
__namedParameters: ProxyKeyPairHandlers<TPrivKey, TPubKey>
Returns ((keyPair: TKeyPair) => ProxiedCryptoKeyPair<TKeyPair, TPrivKey, TProxPrivKey, TPubKey, TProxPubKey>)
Parameters
keyPair: TKeyPair
Returns ProxiedCryptoKeyPair<TKeyPair, TPrivKey, TProxPrivKey, TPubKey, TProxPubKey>