| Constructor and Description |
|---|
AAD() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
compute(Base64URL encodedJWEHeader)
Computes the Additional Authenticated Data (AAD) for the specified
BASE64URL-encoded JWE header.
|
static byte[] |
compute(JWEHeader jweHeader)
Computes the Additional Authenticated Data (AAD) for the specified
JWE header.
|
static byte[] |
computeLength(byte[] aad)
Computes the bit length of the specified Additional Authenticated
Data (AAD).
|
public AAD()
public static byte[] compute(JWEHeader jweHeader)
jweHeader - The JWE header. Must not be null.public static byte[] compute(Base64URL encodedJWEHeader)
encodedJWEHeader - The BASE64URL-encoded JWE header. Must not
be null.public static byte[] computeLength(byte[] aad) throws IntegerOverflowException
aad - The Additional Authenticated Data (AAD). Must not be
null.IntegerOverflowException - On a integer overflow.Copyright © 2020 Connect2id Ltd.. All rights reserved.