Get names for key/hash algorithm on signature
This commit is contained in:
parent
bd9c9db00b
commit
3b6b29127f
@ -413,6 +413,14 @@ class OpenPGP_SignaturePacket extends OpenPGP_Packet {
|
|||||||
return $body;
|
return $body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function key_algorithm_name() {
|
||||||
|
return OpenPGP_PublicKeyPacket::$algorithms[$this->key_algorithm];
|
||||||
|
}
|
||||||
|
|
||||||
|
function hash_algorithm_name() {
|
||||||
|
return self::$hash_algorithms[$this->hash_algorithm];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see http://tools.ietf.org/html/rfc4880#section-5.2.3.1
|
* @see http://tools.ietf.org/html/rfc4880#section-5.2.3.1
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user