API Docs for: 1.3.12
Show:

EbacEncryptedSecret Class

Component of EbacEncryptedValue that contains data needed to decrypt encrypted payload. Is, itself, encrypted.

Also contains data used to verify that encrypted-data substitution attacks were not performed on the data.

Must be encryptable by RSA-2048, therefore, serialized form must less than 256 bytes.

Item Index

Properties

Methods

fromEncryptableJson

(
  • obj
)
EbacEncryptedSecret static

Deserializes the field from a compact form used in RSA encryption.

Parameters:

  • obj JSONObject

    Object to deserialize from.

Returns:

EbacEncryptedSecret:

Secret in object form.

toEncryptableJson

() String

Serializes the field into a compact form for RSA encryption.

Returns:

String:

string

Properties

field

String

Dot and Bracket notated index of the field in the parent-most object (if any). Used to verify the field has not been copied from elsewhere.

id

String

Hashed and Base64 encoded ID of the parent (if any) object. Used to verify the data has not been copied from elsewhere.

iv

String

IV used to encrypt/decrypt payload. Base64 encoded.

secret

String

Secret used to encrypt/decrypt payload.