Skip to main content

Module pkinit

Module pkinit 

Source
Expand description

Python bindings for PKINIT types (RFC 4556 + RFC 6112 + RFC 8636).

Exposes the ASN.1 structures used in PKINIT AS exchanges as frozen Python classes under the synta.krb5 namespace.

§Classes

Rust typePython nameRFC / section
PyEncryptionKeyEncryptionKeyRFC 3961 §2
PyChecksumChecksumRFC 3961 §4
PyKDFAlgorithmIdKDFAlgorithmIdRFC 8636 §3.1
PyIssuerAndSerialNumberIssuerAndSerialNumberRFC 4556 §3.2.2
PyExternalPrincipalIdentifierExternalPrincipalIdentifierRFC 4556 §3.2.2
PyPKAuthenticatorPKAuthenticatorRFC 4556 §3.2.1
PyAuthPackAuthPackRFC 4556 §3.2.1
PyPaPkAsReqPaPkAsReqRFC 4556 §3.2.2
PyDHRepInfoDHRepInfoRFC 4556 §3.2.4
PyKDCDHKeyInfoKDCDHKeyInfoRFC 4556 §3.2.4
PyReplyKeyPackReplyKeyPackRFC 4556 §3.2.3
PyPaPkAsRepPaPkAsRepRFC 4556 §3.2.4

Call register_pkinit_classes from synta_python::krb5::register_krb5_module to install the classes.

Structs§

PyAuthPack
PKINIT AuthPack — RFC 4556 §3.2.1
PyChecksum
Kerberos Checksum — RFC 3961 §4 / RFC 4556
PyDHRepInfo
PKINIT DHRepInfo — RFC 4556 §3.2.4
PyEncryptionKey
Kerberos EncryptionKey — RFC 3961 §2 / RFC 4556
PyExternalPrincipalIdentifier
PKINIT ExternalPrincipalIdentifier — RFC 4556 §3.2.2
PyIssuerAndSerialNumber
PKINIT IssuerAndSerialNumber — RFC 4556 §3.2.2
PyKDCDHKeyInfo
PKINIT KDCDHKeyInfo — RFC 4556 §3.2.4
PyKDFAlgorithmId
PKINIT KDF algorithm identifier — RFC 8636 §3.1
PyPKAuthenticator
PKINIT PKAuthenticator — RFC 4556 §3.2.1
PyPaPkAsRep
PKINIT PA-PK-AS-REP — RFC 4556 §3.2.4
PyPaPkAsReq
PKINIT PA-PK-AS-REQ — RFC 4556 §3.2.2
PyReplyKeyPack
PKINIT ReplyKeyPack — RFC 4556 §3.2.3

Functions§

register_pkinit_classes
Register all PKINIT Python classes into m (the synta.krb5 submodule).