Class EncryptedJwtDeviceSerialisation

    • Constructor Detail

      • EncryptedJwtDeviceSerialisation

        public EncryptedJwtDeviceSerialisation​(org.forgerock.json.jose.jwe.EncryptionMethod encryptionMethod,
                                               org.forgerock.json.jose.jwe.JweAlgorithm jweAlgorithm,
                                               KeyPair encryptionKeyPair)
    • Method Detail

      • deviceProfileToString

        public String deviceProfileToString​(org.forgerock.json.JsonValue deviceProfile)
        Description copied from interface: DeviceSerialisation
        Converts a JSON device profile to a string.
        Specified by:
        deviceProfileToString in interface DeviceSerialisation
        Parameters:
        deviceProfile - the device profile to convert to a string.
        Returns:
        the serialised device profile.
      • stringToDeviceProfile

        public org.forgerock.json.JsonValue stringToDeviceProfile​(String value)
        Description copied from interface: DeviceSerialisation
        Converts a serialised string back into a JSON device profile.
        Specified by:
        stringToDeviceProfile in interface DeviceSerialisation
        Parameters:
        value - the value to parse back into a JSON device profile.
        Returns:
        the JSON device profile.