Class SDIssuance

    • Constructor Detail

      • SDIssuance

        public SDIssuance​(String sdJwt,
                          Collection<Disclosure> disclosures)
        Constructor with an SD-JWT and disclosures.

        The references to Disclosure instances in the given disclosure collection are internally copied and the SDCombinedFormat.getDisclosures() method returns the copied list as an unmodifiable list. On copy, null elements in the given collection are filtered out.

        Parameters:
        sdJwt - An SD-JWT. Must not be null.
        disclosures - Disclosures. May be null.
        Throws:
        IllegalArgumentException - The given SD-JWT is null.