diff options
author | Sergio Giro <sgiro@google.com> | 2016-08-30 16:58:15 +0100 |
---|---|---|
committer | Sergio Giro <sgiro@google.com> | 2016-09-01 17:26:13 +0000 |
commit | 216bd96c94742ceb22e0947f17ad7b6a8e219893 (patch) | |
tree | bd5f681148d19d2c6edc2f2cf2a1e30658b1dd1f /annotations/generate_annotated_java_files.py | |
parent | a8db6d2b05c1beb9198d432f845bb1204608edfa (diff) |
java.security.SecureRandom: add getInstanceStrong() method
Port SecureRandom to jdk8u60.
The method getInstanceStrong returns a strong random number
generator. In Android we define it to be SHA1PRNG from AndroidOpenSSL.
This commit also contains cosmetic JavaDoc changes like
- Use of @code in place of <code> tags and use of a package-info.java in
place of a package.html file.
- Added comments.
- Uses of java.security.util.Debug (commented-out as that
debugging mechanism is not available in Android).
- Added braces in control flow blocks.
This change completes the port of SecureRandom to jdk8u60.
Test: make droid docs, vogar SecureRandomTest
Bug: 29631070
Change-Id: I9080fbd5e9292d7cb3eaa234f7c5849411336fac
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions