WebCrypto GOST Class: KeyType

KeyType

Constructor

new KeyType()

The type of a key. The recognized key type values are "public", "private" and "secret". Opaque keying material, including that used for symmetric algorithms, is represented by "secret", while keys used as part of asymmetric algorithms composed of public/private keypairs will be either "public" or "private".
 typedef DOMString KeyType;
WebCrypto API reference http://www.w3.org/TR/WebCryptoAPI/#key-interface
Source: