SecureCipher Property

Return the encryption algorithm used to establish the secure connection with the server.

Syntax

object.SecureCipher

The object is an expression that evaluates to an InternetMail object. The property returns a long integer value.

Remarks

The SecureCipher property returns an integer value which identifies the algorithm used to encrypt the data stream. This property may return one of the following values:

Value Constant Description
0 mailCipherNone No cipher has been selected. This is not a secure connection with the server.
1 mailCipherRC2 The RC2 block cipher was selected. This is a variable key length cipher which supports keys between 40- and 128-bits in length, in 8-bit increments.
2 mailCipherRC4 The RC4 stream cipher was selected. This is a variable key length cipher which supports keys between 40- and 128-bits in length, in 8-bit increments.
4 mailCipherRC5 The RC5 block cipher was selected. This is a variable key length cipher which supports keys up to 2040 bits, in 8-bit increments.
8 mailCipherDES The DES (Data Encryption Standard) block cipher was selected. This is a fixed key length cipher using 56-bit keys.
16 mailCipherDES3 The Triple DES block cipher was selected. This cipher encrypts the data three times using different keys, effectively using a 168-bit key length.
32 mailCipherDESX A variant of the DES block cipher which XORs an extra 64-bits of the key before and after the plaintext has been encrypted, increasing the key size to 184 bits.
64 mailCipherAES The Advanced Encryption Standard cipher (also known as the Rijndael cipher) is a fixed block size cipher which use a key size of 128, 192 or 256 bits. This cipher is supported on Windows Vista and later versions of the operating system.
128 mailCipherSkipjack The Skipjack block cipher was selected. This is a fixed key length cipher, using 80-bit keys.

If a secure connection has not been established, this property will return a value of zero.

Data Type

Integer

See Also

CipherStrength Property, HashStrength Property, Secure Property, SecureHash Property, SecureKeyExchange Property, SecureProtocol Property


Copyright © 2008 Catalyst Development Corporation. All rights reserved.