Value


Description:

[ CCode ( has_construct_function = false ) ]
public Value (string secret, ssize_t length, string content_type)

Create a Value 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.

Parameters:

secret

the secret data

length

the length of the data

content_type

the content type of the data

Returns:

the new Value