Value.this

Create a #SecretValue for the secret data passed in.

The secret data is copied into non-pageable 'secure' memory.

If the length is less than zero, then secret is assumed to be null-terminated.

class Value
this
(
string secret
,
ptrdiff_t length
,)

Parameters

secret string

the secret data

length ptrdiff_t

the length of the data

contentType string

the content type of the data

Return Value

the new #SecretValue