Class JWEObjectJSON.Recipient

    • Constructor Detail

      • Recipient

        public Recipient​(UnprotectedHeader unprotectedHeader,
                         Base64URL encryptedKey)
        Creates a new parsed recipient.
        Parameters:
        unprotectedHeader - The per-recipient unprotected header, null if none.
        encryptedKey - The encrypted key, null if none.
    • Method Detail

      • toJSONObject

        public Map<String,​ObjecttoJSONObject()
        Returns a JSON object representation for use in the general and flattened serialisations.
        Returns:
        The JSON object.