public abstract class KeyProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KeyProperties.BlockMode |
static interface |
KeyProperties.BlockModeEnum |
static class |
KeyProperties.Digest |
static interface |
KeyProperties.DigestEnum |
static class |
KeyProperties.EncryptionPadding |
static interface |
KeyProperties.EncryptionPaddingEnum |
static class |
KeyProperties.KeyAlgorithm |
static interface |
KeyProperties.KeyAlgorithmEnum |
static class |
KeyProperties.Origin |
static interface |
KeyProperties.OriginEnum |
static class |
KeyProperties.Purpose |
static interface |
KeyProperties.PurposeEnum |
static interface |
KeyProperties.SignaturePaddingEnum |
Modifier and Type | Field and Description |
---|---|
static String |
BLOCK_MODE_CBC
Cipher Block Chaining (CBC) block mode.
|
static String |
BLOCK_MODE_CTR
Counter (CTR) block mode.
|
static String |
BLOCK_MODE_ECB
Electronic Codebook (ECB) block mode.
|
static String |
BLOCK_MODE_GCM
Galois/Counter Mode (GCM) block mode.
|
static String |
DIGEST_MD5
MD5 digest.
|
static String |
DIGEST_NONE
No digest: sign/authenticate the raw message.
|
static String |
DIGEST_SHA1
SHA-1 digest.
|
static String |
DIGEST_SHA224
SHA-2 224 (aka SHA-224) digest.
|
static String |
DIGEST_SHA256
SHA-2 256 (aka SHA-256) digest.
|
static String |
DIGEST_SHA384
SHA-2 384 (aka SHA-384) digest.
|
static String |
DIGEST_SHA512
SHA-2 512 (aka SHA-512) digest.
|
static String |
ENCRYPTION_PADDING_NONE
No encryption padding.
|
static String |
ENCRYPTION_PADDING_PKCS7
PKCS#7 encryption padding scheme.
|
static String |
ENCRYPTION_PADDING_RSA_OAEP
RSA Optimal Asymmetric Encryption Padding (OAEP) scheme.
|
static String |
ENCRYPTION_PADDING_RSA_PKCS1
RSA PKCS#1 v1.5 padding scheme for encryption.
|
static String |
KEY_ALGORITHM_AES
Advanced Encryption Standard (AES) key.
|
static String |
KEY_ALGORITHM_EC
Elliptic Curve (EC) Cryptography key.
|
static String |
KEY_ALGORITHM_HMAC_SHA1
Keyed-Hash Message Authentication Code (HMAC) key using SHA-1 as the hash.
|
static String |
KEY_ALGORITHM_HMAC_SHA224
Keyed-Hash Message Authentication Code (HMAC) key using SHA-224 as the hash.
|
static String |
KEY_ALGORITHM_HMAC_SHA256
Keyed-Hash Message Authentication Code (HMAC) key using SHA-256 as the hash.
|
static String |
KEY_ALGORITHM_HMAC_SHA384
Keyed-Hash Message Authentication Code (HMAC) key using SHA-384 as the hash.
|
static String |
KEY_ALGORITHM_HMAC_SHA512
Keyed-Hash Message Authentication Code (HMAC) key using SHA-512 as the hash.
|
static String |
KEY_ALGORITHM_RSA
Rivest Shamir Adleman (RSA) key.
|
static int |
ORIGIN_GENERATED
Key was generated inside AndroidKeyStore.
|
static int |
ORIGIN_IMPORTED
Key was imported into AndroidKeyStore.
|
static int |
ORIGIN_UNKNOWN
Origin of the key is unknown.
|
static int |
PURPOSE_DECRYPT
Purpose of key: decryption.
|
static int |
PURPOSE_ENCRYPT
Purpose of key: encryption.
|
static int |
PURPOSE_SIGN
Purpose of key: signing or generating a Message Authentication Code (MAC).
|
static int |
PURPOSE_VERIFY
Purpose of key: signature or Message Authentication Code (MAC) verification.
|
static String |
SIGNATURE_PADDING_RSA_PKCS1
RSA PKCS#1 v1.5 padding for signatures.
|
static String |
SIGNATURE_PADDING_RSA_PSS
RSA PKCS#1 v2.1 Probabilistic Signature Scheme (PSS) padding.
|
public static final int PURPOSE_ENCRYPT
public static final int PURPOSE_DECRYPT
public static final int PURPOSE_SIGN
public static final int PURPOSE_VERIFY
public static final String KEY_ALGORITHM_RSA
public static final String KEY_ALGORITHM_EC
public static final String KEY_ALGORITHM_AES
public static final String KEY_ALGORITHM_HMAC_SHA1
public static final String KEY_ALGORITHM_HMAC_SHA224
public static final String KEY_ALGORITHM_HMAC_SHA256
public static final String KEY_ALGORITHM_HMAC_SHA384
public static final String KEY_ALGORITHM_HMAC_SHA512
public static final String BLOCK_MODE_ECB
public static final String BLOCK_MODE_CBC
public static final String BLOCK_MODE_CTR
public static final String BLOCK_MODE_GCM
public static final String ENCRYPTION_PADDING_NONE
public static final String ENCRYPTION_PADDING_PKCS7
public static final String ENCRYPTION_PADDING_RSA_PKCS1
public static final String ENCRYPTION_PADDING_RSA_OAEP
public static final String SIGNATURE_PADDING_RSA_PKCS1
public static final String SIGNATURE_PADDING_RSA_PSS
public static final String DIGEST_NONE
public static final String DIGEST_MD5
public static final String DIGEST_SHA1
public static final String DIGEST_SHA224
public static final String DIGEST_SHA256
public static final String DIGEST_SHA384
public static final String DIGEST_SHA512
public static final int ORIGIN_GENERATED
public static final int ORIGIN_IMPORTED
public static final int ORIGIN_UNKNOWN