Function yubihsm::command::put_opaque::put_opaque[][src]

pub fn put_opaque<A: Adapter, T: Into<Vec<u8>>>(
    session: &mut Session<A>,
    object_id: ObjectId,
    label: ObjectLabel,
    domains: Domain,
    capabilities: Capability,
    algorithm: OpaqueAlg,
    bytes: T
) -> Result<ObjectId, SessionError>

Put an opaque object (X.509 certificate or other bytestring) into the YubiHSM2