History log of /external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cb713c076de9b3d458727ecb2ae2658859a893e2 19-May-2014 Kenny Root <kroot@google.com> X509Certificate: add some context to thrown exceptions

Bug: 14648280
Change-Id: I7bbf76e0d383d34fc5e5a49a8d45384e47f43f3a
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
19fdf1af6bada9ebf4820839780d8713ac3824fa 10-Apr-2014 Kenny Root <kroot@google.com> Convert calls to BIO_free to BIO_free_all

If we have a chain of BIO, we want to free the entire chain. Otherwise,
we might accidentally leave references sitting around. This shouldn't
matter for our current use-case, but might help in the future.

Change-Id: I586937629e1e4f2e80b5feefe2f49a85e8a31d31
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
7c3263f16bae0f1b2125de2c3c1c683303e768ce 31-Jan-2014 Kenny Root <kroot@google.com> OpenSSLX509Certificate: only catch BadPaddingException

We only need to catch BadPaddingException right now. Let the other
non-RuntimeException exceptions pass.

Change-Id: I5b6878250d428b1ee953092967b7418003ee9216
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
1744cf2b54cc7183ff83a3a2eab3a92a8d95ff55 30-Jan-2014 Kenny Root <kroot@google.com> BIGNUM convert to Java BigInteger

Java BigInteger is in two's complement, so it needs conversion for
negative numbers. We were mishandling it before and the previous change
just hacked around it. Actually convert to two's complement instead.

Change-Id: I6bfe9577f0936678476193b55433b7d7dbc04400
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
cea9ec153ef5bf27e3eee74d7c503bce02084bc2 28-Jan-2014 Kenny Root <kroot@google.com> X509Certificate: SignatureException for verify

Any verification error can throw random things like BadPaddingException.
Swallow it and catch Exception for all these cases and rethrow as a
SignatureException to avoid acting as any kind of oracle.

Change-Id: I6b515148f86529fbe0895c9fdb0954306724ae54
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
0a97d659b889de0207e7b33423c5f345203c7f38 28-Jan-2014 Kenny Root <kroot@google.com> OpenSSLX509Certificate: negative serial numbers

The constructor BigInteger(byte[]) expects two's complement encoding,
but that's not what OpenSSL bn2bin returns.

Bug: 12761797
Change-Id: I6c71f6fb88c2b1df7c372bf697728dac26571634
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
16c041fa20ef70221f487631f07eaf53d39ae51c 06-Dec-2013 Kenny Root <kroot@google.com> Make some methods public for CTS

Some methods are called from CTS. The ClassLoaders are different, so we
need to make these public so we don't get any IllegalAccessError during
CTS tests.

Change-Id: I5ac7931694fb1eceb86ae306fca07fb314643fa9
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
0e9746b7b132058651155b33f219c7789997985b 13-Sep-2013 Kenny Root <kroot@google.com> Conscrypt: use certificate references in SSL code

Instead of marshalling and unmarshalling to ASN.1 DER, just use
references to OpenSSL X509 objects everywhere applicable.

Change-Id: I1a28ae9232091ee199a9d4c7cd3c7bbd1efa1ca4
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
adf0d8d251eadb958b5e93cfe2600510f9c69f27 07-May-2013 Kenny Root <kroot@google.com> Merge "NativeCrypto: Fix a lot of random doc bugs"
209c986cfe42dbaa5497c6e68d1b5db96b28db78 07-May-2013 Kenny Root <kroot@google.com> NativeCrypto: Fix a lot of random doc bugs

Remove lots of empty javadoc tags that were unused or invalid.
Remove some unused imports.
Mark a few input streams as intentionally unclosed.

Change-Id: I04d8642abd2b0f2e9be02e227658a1b9bd192d24
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
7d97b2cee4acabea6c8cb795d25fb1fb564f016c 07-May-2013 Kenny Root <kroot@google.com> NativeCrypto: make our own X.509 key class

Make a key class that just holds the encoded key bytes along with the
algorithm identifier. Eclipse IDE made the entire class.

Change-Id: I40b198e0f01121d77bfd26b3420068700ab69614
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java
860d2707ce126ef8f66e3eac7ceeab6d24218cd8 24-Apr-2013 Kenny Root <kroot@google.com> Move JSSE to new package

To help with shipping the JSSE with apps that want to bundle it, move
it to a new package so that the tangles in other parts of the library
can be untangled.

Change-Id: I810b6861388635301e28aee5b9b47b8e6b35b430
/external/conscrypt/src/main/java/org/conscrypt/OpenSSLX509Certificate.java