Function yubihsm::commands::generate_hmac_key::generate_hmac_key [−][src]
pub fn generate_hmac_key<C: Connector>(
session: &mut Session<C>,
key_id: ObjectId,
label: ObjectLabel,
domains: Domain,
capabilities: Capability,
algorithm: HMACAlgorithm
) -> Result<ObjectId, SessionError>
Generate a new HMAC key within the YubiHSM2