Authority: make v3ident public under experimental-api

This commit is contained in:
Christian Grigis 2022-04-07 11:41:07 +02:00
parent 225accd67e
commit 08bce9b6db
No known key found for this signature in database
GPG Key ID: B1122514CB7755BC
1 changed files with 5 additions and 0 deletions

View File

@ -21,7 +21,12 @@ pub struct Authority {
/// A SHA1 digest of the DER-encoded long-term v3 RSA identity key for
/// this authority.
// TODO: It would be lovely to use a better hash for these identities.
#[cfg(not(feature = "experimental-api"))]
pub(crate) v3ident: RsaIdentity,
#[cfg(feature = "experimental-api")]
/// A SHA1 digest of the DER-encoded long-term v3 RSA identity key for
/// this authority.
pub v3ident: RsaIdentity,
}
impl Authority {