• Home
  • History
  • Annotate
  • only in /libcore/luni/src/test/java/libcore/javax/crypto/spec/
NameDateSize

..10-Aug-20184 KiB

AlgorithmParameterGeneratorTestDH.java10-Aug-20181.1 KiB

AlgorithmParameterGeneratorTestDSA.java10-Aug-20181.1 KiB

AlgorithmParametersTestAES.java10-Aug-20182.6 KiB

AlgorithmParametersTestDES.java10-Aug-20182.5 KiB

AlgorithmParametersTestDESede.java10-Aug-20182.5 KiB

AlgorithmParametersTestDH.java10-Aug-20183.4 KiB

AlgorithmParametersTestDSA.java10-Aug-20188.2 KiB

AlgorithmParametersTestGCM.java10-Aug-20183.5 KiB

AlgorithmParametersTestOAEP.java10-Aug-20188.6 KiB

AlgorithmParametersTestPBES2.java10-Aug-201814.2 KiB

KeyFactoryTestDH.java10-Aug-20181.2 KiB

KeyFactoryTestDSA.java10-Aug-20181.2 KiB

KeyFactoryTestRSA.java10-Aug-20182.2 KiB

KeyPairGeneratorTestDH.java10-Aug-20181.1 KiB

KeyPairGeneratorTestDSA.java10-Aug-2018906

KeyPairGeneratorTestRSA.java10-Aug-2018966

README.ASN110-Aug-2018660

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