mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
refactor: hide DcSecretKey trait from the API
This commit is contained in:
@@ -164,7 +164,7 @@ impl DcKey for SignedSecretKey {
|
|||||||
/// Deltachat extension trait for secret keys.
|
/// Deltachat extension trait for secret keys.
|
||||||
///
|
///
|
||||||
/// Provides some convenience wrappers only applicable to [SignedSecretKey].
|
/// Provides some convenience wrappers only applicable to [SignedSecretKey].
|
||||||
pub trait DcSecretKey {
|
pub(crate) trait DcSecretKey {
|
||||||
/// Create a public key from a private one.
|
/// Create a public key from a private one.
|
||||||
fn split_public_key(&self) -> Result<SignedPublicKey>;
|
fn split_public_key(&self) -> Result<SignedPublicKey>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user