Last change
on this file since 42e7061 was
288126d,
checked in by Jose Ruiz <joseruiz@…>, 11 years ago
|
Manejo de repositorio de certificados y firma con pkcs7
|
-
Property mode set to
100644
|
File size:
1000 bytes
|
Line | |
---|
1 | package ve.gob.cenditel.tibisaymovil; |
---|
2 | |
---|
3 | import android.app.Activity; |
---|
4 | |
---|
5 | /** |
---|
6 | * Possible activities result codes. |
---|
7 | * |
---|
8 | * @see {@link Activity#startActivityForResult(android.content.Intent, int)}, {@link Activity#setResult(int)} and |
---|
9 | * {@link Activity#setResult(int, android.content.Intent)} |
---|
10 | * |
---|
11 | * @author José M. Prieto (jmprieto@emergya.com) |
---|
12 | */ |
---|
13 | public class ActivityResult { |
---|
14 | |
---|
15 | /** |
---|
16 | * Return the alias of a private key to be used to sign files (String). |
---|
17 | */ |
---|
18 | public static final int PRIVATE_KEY_ALIAS = 1; |
---|
19 | |
---|
20 | /** |
---|
21 | * Return the Uri of a PKCS12 file to import. |
---|
22 | */ |
---|
23 | public static final int IMPORT_CERTIFICATE = 2; |
---|
24 | |
---|
25 | /** |
---|
26 | * Check the validity of a certificate. |
---|
27 | */ |
---|
28 | public static final int CHECK_CERTIFICATE_VALIDITY = 3; |
---|
29 | |
---|
30 | /** |
---|
31 | * Return a confirmed list of files to sign. |
---|
32 | */ |
---|
33 | public static final int FILES_CONFIRMATED = 4; |
---|
34 | |
---|
35 | /** |
---|
36 | * In case user wants to sign again from history tab. |
---|
37 | */ |
---|
38 | public static final int HISTORY_SIGNBACK = 5; |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.