Name | Date | Size | |
---|---|---|---|
.. | 10-Aug-2018 | 4 KiB | |
AlgorithmParameterGeneratorTestDH.java | 10-Aug-2018 | 1.1 KiB | |
AlgorithmParameterGeneratorTestDSA.java | 10-Aug-2018 | 1.1 KiB | |
AlgorithmParametersTestAES.java | 10-Aug-2018 | 2.6 KiB | |
AlgorithmParametersTestDES.java | 10-Aug-2018 | 2.5 KiB | |
AlgorithmParametersTestDESede.java | 10-Aug-2018 | 2.5 KiB | |
AlgorithmParametersTestDH.java | 10-Aug-2018 | 3.4 KiB | |
AlgorithmParametersTestDSA.java | 10-Aug-2018 | 8.2 KiB | |
AlgorithmParametersTestGCM.java | 10-Aug-2018 | 3.5 KiB | |
AlgorithmParametersTestOAEP.java | 10-Aug-2018 | 8.6 KiB | |
AlgorithmParametersTestPBES2.java | 10-Aug-2018 | 14.2 KiB | |
KeyFactoryTestDH.java | 10-Aug-2018 | 1.2 KiB | |
KeyFactoryTestDSA.java | 10-Aug-2018 | 1.2 KiB | |
KeyFactoryTestRSA.java | 10-Aug-2018 | 2.2 KiB | |
KeyPairGeneratorTestDH.java | 10-Aug-2018 | 1.1 KiB | |
KeyPairGeneratorTestDSA.java | 10-Aug-2018 | 906 | |
KeyPairGeneratorTestRSA.java | 10-Aug-2018 | 966 | |
README.ASN1 | 10-Aug-2018 | 660 |
README.ASN1
1Many tests in this package check the ASN.1 encoding for various kinds of parameters. The openssl 2command line tool can be used to view and encode data in ASN.1. 3 4Test data for encoding tests is preceded by its definition in the OpenSSL generation string 5format described at https://wiki.openssl.org/index.php/Manual:ASN1_generate_nconf(3). To 6reproduce the base64-encoded values in the test files, do: 7 8# Put data definition in a file, eg input.cnf 9openssl asn1parse -genconf input.cnf -out /tmp/asn1.der 10openssl base64 -in /tmp/asn1.der 11 12To view the ASN.1 data encoded in a base64-encoded string, do: 13 14echo 'BASE64-ENCODED DATA HERE' | openssl asn1parse -i 15