Module Info
- Reference
BT4PT-EncryptedDataV1-0- Numeric OID
1.3.6.1.4.1.17218.1.2.11.1.0
BT4PT Encrypted Data - DRAFT.
BT4PT-EncryptedDataV1-01.3.6.1.4.1.17218.1.2.11.1.0This module explicitly exports the following symbols:
EncryptedData encryptedDataThis sequence contains the following fields:
The encrypted data.
A new 128-bit Content Encryption Key SHALL be generated uniformly at random for every EncryptedData value and SHALL NOT be reused.
The ciphertext uses AES-128-GCM encryption with a nonce of 12 null bytes and associated data being the CUPER encoding of EncryptedDataHeader.
The value, after decryption SHALL be the CUPER encoding of InnerData.
This is an object of the class: DATA-ELEMENT
This object has the following field values:
ENC1
This sequence contains the following fields:
An X25519 ephemeral public key.
This type is constrained in the following way:
The length of the value must exactly:
32
This type is constrained in the following way:
The length of the value must be greater than or equal to:
1
The length of the value must be less than or equal to:
32
This sequence contains the following fields:
The 128-bit Content Encryption Key, wrapped according to RFC 3394. The wrapping key is derived as follows:
SK be the result of the X25519 exchange between the ephemeral key and the long term key identified by (securityProvider, keyId).SK is the all-zero 32-byte string, the key agreement SHALL be considered to have failed.HKDF-SHA256(SK, length=32 bytes, salt=ephemeralPublicKey, info="BT4PT-EncryptedDataV1-0" || CUPER(RecipientKey))This type is constrained in the following way:
The length of the value must exactly:
24
This sequence contains the following fields:
This type is constrained in the following way:
The value must be greater than or equal to:
1
The value must be less than or equal to:
65536
This type is constrained in the following way:
The length of the value must be greater than or equal to:
1
The length of the value must be less than or equal to:
16
This type is concretely parameterised with the following:
This type is constrained in the following way:
The type must satisfy the following field constraints, other fields are unconstrained:
| Field | Presence | Value |
|---|---|---|
| format | No stipulation |
InverseAny value, except any satisfying the following: UnionAny of the following can be true: Single value
The value must be exactly:
OR Single value
The value must be exactly:
OR Single value
The value must be exactly:
|
This object set has the following members:
| &id | &Type | &encoding | &Constraints |
|---|---|---|---|
LUG1
|
LuggageTag | cuperEncoding | NULL |
| Other members may be added at runtime. | |||