Home | History | Annotate | only in /libcore/luni/src/test/java/libcore/javax/crypto/spec
Up to higher level directory
NameDateSize
AlgorithmParameterGeneratorTestDH.java21-Aug-20181.1K
AlgorithmParameterGeneratorTestDSA.java21-Aug-20181.1K
AlgorithmParametersTestAES.java21-Aug-20182.6K
AlgorithmParametersTestDES.java21-Aug-20182.5K
AlgorithmParametersTestDESede.java21-Aug-20182.5K
AlgorithmParametersTestDH.java21-Aug-20183.4K
AlgorithmParametersTestDSA.java21-Aug-20188.2K
AlgorithmParametersTestGCM.java21-Aug-20183.5K
AlgorithmParametersTestOAEP.java21-Aug-20188.6K
AlgorithmParametersTestPBES2.java21-Aug-201814.2K
KeyFactoryTestDH.java21-Aug-20181.2K
KeyFactoryTestDSA.java21-Aug-20181.2K
KeyFactoryTestRSA.java21-Aug-20182.2K
KeyPairGeneratorTestDH.java21-Aug-20181.1K
KeyPairGeneratorTestDSA.java21-Aug-2018906
KeyPairGeneratorTestRSA.java21-Aug-2018966
README.ASN121-Aug-2018660

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