Uses of Class
se.digg.dgc.signatures.cwt.Cwt.CwtBuilder
-
Packages that use Cwt.CwtBuilder Package Description se.digg.dgc.signatures.cwt CWT support according to RFC 8392. -
-
Uses of Cwt.CwtBuilder in se.digg.dgc.signatures.cwt
Methods in se.digg.dgc.signatures.cwt that return Cwt.CwtBuilder Modifier and Type Method Description Cwt.CwtBuilder
Cwt.CwtBuilder. audience(String audience)
Adds a audience to the "aud" claim.static Cwt.CwtBuilder
Cwt. builder()
Creates aCwt.CwtBuilder
.Cwt.CwtBuilder
Cwt.CwtBuilder. claim(int claimKey, byte[] value)
Sets a claim identified byclaimKey
.Cwt.CwtBuilder
Cwt.CwtBuilder. claim(int claimKey, com.upokecenter.cbor.CBORObject value)
Sets a claim identified byclaimKey
.Cwt.CwtBuilder
Cwt.CwtBuilder. claim(String claimKey, byte[] value)
Sets a claim identified byclaimKey
.Cwt.CwtBuilder
Cwt.CwtBuilder. claim(String claimKey, com.upokecenter.cbor.CBORObject value)
Sets a claim identified byclaimKey
.Cwt.CwtBuilder
Cwt.CwtBuilder. cwtId(byte[] cti)
Sets the "cti" claim.Cwt.CwtBuilder
Cwt.CwtBuilder. dgcV1(byte[] dgcPayload)
Sets the DGC v1 payload.Cwt.CwtBuilder
Cwt.CwtBuilder. expiration(Instant exp)
Sets the "exp" claim.Cwt.CwtBuilder
Cwt.CwtBuilder. issuedAt(Instant iat)
Sets the "iat" claim.Cwt.CwtBuilder
Cwt.CwtBuilder. issuer(String issuer)
Sets the "iss" claim.Cwt.CwtBuilder
Cwt.CwtBuilder. notBefore(Instant nbf)
Sets the "nbf" claim.Cwt.CwtBuilder
Cwt.CwtBuilder. subject(String subject)
Sets the "sub" claim.
-