#[non_exhaustive]pub enum ProviderCapability<'a> {
Show 13 variants
Digest(DigestAlgorithm),
Sign(SignatureAlgorithm),
Verify(SignatureAlgorithm),
VerifyCertificate(X509SignatureAlgorithm),
Encrypt(DataEncryptionAlgorithm),
Decrypt(DataEncryptionAlgorithm),
KeyWrap(KeyWrapAlgorithm),
KeyUnwrap(KeyWrapAlgorithm),
KeyTransport(&'a RsaOaepParameters),
KeyRecovery(&'a RsaOaepParameters),
KeyAgreement(&'a KeyAgreementParameters<'a>),
Kdf(&'a KdfParameters<'a>),
Random,
}Expand description
One exact provider capability, including operation-specific parameters.
Capability discovery describes mechanisms, not policy permission. Callers must still apply the immutable operation policy before provider dispatch.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Digest(DigestAlgorithm)
Message digest computation for an XMLDSig digest method.
Sign(SignatureAlgorithm)
Signature generation for an XMLDSig signature method.
Verify(SignatureAlgorithm)
Signature verification for an XMLDSig signature method.
VerifyCertificate(X509SignatureAlgorithm)
X.509 signature verification with complete algorithm parameters.
Encrypt(DataEncryptionAlgorithm)
XMLEnc content encryption.
Decrypt(DataEncryptionAlgorithm)
XMLEnc content decryption.
KeyWrap(KeyWrapAlgorithm)
RFC 3394 key wrapping.
KeyUnwrap(KeyWrapAlgorithm)
RFC 3394 key unwrapping.
KeyTransport(&'a RsaOaepParameters)
RSA-OAEP key transport with complete digest, MGF, and label parameters.
KeyRecovery(&'a RsaOaepParameters)
RSA-OAEP key recovery with complete digest, MGF, and label parameters.
KeyAgreement(&'a KeyAgreementParameters<'a>)
Provider-defined key agreement identified by its standard URI.
Kdf(&'a KdfParameters<'a>)
Provider-defined key derivation identified by its standard URI.
Random
Cryptographically secure random byte generation.
Implementations§
Source§impl ProviderCapability<'_>
impl ProviderCapability<'_>
Trait Implementations§
Source§impl<'a> Clone for ProviderCapability<'a>
impl<'a> Clone for ProviderCapability<'a>
Source§fn clone(&self) -> ProviderCapability<'a>
fn clone(&self) -> ProviderCapability<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more