共用方式為


SymmetricEncryptedSecret Class

Definition

Represents the secrets encrypted using Symmetric Encryption Key.

public class SymmetricEncryptedSecret
type SymmetricEncryptedSecret = class
Public Class SymmetricEncryptedSecret
Inheritance
SymmetricEncryptedSecret

Constructors

SymmetricEncryptedSecret()

Initializes a new instance of the SymmetricEncryptedSecret class.

SymmetricEncryptedSecret(String, EncryptionAlgorithm, String)

Initializes a new instance of the SymmetricEncryptedSecret class.

Properties

EncryptionAlgorithm

Gets or sets the algorithm used to encrypt the "Value". Possible values include: 'None', 'AES256', 'RSAES_PKCS1_v_1_5'

Value

Gets or sets the value of the secret itself. If the secret is in plaintext or null then EncryptionAlgorithm will be none.

ValueCertificateThumbprint

Gets or sets the thumbprint of the cert that was used to encrypt "Value".

Methods

Validate()

Validate the object.

Applies to