(bls_private_key: group::Private, namespace: Vec<u8>)
| 47 | } |
| 48 | |
| 49 | impl SummitSchemeProvider { |
| 50 | pub fn new(bls_private_key: group::Private, namespace: Vec<u8>) -> Self { |
| 51 | Self { |
| 52 | schemes: Arc::new(Mutex::new(HashMap::new())), |
| 53 | bls_private_key: Some(bls_private_key), |
| 54 | namespace, |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | pub fn verifier_only(namespace: Vec<u8>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected