java.lang.Object | |
↳ | android.security.keystore.KeyProperties |
Properties of Android Keystore keys.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | BLOCK_MODE_CBC | Cipher Block Chaining (CBC) block mode. | |||||||||
String | BLOCK_MODE_CTR | Counter (CTR) block mode. | |||||||||
String | BLOCK_MODE_ECB | Electronic Codebook (ECB) block mode. | |||||||||
String | BLOCK_MODE_GCM | Galois/Counter Mode (GCM) block mode. | |||||||||
String | DIGEST_MD5 | MD5 digest. | |||||||||
String | DIGEST_NONE | No digest: sign/authenticate the raw message. | |||||||||
String | DIGEST_SHA1 | SHA-1 digest. | |||||||||
String | DIGEST_SHA224 | SHA-2 224 (aka SHA-224) digest. | |||||||||
String | DIGEST_SHA256 | SHA-2 256 (aka SHA-256) digest. | |||||||||
String | DIGEST_SHA384 | SHA-2 384 (aka SHA-384) digest. | |||||||||
String | DIGEST_SHA512 | SHA-2 512 (aka SHA-512) digest. | |||||||||
String | ENCRYPTION_PADDING_NONE | No encryption padding. | |||||||||
String | ENCRYPTION_PADDING_PKCS7 | PKCS#7 encryption padding scheme. | |||||||||
String | ENCRYPTION_PADDING_RSA_OAEP | RSA Optimal Asymmetric Encryption Padding (OAEP) scheme. | |||||||||
String | ENCRYPTION_PADDING_RSA_PKCS1 | RSA PKCS#1 v1.5 padding scheme for encryption. | |||||||||
String | KEY_ALGORITHM_AES | Advanced Encryption Standard (AES) key. | |||||||||
String | KEY_ALGORITHM_EC | Elliptic Curve (EC) Cryptography key. | |||||||||
String | KEY_ALGORITHM_HMAC_SHA1 | Keyed-Hash Message Authentication Code (HMAC) key using SHA-1 as the hash. | |||||||||
String | KEY_ALGORITHM_HMAC_SHA224 | Keyed-Hash Message Authentication Code (HMAC) key using SHA-224 as the hash. | |||||||||
String | KEY_ALGORITHM_HMAC_SHA256 | Keyed-Hash Message Authentication Code (HMAC) key using SHA-256 as the hash. | |||||||||
String | KEY_ALGORITHM_HMAC_SHA384 | Keyed-Hash Message Authentication Code (HMAC) key using SHA-384 as the hash. | |||||||||
String | KEY_ALGORITHM_HMAC_SHA512 | Keyed-Hash Message Authentication Code (HMAC) key using SHA-512 as the hash. | |||||||||
String | KEY_ALGORITHM_RSA | Rivest Shamir Adleman (RSA) key. | |||||||||
int | ORIGIN_GENERATED | Key was generated inside AndroidKeyStore. | |||||||||
int | ORIGIN_IMPORTED | Key was imported into AndroidKeyStore. | |||||||||
int | ORIGIN_UNKNOWN | Origin of the key is unknown. | |||||||||
int | PURPOSE_DECRYPT | Purpose of key: decryption. | |||||||||
int | PURPOSE_ENCRYPT | Purpose of key: encryption. | |||||||||
int | PURPOSE_SIGN | Purpose of key: signing or generating a Message Authentication Code (MAC). | |||||||||
int | PURPOSE_VERIFY | Purpose of key: signature or Message Authentication Code (MAC) verification. | |||||||||
String | SIGNATURE_PADDING_RSA_PKCS1 | RSA PKCS#1 v1.5 padding for signatures. | |||||||||
String | SIGNATURE_PADDING_RSA_PSS | RSA PKCS#1 v2.1 Probabilistic Signature Scheme (PSS) padding. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Cipher Block Chaining (CBC) block mode.
Counter (CTR) block mode.
Electronic Codebook (ECB) block mode.
Galois/Counter Mode (GCM) block mode.
No digest: sign/authenticate the raw message.
SHA-2 224 (aka SHA-224) digest.
SHA-2 256 (aka SHA-256) digest.
SHA-2 384 (aka SHA-384) digest.
SHA-2 512 (aka SHA-512) digest.
No encryption padding.
PKCS#7 encryption padding scheme.
RSA Optimal Asymmetric Encryption Padding (OAEP) scheme.
RSA PKCS#1 v1.5 padding scheme for encryption.
Advanced Encryption Standard (AES) key.
Elliptic Curve (EC) Cryptography key.
Keyed-Hash Message Authentication Code (HMAC) key using SHA-1 as the hash.
Keyed-Hash Message Authentication Code (HMAC) key using SHA-224 as the hash.
Keyed-Hash Message Authentication Code (HMAC) key using SHA-256 as the hash.
Keyed-Hash Message Authentication Code (HMAC) key using SHA-384 as the hash.
Keyed-Hash Message Authentication Code (HMAC) key using SHA-512 as the hash.
Rivest Shamir Adleman (RSA) key.
Key was generated inside AndroidKeyStore.
Key was imported into AndroidKeyStore.
Origin of the key is unknown. This can occur only for keys backed by an old TEE-backed implementation which does not record origin information.
Purpose of key: decryption.
Purpose of key: encryption.
Purpose of key: signing or generating a Message Authentication Code (MAC).
Purpose of key: signature or Message Authentication Code (MAC) verification.
RSA PKCS#1 v1.5 padding for signatures.
RSA PKCS#1 v2.1 Probabilistic Signature Scheme (PSS) padding.