Expand description
RSA signature creation and verification utilities.
Ported from net/minecraft/util/Signer.java and SignatureValidator.java
Structs§
- Byte
Collector 🔒 - Helper struct to collect bytes during signature operations.
- Multi
KeyValidator - A multi-key validator that tries each public key until one validates.
- NoValidation
- A no-validation validator that always returns true.
- RsaPrivate
KeySigner - Creates a signer from an RSA private key using
SHA256withRSA. - RsaPublic
KeyValidator - Creates a signature validator from an RSA public key using
SHA256withRSA.
Traits§
- Signature
Output - Output receiver for signature data.
- Signature
Updater - A function that updates signature data by writing bytes.
- Signature
Validator - A trait for validating RSA signatures.
- Signer
- A trait for signing data with an RSA private key.