Encryption

data class Encryption(val algorithm: String, val compression: String? = null, val originalLength: Long? = null, val profile: String? = null, val scheme: String? = null) : JSONable, Parcelable

Indicates that a resource is encrypted/obfuscated and provides relevant information for decryption.

Parameters

algorithm

Identifies the algorithm used to encrypt the resource (URI).

compression

Compression method used on the resource.

originalLength

Original length of the resource in bytes before compression and/or encryption.

profile

Identifies the encryption profile used to encrypt the resource (URI).

scheme

Identifies the encryption scheme used to encrypt the resource (URI).

Constructors

Link copied to clipboard
constructor(algorithm: String, compression: String? = null, originalLength: Long? = null, profile: String? = null, scheme: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toJSON(): JSONObject

Serializes an Encryption to its RWPM JSON representation.

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)