Home | History | Annotate | only in /libcore/luni/src/test/java/libcore/javax/crypto/spec
Up to higher level directory
NameDateSize
AlgorithmParameterGeneratorTestDH.java06-Dec-20171.1K
AlgorithmParameterGeneratorTestDSA.java06-Dec-20171.1K
AlgorithmParametersTestAES.java06-Dec-20172.6K
AlgorithmParametersTestDES.java06-Dec-20172.5K
AlgorithmParametersTestDESede.java06-Dec-20172.5K
AlgorithmParametersTestDH.java06-Dec-20173.4K
AlgorithmParametersTestDSA.java06-Dec-20178.2K
AlgorithmParametersTestGCM.java06-Dec-20173.5K
AlgorithmParametersTestOAEP.java06-Dec-20178.6K
AlgorithmParametersTestPBES2.java06-Dec-201714.2K
KeyFactoryTestDH.java06-Dec-20171.2K
KeyFactoryTestDSA.java06-Dec-20171.2K
KeyFactoryTestRSA.java06-Dec-20171.2K
KeyPairGeneratorTestDH.java06-Dec-20171.1K
KeyPairGeneratorTestDSA.java06-Dec-2017906
KeyPairGeneratorTestRSA.java06-Dec-2017966
README.ASN106-Dec-2017660

README.ASN1

      1 Many tests in this package check the ASN.1 encoding for various kinds of parameters.  The openssl
      2 command line tool can be used to view and encode data in ASN.1.
      3 
      4 Test data for encoding tests is preceded by its definition in the OpenSSL generation string
      5 format described at https://wiki.openssl.org/index.php/Manual:ASN1_generate_nconf(3).  To
      6 reproduce the base64-encoded values in the test files, do:
      7 
      8 # Put data definition in a file, eg input.cnf
      9 openssl asn1parse -genconf input.cnf -out /tmp/asn1.der
     10 openssl base64 -in /tmp/asn1.der
     11 
     12 To view the ASN.1 data encoded in a base64-encoded string, do:
     13 
     14 echo 'BASE64-ENCODED DATA HERE' | openssl asn1parse -i
     15