Dela via


Secret Constructors

Definition

Overloads

Secret(ISecret)

Creates a new Secret from another secret object.

Secret(ArraySegment<Byte>)

Creates a new Secret from the provided input value, where the input value is specified as an array segment.

Secret(Byte[])

Creates a new Secret from the provided input value, where the input value is specified as an array.

Secret(Byte*, Int32)

Creates a new Secret from the provided input value, where the input value is specified as a pointer to unmanaged memory.

Secret(ISecret)

Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs

Creates a new Secret from another secret object.

public:
 Secret(Microsoft::AspNetCore::DataProtection::ISecret ^ secret);
public Secret (Microsoft.AspNetCore.DataProtection.ISecret secret);
new Microsoft.AspNetCore.DataProtection.Secret : Microsoft.AspNetCore.DataProtection.ISecret -> Microsoft.AspNetCore.DataProtection.Secret
Public Sub New (secret As ISecret)

Parameters

secret
ISecret

Applies to

Secret(ArraySegment<Byte>)

Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs

Creates a new Secret from the provided input value, where the input value is specified as an array segment.

public:
 Secret(ArraySegment<System::Byte> value);
public Secret (ArraySegment<byte> value);
new Microsoft.AspNetCore.DataProtection.Secret : ArraySegment<byte> -> Microsoft.AspNetCore.DataProtection.Secret
Public Sub New (value As ArraySegment(Of Byte))

Parameters

Applies to

Secret(Byte[])

Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs

Creates a new Secret from the provided input value, where the input value is specified as an array.

public:
 Secret(cli::array <System::Byte> ^ value);
public Secret (byte[] value);
new Microsoft.AspNetCore.DataProtection.Secret : byte[] -> Microsoft.AspNetCore.DataProtection.Secret
Public Sub New (value As Byte())

Parameters

value
Byte[]

Applies to

Secret(Byte*, Int32)

Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs
Source:
Secret.cs

Creates a new Secret from the provided input value, where the input value is specified as a pointer to unmanaged memory.

public:
 Secret(System::Byte* secret, int secretLength);
public Secret (byte* secret, int secretLength);
new Microsoft.AspNetCore.DataProtection.Secret : nativeptr<byte> * int -> Microsoft.AspNetCore.DataProtection.Secret

Parameters

secret
Byte*
secretLength
Int32

Applies to