This section provides test results from DsaSignatureGenerator.java on a binary file with different DSA private keys. DSA digital signature size is 46 bytes when generated with the Java SHA1withDSA algorithm.© 2002-2025 by Dr. Herong Yang. All rights reserved.Want to see some test output fr...
Of course, Sun is the provider of the default security package. The key pair generated from the generateKeyPair() method indeed has two keys, a private key and a public key. The private key was written to a file using PKCS#8 format, and the public key was written to another file ...