Expand description
TLS client certificates (mTLS) whose private key stays with the host application.
The application supplies the certificate chain and a ClientCertSigner that signs the TLS
handshake with a key held in the platform keystore. Only the chain and the signatures cross the
FFI boundary.
StructsΒ§
- Client
Certificate - A client certificate chain and the signer for its private key.
- Delegated
Resolver π - Ignores the serverβs acceptable-issuer hints, since there is only one certificate to offer.
- Delegated
Signer π - Delegated
Signing πKey - UniFFI
Callback πHandler Client Cert Signer - UniFfi
Trait Vtable Client Cert Signer
EnumsΒ§
- Client
Cert Signer Error - Error returned by a
ClientCertSigner. - Client
Certificate Error - Why
ClientCertificate::validaterejected a certificate. - Leaf
KeyType π - The leaf key types the SDK can sign handshakes for.
- TlsSig
Scheme - A TLS signature scheme a client certificate key can sign with.
ConstantsΒ§
- DER_
BIT_ πSTRING - DER_
INTEGER π - DER_
SEQUENCE π - PROBE_
MESSAGE π - Not a TLS handshake message, so a signature over it cannot stand in for one.
- SCHEME_
PREFERENCE π - The SDKβs preference order, strongest first. The RSA order matches rustlsβ own RSA keys.
- UNIFFI_
META_ πCONST_ BITWARDEN_ API_ BASE_ CONSTRUCTOR_ CLIENTCERTIFICATE_ NEW - UNIFFI_
META_ πCONST_ BITWARDEN_ API_ BASE_ ENUM_ TLSSIGSCHEME - UNIFFI_
META_ πCONST_ BITWARDEN_ API_ BASE_ ERROR_ CLIENTCERTSIGNERERROR - UNIFFI_
META_ πCONST_ BITWARDEN_ API_ BASE_ INTERFACE_ CLIENTCERTIFICATE - UNIFFI_
META_ πCONST_ BITWARDEN_ API_ BASE_ INTERFACE_ CLIENTCERTSIGNER - UNIFFI_
META_ πCONST_ BITWARDEN_ API_ BASE_ METHOD_ CLIENTCERTSIGNER_ SCHEMES - UNIFFI_
META_ πCONST_ BITWARDEN_ API_ BASE_ METHOD_ CLIENTCERTSIGNER_ SIGN
StaticsΒ§
TraitsΒ§
- Client
Cert Signer - Signs TLS handshakes with the private key of a client certificate, which never leaves the host application.
FunctionsΒ§
- der_
expect π - Splits the DER element at the start of
derinto its content and the bytes after it, if its tag istag. - leaf_
key_ πtype - rsa_
modulus_ πbits - Returns the bit length of the modulus of a DER
RSAPublicKey. - uniffi_
bitwarden_ api_ base_ fn_ init_ callback_ vtable_ clientcertsigner - verifies π