Class SecureByteArray
A mutable structure intended to make it easier to hold sensitive data in memory.
Inheritance
SecureByteArray
Assembly: SmartcryptProtocol.dll
Syntax
public sealed class SecureByteArray : IDisposable
Properties
Bytes
Declaration
public byte[] Bytes { get; }
Property Value
Exceptions
Methods
Dispose()
Declaration
Finalize()
Declaration
protected void Finalize()
WithCopyOf(Byte[])
Creates a deep copy of the provided array.
Declaration
public static SecureByteArray WithCopyOf(byte[] bytes)
Parameters
Type |
Name |
Description |
Byte[] |
bytes |
|
Returns
WithOwnershipOf(Byte[])
Holds a reference to the provided array.
Declaration
public static SecureByteArray WithOwnershipOf(byte[] bytes)
Parameters
Type |
Name |
Description |
Byte[] |
bytes |
|
Returns
Implements