Module yubikey::piv [−][src]
Expand description
Personal Identity Verification (PIV) cryptographic keys stored in a YubiKey.
Support for public-key cryptography using keys stored within the PIV slots of a YubiKey.
Supported algorithms:
- Encryption:
- RSA:
RSA1024
,RSA2048
- ECC:
ECCP256
,ECCP384
(NIST curves: P-256, P-384)
- RSA:
- Signatures:
- RSASSA-PKCS#1v1.5:
RSA1024
,RSA2048
- ECDSA:
ECCP256
,ECCP384
(NIST curves: P-256, P-384)
- RSASSA-PKCS#1v1.5:
Structs
Enums
Algorithm identifiers
Retired slot IDs.
Slot identifiers. https://developers.yubico.com/PIV/Introduction/Certificate_slots.html
Constants
Personal Identity Verification (PIV) key slots
Functions
attest
untested
Generate an attestation certificate for a stored key.
decrypt_data
untested
Decrypt data using a PIV key.
Generate new key.
import_ecc_key
untested
Imports a private ECC encryption or signing key into the YubiKey.
import_rsa_key
untested
Imports a private RSA encryption or signing key into the YubiKey.
Sign data using a PIV key.