Index
All Classes and Interfaces|All Packages
B
- build() - Method in class com.authlete.sd.SDObjectBuilder
-
Create a
Map
instance that represents a JSON object which may include the "_sd
" array. - build(boolean) - Method in class com.authlete.sd.SDObjectBuilder
-
Create a
Map
instance that represents a JSON object which may include the "_sd
" array and the "_sd_alg
" claim.
C
- com.authlete.sd - package com.authlete.sd
D
- decode(List<?>, Collection<Disclosure>) - Method in class com.authlete.sd.SDObjectDecoder
-
Decode the given list with the specified disclosures and the default hash algorithm ("
sha-256
"). - decode(List<?>, Collection<Disclosure>, String) - Method in class com.authlete.sd.SDObjectDecoder
-
Decode the given list with the specified disclosures and hash algorithm.
- decode(Map<String, Object>, Collection<Disclosure>) - Method in class com.authlete.sd.SDObjectDecoder
-
Decode the given map with the specified disclosures.
- digest() - Method in class com.authlete.sd.Disclosure
-
Get the base64url-encoded digest of this disclosure computed with the default hash algorithm ("
sha-256
"). - digest(String) - Method in class com.authlete.sd.Disclosure
-
Get the base64url-encoded digest of this disclosure computed with the specified hash algorithm.
- Disclosure - Class in com.authlete.sd
-
A class that represents the "Disclosure" defined in the SD-JWT specification.
- Disclosure(Object) - Constructor for class com.authlete.sd.Disclosure
-
Constructor with a claim value.
- Disclosure(String, Object) - Constructor for class com.authlete.sd.Disclosure
-
Constructor with a pair of claim name and claim value.
- Disclosure(String, String, Object) - Constructor for class com.authlete.sd.Disclosure
-
Constructor with a salt and a pair of claim name and claim value.
E
- encode(List<?>) - Method in class com.authlete.sd.SDObjectEncoder
-
Encode the content of the given list.
- encode(Map<String, Object>) - Method in class com.authlete.sd.SDObjectEncoder
-
Encode the content of the given map.
- equals(Object) - Method in class com.authlete.sd.Disclosure
G
- getBindingJwt() - Method in class com.authlete.sd.SDJWT
-
Get the binding JWT, which is the JWT placed optionally at the end of SD-JWT.
- getClaimName() - Method in class com.authlete.sd.Disclosure
-
Get the claim name.
- getClaimValue() - Method in class com.authlete.sd.Disclosure
-
Get the claim value.
- getCredentialJwt() - Method in class com.authlete.sd.SDJWT
-
Get the credential JWT, which is the JWT placed at the head of SD-JWT.
- getDisclosure() - Method in class com.authlete.sd.Disclosure
-
Get the disclosure as a string.
- getDisclosures() - Method in class com.authlete.sd.SDJWT
-
Get the list of disclosures.
- getDisclosures() - Method in class com.authlete.sd.SDObjectEncoder
-
Get the list of
Disclosure
s yielded as a result of the encoding process. - getHashAlgorithm() - Method in class com.authlete.sd.SDJWT
-
Get the hash algorithm used for the disclosures.
- getHashAlgorithm() - Method in class com.authlete.sd.SDObjectBuilder
-
Get the hash algorithm that has been specified by the constructor.
- getHashAlgorithm() - Method in class com.authlete.sd.SDObjectEncoder
-
Get the hash algorithm for digests.
- getJson() - Method in class com.authlete.sd.Disclosure
-
Get the JSON representation of this disclosure.
- getRetainedClaims() - Method in class com.authlete.sd.SDObjectEncoder
-
Get the set of claims that are retained without being made selectively-disclosable when they appear in the top-level map.
- getSalt() - Method in class com.authlete.sd.Disclosure
-
Get the salt.
- getSDHash() - Method in class com.authlete.sd.SDJWT
-
Get the SD hash value that can be used as the value of the
"sd_hash"
claim in a key binding JWT.
H
- hashCode() - Method in class com.authlete.sd.Disclosure
I
- isHashAlgorithmIncluded() - Method in class com.authlete.sd.SDObjectEncoder
-
Get the flag indicating whether the "
_sd_alg
" key (that denotes the hash algorithm for digests) will be included in the encoded map.
P
- parse(String) - Static method in class com.authlete.sd.Disclosure
-
Parse the given string as a disclosure.
- parse(String) - Static method in class com.authlete.sd.SDJWT
-
Parse the given string as SD-JWT.
- putClaim(String, Object) - Method in class com.authlete.sd.SDObjectBuilder
-
Put a normal claim.
- putDecoyDigest() - Method in class com.authlete.sd.SDObjectBuilder
-
Put a decoy digest value, which will appear in the "
_sd
" array. - putDecoyDigests(int) - Method in class com.authlete.sd.SDObjectBuilder
-
Put decoy digest values, which will appear in the "
_sd
" array. - putSDClaim(Disclosure) - Method in class com.authlete.sd.SDObjectBuilder
-
Put the digest value of a selectively-disclosable claim.
- putSDClaim(String, Object) - Method in class com.authlete.sd.SDObjectBuilder
-
Put the digest value of a selectively-disclosable claim.
- putSDClaim(String, String, Object) - Method in class com.authlete.sd.SDObjectBuilder
-
Put the digest value of a selectively-disclosable claim.
S
- SDJWT - Class in com.authlete.sd
-
A class that represents SD-JWT.
- SDJWT(String, Collection<Disclosure>) - Constructor for class com.authlete.sd.SDJWT
-
Constructor with a credential JWT and disclosures.
- SDJWT(String, Collection<Disclosure>, String) - Constructor for class com.authlete.sd.SDJWT
-
Constructor with a credential JWT, disclosures and a binding JWT.
- SDObjectBuilder - Class in com.authlete.sd
-
A utility to create a
Map
instance that represents a JSON object which may contain the "_sd
" array and the "_sd_alg
" claim. - SDObjectBuilder() - Constructor for class com.authlete.sd.SDObjectBuilder
-
Constructor with the default hash algorithm ("
sha-256
"). - SDObjectBuilder(String) - Constructor for class com.authlete.sd.SDObjectBuilder
-
Constructor with the specified hash algorithm.
- SDObjectDecoder - Class in com.authlete.sd
-
A utility to decode selectively-disclosable elements in a map or a list recursively.
- SDObjectDecoder() - Constructor for class com.authlete.sd.SDObjectDecoder
- SDObjectEncoder - Class in com.authlete.sd
-
A utility to make elements in a map or a list selectively-disclosable recursively.
- SDObjectEncoder() - Constructor for class com.authlete.sd.SDObjectEncoder
-
The default constructor with the default hash algorithm ("
sha-256
") and the default decoy magnification ratio (min = 0.5, max = 1.5). - SDObjectEncoder(double, double) - Constructor for class com.authlete.sd.SDObjectEncoder
-
A constructor with the default hash algorithm ("
sha-256
") and the specified decoy magnification ratio. - SDObjectEncoder(String) - Constructor for class com.authlete.sd.SDObjectEncoder
-
A constructor with the specified hash algorithm and the default decoy magnification ratio (min = 0.5, max = 1.5).
- SDObjectEncoder(String, double, double) - Constructor for class com.authlete.sd.SDObjectEncoder
-
A constructor with the specified hash algorithm and decoy magnification ratio.
- setDecoyMagnification(double, double) - Method in class com.authlete.sd.SDObjectEncoder
-
Set the decoy magnification ratio.
- setHashAlgorithm(String) - Method in class com.authlete.sd.SDObjectEncoder
-
Set the hash algorithm for digests.
- setHashAlgorithmIncluded(boolean) - Method in class com.authlete.sd.SDObjectEncoder
-
Set the flag indicating whether the "
_sd_alg
" key (that denotes the hash algorithm for digests) will be included in the encoded map.
T
- toArrayElement() - Method in class com.authlete.sd.Disclosure
-
Create a
Map
instance that represents an array element. - toArrayElement(String) - Method in class com.authlete.sd.Disclosure
-
Create a
Map
instance that represents an array element. - toString() - Method in class com.authlete.sd.Disclosure
-
Get the string representation of this instance is returned, which is the disclosure in the base64url format.
- toString() - Method in class com.authlete.sd.SDJWT
-
Get the string representation of this SD-JWT.
All Classes and Interfaces|All Packages