Add publickey algorithm mappings

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

View File

@ -734,6 +734,18 @@ class OpenPGP_PublicKeyPacket extends OpenPGP_Packet {
return $this->fingerprint = sha1(implode('', $material));
}
}
static $algorithms = array(
1 => 'RSA',
2 => 'RSA',
3 => 'RSA',
16 => 'ELGAMAL',
17 => 'DSA',
18 => 'ECC',
19 => 'ECDSA',
21 => 'DH'
);
}
/**