@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface AesGcmParams
extends Algorithm
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AesGcmParams.Builder
The AesGcmParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt(), SubtleCrypto.decrypt(), SubtleCrypto.wrapKey(), or SubtleCrypto.unwrapKey(), when using the AES-GCM algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
BufferSource |
additionalData() |
static AesGcmParams.Builder |
create(java.lang.String name,
BufferSource iv) |
@JsNonNull BufferSource |
iv() |
void |
setAdditionalData(@JsNonNull BufferSource additionalData) |
void |
setIv(@JsNonNull BufferSource iv) |
void |
setTagLength(short tagLength) |
short |
tagLength() |
@JsOverlay @Nonnull static AesGcmParams.Builder create(@Nonnull java.lang.String name, @Nonnull BufferSource iv)
@JsProperty(name="iv") @JsNonNull BufferSource iv()
@JsProperty void setIv(@JsNonNull BufferSource iv)
@JsProperty(name="additionalData") BufferSource additionalData()
@JsProperty void setAdditionalData(@JsNonNull BufferSource additionalData)
@JsProperty(name="tagLength") short tagLength()
@JsProperty void setTagLength(short tagLength)