SignatureHashAlgorithm Property
The signature hash algorithm used during signing.
Object Oriented Interface
public function getSignatureHashAlgorithm(); public function setSignatureHashAlgorithm($value);
Procedural Interface
ipworksencrypt_cms_get($res, 23 ); ipworksencrypt_cms_set($res, 23, $value );
Default Value
'SHA256'
Remarks
This property specifies the signature hash algorithm used when Sign is called.
When Sign is called the input data is first hashed with the algorithm specified by this property to produce a message digest. The computed digest is then digitally signed with the certificates specified in Certificates.
The value specified here may be the name of the algorithm or the corresponding OID. Possible values are:
- "SHA-256" (default)
- "SHA-384"
- "SHA-512"
- "SHA-224"
- "SHA1"
- "MD5"
Data Type
String