Class Disclosable

java.lang.Object
org.keycloak.sdjwt.Disclosable
Direct Known Subclasses:
UndisclosedArrayElement, UndisclosedClaim

public abstract class Disclosable extends Object
Handles undisclosed claims and array elements, providing functionality to generate disclosure digests from Base64Url encoded strings. Hiding claims and array elements occurs by including their digests instead of plaintext in the signed verifiable credential.
Author:
Francis Pouatcha
  • Constructor Details

    • Disclosable

      protected Disclosable(SdJwtSalt salt)
  • Method Details

    • getSalt

      public SdJwtSalt getSalt()
    • getSaltAsString

      public String getSaltAsString()
    • toJson

      public String toJson()
    • getDisclosureString

      public String getDisclosureString()
    • getDisclosureDigest

      public String getDisclosureDigest(String hashAlg)
    • toString

      public String toString()
      Overrides:
      toString in class Object