Modifica

Condividi tramite


TaskAgentSessionKey interface

Represents a symmetric key used for message-level encryption for communication sent to an agent.

Properties

encrypted

Gets or sets a value indicating whether or not the key value is encrypted. If this value is true, the Value property should be decrypted using the <c>RSA</c> key exchanged with the server during registration.

encryptionPadding

Name of RSAEncryptionPadding that TFS (backend) used. New Agents will check this value. Won't be emitted for old Agents that only support OaepSHA1.

value

Gets or sets the symmetric key value.

Property Details

encrypted

Gets or sets a value indicating whether or not the key value is encrypted. If this value is true, the Value property should be decrypted using the <c>RSA</c> key exchanged with the server during registration.

encrypted: boolean

Property Value

boolean

encryptionPadding

Name of RSAEncryptionPadding that TFS (backend) used. New Agents will check this value. Won't be emitted for old Agents that only support OaepSHA1.

encryptionPadding: string

Property Value

string

value

Gets or sets the symmetric key value.

value: number[]

Property Value

number[]