diff options
author | Ivan Gavrilovic <gavra@google.com> | 2018-01-25 23:05:57 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-01-25 23:05:57 +0000 |
commit | 00ca2aff51f45d6dba9f5713a5aba45e6e321051 (patch) | |
tree | 0d5ec47f9390d69376246a332766d7032d964af8 /src | |
parent | 540da9309fecb8ff41a1d229b4c0f4c4765a98dc (diff) | |
parent | 111c51b721880667382e68ed998593bdc4153f9b (diff) | |
download | apkzlib-00ca2aff51f45d6dba9f5713a5aba45e6e321051.tar.gz |
Enable D8 by default am: 781284f09d
am: 111c51b721
Change-Id: I710e4c714fe3282d992ace850496efe482d01a9f
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/android/apkzlib/sign/SignatureAlgorithm.java | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/main/java/com/android/apkzlib/sign/SignatureAlgorithm.java b/src/main/java/com/android/apkzlib/sign/SignatureAlgorithm.java index 4166767..0667252 100644 --- a/src/main/java/com/android/apkzlib/sign/SignatureAlgorithm.java +++ b/src/main/java/com/android/apkzlib/sign/SignatureAlgorithm.java @@ -23,26 +23,17 @@ import javax.annotation.Nonnull; * Signature algorithm. */ public enum SignatureAlgorithm { - /** - * RSA algorithm. - */ - RSA("RSA", 0, "withRSA"), + /** RSA algorithm. */ + RSA("RSA", 1, "withRSA"), - /** - * ECDSA algorithm. - */ + /** ECDSA algorithm. */ ECDSA("EC", 18, "withECDSA"), - /** - * DSA algorithm. - */ - DSA("DSA", 0, "withDSA"); + /** DSA algorithm. */ + DSA("DSA", 1, "withDSA"); - /** - * Name of the private key as reported by {@code PrivateKey}. - */ - @Nonnull - public final String keyAlgorithm; + /** Name of the private key as reported by {@code PrivateKey}. */ + @Nonnull public final String keyAlgorithm; /** * Minimum SDK version that allows this signature. |