added generic implementation helpers for private_key_t.equals/belongs_to, public_key_t.equals
This commit is contained in:
@@ -168,6 +168,15 @@ struct public_key_t {
|
||||
void (*destroy)(public_key_t *this);
|
||||
};
|
||||
|
||||
/**
|
||||
* Generic public key equals() implementation, usable by implementors.
|
||||
*
|
||||
* @param this first key to compare
|
||||
* @param other second key to compare
|
||||
* @return TRUE if this is equal to other
|
||||
*/
|
||||
bool public_key_equals(public_key_t *this, public_key_t *other);
|
||||
|
||||
/**
|
||||
* Conversion of ASN.1 signature or hash OID to signature scheme.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user