Skip to main content

Crate jarsigner

Crate jarsigner 

Source

Functionsยง

extract_public_key
Extracts the public key from a signed JAR.
extract_signature_bytes
Extracts the signature block bytes from a signed JAR.
generate_key_pair
Generates a new RSA key pair for JAR signing.
generate_signing_credentials
Generates a complete signing key pair.
is_signed
Checks if a JAR is signed.
sign_bytes
Signs JAR bytes with the provided RSA private key.
sign_bytes_with_cert_chain
Signs JAR bytes with the provided RSA private key and optional certificate chain.
verify
Verifies a JAR signature using the provided public key.