Top Inners Fields Constructors Methods
org.keycloak.sdjwt

public Class UndisclosedArrayElement

extends Disclosable
implements SdJwtArrayElement
Class Inheritance
All Implemented Interfaces
org.keycloak.sdjwt.SdJwtArrayElement
Imports
java.util.Objects, com.fasterxml.jackson.databind.JsonNode

Author
Francis Pouatcha

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final JsonNode

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static UndisclosedArrayElement.Builder
public JsonNode
getVisibleValue(String hashAlg)

Implements org.keycloak.sdjwt.SdJwtArrayElement.getVisibleValue.

Returns the value visibly printed as array element in the issuer signed jwt.
pack-priv Object[]
toArray()

Implements abstract org.keycloak.sdjwt.Disclosable.toArray.

Returns the array of undisclosed value, for encoding (disclosure string) and hashing (_sd digest array in the VC).
Inherited from org.keycloak.sdjwt.Disclosable:
getDisclosureDigestgetDisclosureStringgetSaltgetSaltAsStringtoJsontoString

Field Detail

arrayElementback to summary
private final JsonNode arrayElement

Constructor Detail

UndisclosedArrayElementback to summary
private UndisclosedArrayElement(SdJwtSalt salt, JsonNode arrayElement)

Method Detail

builderback to summary
public static UndisclosedArrayElement.Builder builder()
getVisibleValueback to summary
public JsonNode getVisibleValue(String hashAlg)

Implements org.keycloak.sdjwt.SdJwtArrayElement.getVisibleValue.

Doc from org.keycloak.sdjwt.SdJwtArrayElement.getVisibleValue.

Returns the value visibly printed as array element in the issuer signed jwt.

Annotations
@Override
toArrayback to summary
pack-priv Object[] toArray()

Implements abstract org.keycloak.sdjwt.Disclosable.toArray.

Doc from org.keycloak.sdjwt.Disclosable.toArray.

Returns the array of undisclosed value, for encoding (disclosure string) and hashing (_sd digest array in the VC).

Annotations
@Override
org.keycloak.sdjwt back to summary

public Class UndisclosedArrayElement.Builder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private JsonNode
private SdJwtSalt

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public UndisclosedArrayElement
public UndisclosedArrayElement.Builder
withArrayElement(JsonNode arrayElement)

public UndisclosedArrayElement.Builder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

arrayElementback to summary
private JsonNode arrayElement
saltback to summary
private SdJwtSalt salt

Constructor Detail

Builderback to summary
public Builder()

Method Detail

buildback to summary
public UndisclosedArrayElement build()
withArrayElementback to summary
public UndisclosedArrayElement.Builder withArrayElement(JsonNode arrayElement)
withSaltback to summary
public UndisclosedArrayElement.Builder withSalt(SdJwtSalt salt)