1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use crate::error::*;
use crate::handles::*;
use crate::version::Version;
use crate::CryptoCtx;

#[derive(Clone, Debug)]
pub struct SecretsManager {}

impl CryptoCtx {
    pub fn secrets_manager_open(&self, _options: Option<Handle>) -> Result<Handle, CryptoError> {
        bail!(CryptoError::UnsupportedFeature)
    }

    pub fn secrets_manager_close(
        &self,
        _secrets_manager_handle: Handle,
    ) -> Result<(), CryptoError> {
        bail!(CryptoError::UnsupportedFeature)
    }

    pub fn secrets_manager_invalidate(
        &self,
        _secrets_manager_handle: Handle,
        _key_id: &[u8],
        _key_version: Version,
    ) -> Result<(), CryptoError> {
        bail!(CryptoError::UnsupportedFeature)
    }
}