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 type | Python name | RFC / section |
|---|---|---|
PyEncryptionKey | EncryptionKey | RFC 3961 §2 |
PyChecksum | Checksum | RFC 3961 §4 |
PyKDFAlgorithmId | KDFAlgorithmId | RFC 8636 §3.1 |
PyIssuerAndSerialNumber | IssuerAndSerialNumber | RFC 4556 §3.2.2 |
PyExternalPrincipalIdentifier | ExternalPrincipalIdentifier | RFC 4556 §3.2.2 |
PyPKAuthenticator | PKAuthenticator | RFC 4556 §3.2.1 |
PyAuthPack | AuthPack | RFC 4556 §3.2.1 |
PyPaPkAsReq | PaPkAsReq | RFC 4556 §3.2.2 |
PyDHRepInfo | DHRepInfo | RFC 4556 §3.2.4 |
PyKDCDHKeyInfo | KDCDHKeyInfo | RFC 4556 §3.2.4 |
PyReplyKeyPack | ReplyKeyPack | RFC 4556 §3.2.3 |
PyPaPkAsRep | PaPkAsRep | RFC 4556 §3.2.4 |
Call register_pkinit_classes from
synta_python::krb5::register_krb5_module to install the classes.
Structs§
- PyAuth
Pack - PKINIT AuthPack — RFC 4556 §3.2.1
- PyChecksum
- Kerberos Checksum — RFC 3961 §4 / RFC 4556
- PyDH
RepInfo - PKINIT DHRepInfo — RFC 4556 §3.2.4
- PyEncryption
Key - Kerberos EncryptionKey — RFC 3961 §2 / RFC 4556
- PyExternal
Principal Identifier - PKINIT ExternalPrincipalIdentifier — RFC 4556 §3.2.2
- PyIssuer
AndSerial Number - PKINIT IssuerAndSerialNumber — RFC 4556 §3.2.2
- PyKDCDH
KeyInfo - PKINIT KDCDHKeyInfo — RFC 4556 §3.2.4
- PyKDF
Algorithm Id - PKINIT KDF algorithm identifier — RFC 8636 §3.1
- PyPK
Authenticator - PKINIT PKAuthenticator — RFC 4556 §3.2.1
- PyPa
PkAs Rep - PKINIT PA-PK-AS-REP — RFC 4556 §3.2.4
- PyPa
PkAs Req - PKINIT PA-PK-AS-REQ — RFC 4556 §3.2.2
- PyReply
KeyPack - PKINIT ReplyKeyPack — RFC 4556 §3.2.3
Functions§
- register_
pkinit_ classes - Register all PKINIT Python classes into
m(thesynta.krb5submodule).