2.2.2.4 ENCRYPTED_SESSION_KEY Message

The Data field of a PSRP message specifies an ENCRYPTED_SESSION_KEY message when the MessageType field has a value of 0x00010006.

In messages of this type, the Data field is UTF-8 encoded XML, equivalent to the XML created by serializing a Complex Object (section 2.2.5.2) with the following extended properties (see section 2.2.5.2.9).

  • 256-bit symmetric key for AES encryption scheme [FIPS197] encrypted using the public key from the PUBLIC_KEY message (see section 2.2.2.3) using the RSAES-PKCS-v1_5 encryption scheme specified in [RFC8017] section 7.2, and encoded in base64 format.


    0


    1


    2


    3


    4


    5


    6


    7


    8


    9

    1
    0


    1


    2


    3


    4


    5


    6


    7


    8


    9

    2
    0


    1


    2


    3


    4


    5


    6


    7


    8


    9

    3
    0


    1

    0x01

    0x02

    0x00

    0x00

    0x10

    0x66

    0x00

    0x00

    0x00

    0xa4

    0x00

    0x00

    Encrypted Key

    ...

    ...

    ...

    ...

    ...

    ...

    ...

    (Encrypted Key cont'd for 56 rows)

  • Property name: EncryptedSessionKey.

  • Property type: String (see section 2.2.5.1.1).

The Complex Object described in this section SHOULD have no associated type names (section 2.2.5.2.3).

Example:

 <Obj RefId="0">
   <MS>
     <S N="EncryptedSessionKey">
 AQIAABBmAAAApAAAgY6iLhsPXjMGza6Rc6JeEfezwTaZjJhm+gj55YRVzv6QTyRkl3j9XuESv5WhNwHHZD0pAwDC5iZcxFCKtZ4PSuBIy6EULAuvxUCvREZ2NueMLUzbOaLviFc4Y2Qf9rPEBfjK/iKyudKTiF4bY92RTZxoxVECaT4Z9EJI4QyigCIUfjY7oXzcntkc09Its+v9HgoQY50qXCtqB+r1Npdx3gYPvtuTPsRGGPlmKnns6gVALeh8Tw/FPo8EMk+oGpfAUZjhxcNpmrniujs8UTlDzV8JWa/sEjrpewEGTBRWs0AQ3yEj2ALZzpwDa+bHhSp8TtJV+V6ZN7MvTX2igcAwQA==
     </S>
   </MS>
 </Obj>