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.
- NoValidation
- A no-validation validator that always returns true.
- Profile
KeyValidator - Validates Mojang profile-key certificates against the current service keys.
- 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.