diff options
Diffstat (limited to 'src/or/torcert.h')
-rw-r--r-- | src/or/torcert.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/torcert.h b/src/or/torcert.h index 0420b41c9f..39439d9d13 100644 --- a/src/or/torcert.h +++ b/src/or/torcert.h @@ -71,6 +71,11 @@ ssize_t tor_make_rsa_ed25519_crosscert(const ed25519_public_key_t *ed_key, const crypto_pk_t *rsa_key, time_t expires, uint8_t **cert); +int rsa_ed25519_crosscert_check(const uint8_t *crosscert, + const size_t crosscert_len, + const crypto_pk_t *rsa_id_key, + const ed25519_public_key_t *master_key, + const time_t reject_if_expired_before); or_handshake_certs_t *or_handshake_certs_new(void); void or_handshake_certs_free(or_handshake_certs_t *certs); |