diff options
Diffstat (limited to 'src/crypto/pkcs8/pkcs12_test.cc')
-rw-r--r-- | src/crypto/pkcs8/pkcs12_test.cc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/crypto/pkcs8/pkcs12_test.cc b/src/crypto/pkcs8/pkcs12_test.cc index c5a7e077..66d03970 100644 --- a/src/crypto/pkcs8/pkcs12_test.cc +++ b/src/crypto/pkcs8/pkcs12_test.cc @@ -24,8 +24,8 @@ #include <openssl/x509.h> -/* kPKCS12DER contains sample PKCS#12 data generated by OpenSSL with: - * openssl pkcs12 -export -inkey key.pem -in cacert.pem */ +// kPKCS12DER contains sample PKCS#12 data generated by OpenSSL with: +// openssl pkcs12 -export -inkey key.pem -in cacert.pem static const uint8_t kOpenSSL[] = { 0x30, 0x82, 0x09, 0xa1, 0x02, 0x01, 0x03, 0x30, 0x82, 0x09, 0x67, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x01, 0xa0, 0x82, @@ -235,8 +235,8 @@ static const uint8_t kOpenSSL[] = { 0xfd, 0x82, 0x14, 0xd8, 0x5c, 0x02, 0x02, 0x08, 0x00, }; -/* kNSS is the result of importing the OpenSSL example PKCS#12 into Chrome and - * then exporting it again. */ +// kNSS is the result of importing the OpenSSL example PKCS#12 into Chrome and +// then exporting it again. static const uint8_t kNSS[] = { 0x30, 0x80, 0x02, 0x01, 0x03, 0x30, 0x80, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x01, 0xa0, 0x80, 0x24, 0x80, 0x04, 0x82, @@ -460,8 +460,8 @@ static const uint8_t kNSS[] = { 0xbc, 0x8d, 0x02, 0x02, 0x07, 0xd0, 0x00, 0x00, }; -/* kWindows is a dummy key and certificate exported from the certificate - * manager on Windows 7. */ +// kWindows is a dummy key and certificate exported from the certificate +// manager on Windows 7. static const uint8_t kWindows[] = { 0x30, 0x82, 0x0a, 0x02, 0x02, 0x01, 0x03, 0x30, 0x82, 0x09, 0xbe, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x01, 0xa0, 0x82, @@ -679,9 +679,8 @@ static const uint8_t kWindows[] = { 0xfe, 0x3a, 0x66, 0x47, 0x40, 0x49, 0x02, 0x02, 0x07, 0xd0, }; -/* kPBES2 is a PKCS#12 file using PBES2 created with: - * openssl pkcs12 -export -inkey key.pem -in cert.pem -keypbe AES-128-CBC \ - * -certpbe AES-128-CBC */ +// kPBES2 is a PKCS#12 file using PBES2 created with: +// openssl pkcs12 -export -inkey key.pem -in cert.pem -keypbe AES-128-CBC -certpbe AES-128-CBC static const uint8_t kPBES2[] = { 0x30, 0x82, 0x0a, 0x03, 0x02, 0x01, 0x03, 0x30, 0x82, 0x09, 0xc9, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x01, 0xa0, 0x82, |