Class EncryptionVerifier
Represents the Encryption Verifier
Inheritance
Namespace: Syncfusion.XlsIO.Implementation.Security
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class EncryptionVerifier : Object
Constructors
EncryptionVerifier()
Default constructor.
Declaration
public EncryptionVerifier()
EncryptionVerifier(Stream)
Initializes new instance of the verifier.
Declaration
public EncryptionVerifier(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to get data from. |
Properties
EncryptedVerifier
MUST be the randomly generated Verifier value encrypted using the algorithm chosen by the implementation.
Declaration
public byte[] EncryptedVerifier { get; set; }
Property Value
Type |
---|
System.Byte[] |
EncryptedVerifierHash
An array of bytes that contains the encrypted form of the hash of the randomly generated Verifier value. The length of the array MUST be the size of the encryption block size multiplied by the number of blocks needed to encrypt the hash of the Verifier. If the encryption algorithm is RC4, the length MUST be 20 bytes. If the encryption algorithm is AES, the length MUST be 32 bytes.
Declaration
public byte[] EncryptedVerifierHash { get; set; }
Property Value
Type |
---|
System.Byte[] |
Salt
An array of bytes that specifies the salt value used during password hash generation. MUST NOT be the same data used for the verifier stored encrypted in the EncryptedVerifier field.
Declaration
public byte[] Salt { get; set; }
Property Value
Type |
---|
System.Byte[] |
VerifierHashSize
Gets/sets size of the verifier hash.
Declaration
public int VerifierHashSize { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Parse(Stream)
Extracts object from stream.
Declaration
public void Parse(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to get data from. |
Serialize(Stream)
Serializes object into stream.
Declaration
public void Serialize(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to serialize into. |