@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface CryptoKeyPair
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CryptoKeyPair.Builder
The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
static CryptoKeyPair.Builder |
create() |
CryptoKey |
privateKey() |
CryptoKey |
publicKey() |
void |
setPrivateKey(CryptoKey privateKey) |
void |
setPublicKey(CryptoKey publicKey) |
@JsOverlay @Nonnull static CryptoKeyPair.Builder create()
@JsProperty(name="privateKey") CryptoKey privateKey()
@JsProperty
void setPrivateKey(@Nonnull
CryptoKey privateKey)
@JsProperty(name="publicKey") CryptoKey publicKey()
@JsProperty
void setPublicKey(@Nonnull
CryptoKey publicKey)