Whether to automatically select algorithms when encrypting or signing.
public int getAutoSelectAlgorithms(); public void setAutoSelectAlgorithms(int autoSelectAlgorithms);
This property is set to the binary 'OR' of one or more options indicating which algorithms to automatically select.
When enabled automatic selection is performed by examining the perferred algorithms specified by the key.
When Sign is called the component will read the preferred MAC algorithm and compression method from the private key specified in Keys . If multiple keys are specified the preferred MAC algorithm and compression method from the last key is used. The SigningAlgorithm and CompressionMethod properties are ignored.
The list below defines available options.
|Compression Algorithm||1 (Hex 0x01)|
|Cipher Algorithm||2 (Hex 0x02)|
|MAC Algorithm||4 (Hex 0x04)|
The default value is 0 which means algorithms are not automatically selected.