Module yubihsm::client[][src]

YubiHSM client: main functionality of this crate YubiHSM client: core functionality of this crate.

The Client type provides a set of methods which map to commands which interface with the HSM.

https://developers.yubico.com/YubiHSM2/Commands/

Structs

AttestationCertificate

DER encoded X.509 attestation certificate

AuditLogs

Response from command::get_logs

Client

YubiHSM client: main API in this crate for accessing functions of the HSM hardware device.

DeviceInfoResponse

Response from command::device_info

ECDSASignature

ECDSA signatures (ASN.1 DER encoded)

Ed25519Signature

Ed25519 signature (64-bytes) response from command::sign_ed25519

HMACTag

HMAC tags

ImportWrappedResponse

Response from command::import_wrapped

ListObjectsEntry

Brief information about an object as included in ListObjectsCommand

LogDigest

Truncated SHA-256 digest of a log entry and the previous log digest

LogEntry

Entry in the log response

PublicKey

Response from command::get_pubkey

RSAPKCS1Signature

RSASSA-PKCS#1v1.5 signatures (ASN.1 DER encoded)

RSAPSSSignature

RSASSA-PSS signatures (ASN.1 DER encoded)

ResetResponse

Response from command::reset

StorageStatusResponse

Response from command::storage_status

Enums

ClientErrorKind

Session error kinds

Filter

Filters to apply when listing objects

Constants

ED25519_SIGNATURE_SIZE

Size of an Ed25519 signature

LOG_DIGEST_SIZE

Size of a truncated digest in the log

RSA_PSS_MAX_MESSAGE_SIZE

Maximum message size supported for RSASSA-PSS

Type Definitions

ClientError

Session errors