java.lang.Object
iu.crypt.CryptJsonAdapters
Provides
IuJsonAdapter
instances for converting Web Crypto and PEM
formats to and from JSON.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IuJsonAdapter
<WebKey.Algorithm> JSON type adapter forWebKey.Algorithm
.static final IuJsonAdapter
<byte[]> JSON type adapter for byte[] using Base64URL encoding with no padding.static final IuJsonAdapter
<BigInteger> JSON type adapter forBigInteger
, as unsigned big-endian binary data encoded asB64URL
.static final IuJsonAdapter
<X509Certificate> JSON type adapter forX509Certificate
.static final IuJsonAdapter
<X509CRL> JSON type adapter forX509CRL
.static final IuJsonAdapter
<WebEncryption.Encryption> JSON type adapterstatic final IuJsonAdapter
<WebCryptoHeader> JSON type adapter forWebCryptoHeader
.static final IuJsonAdapter
<WebKey.Operation> JSON type adapter forWebKey.Operation
.static final IuJsonAdapter
<WebKey.Use> JSON type adapter forWebKey.Use
.static final IuJsonAdapter
<WebKey> JSON type adapter forWebKey
. -
Method Summary
Modifier and TypeMethodDescriptionstatic final <T> IuJsonAdapter
<T> of
(WebCryptoHeader.Param param) Gets a JSON type adapter byWebCryptoHeader.Param
.
-
Field Details
-
B64URL
JSON type adapter for byte[] using Base64URL encoding with no padding. -
BIGINT
JSON type adapter forBigInteger
, as unsigned big-endian binary data encoded asB64URL
.- See Also:
-
CERT
JSON type adapter forX509Certificate
. -
CRL
JSON type adapter forX509CRL
. -
USE
JSON type adapter forWebKey.Use
. -
OP
JSON type adapter forWebKey.Operation
. -
ALG
JSON type adapter forWebKey.Algorithm
. -
ENC
JSON type adapter -
WEBKEY
JSON type adapter forWebKey
. -
JOSE
JSON type adapter forWebCryptoHeader
.
-
-
Method Details
-
of
Gets a JSON type adapter byWebCryptoHeader.Param
.- Type Parameters:
T
- value type- Parameters:
param
-WebCryptoHeader.Param
- Returns:
IuJsonAdapter
-