Add hash algorithm mappings

This commit is contained in:
Stephen Paul Weber 2010-03-31 14:26:16 -05:00
parent b41bc2c533
commit 8019d3c564

View File

@ -454,6 +454,16 @@ class OpenPGP_SignaturePacket extends OpenPGP_Packet {
return $packet;
}
static $hash_algorithms = array(
1 => 'MD5',
2 => 'SHA1',
3 => 'RIPEMD160',
8 => 'SHA256',
9 => 'SHA384',
10 => 'SHA512',
11 => 'SHA224'
);
static $subpacket_types = array(
//0 => 'Reserved',
//1 => 'Reserved',