C# Class StreamCryptor.Model.EncryptedFileFooter

Show file Open project: bitbeans/StreamCryptor Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
SetFooterChecksum ( byte chunkCount, byte chunkOverallLength, byte ephemeralKey, int footerChecksumLength ) : void

Sets the footer checksum.

ValidateFooterChecksum ( byte chunkCount, byte chunkOverallLength, byte ephemeralKey, int footerChecksumLength ) : void

Validates the footer checksum.

Method Details

SetFooterChecksum() public method

Sets the footer checksum.
public SetFooterChecksum ( byte chunkCount, byte chunkOverallLength, byte ephemeralKey, int footerChecksumLength ) : void
chunkCount byte Number of chunks in the file.
chunkOverallLength byte Length of all chunks in the file.
ephemeralKey byte A 64 byte key.
footerChecksumLength int The length of the checksum.
return void

ValidateFooterChecksum() public method

Validates the footer checksum.
public ValidateFooterChecksum ( byte chunkCount, byte chunkOverallLength, byte ephemeralKey, int footerChecksumLength ) : void
chunkCount byte Number of chunks in the file.
chunkOverallLength byte Length of all chunks in the file.
ephemeralKey byte A 64 byte key.
footerChecksumLength int The length of the checksum.
return void