KeyProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Properties of Android Keystore keys.
[Android.Runtime.Register("android/security/keystore/KeyProperties", ApiSince=23, DoNotGenerateAcw=true)]
public abstract class KeyProperties : Java.Lang.Object
[<Android.Runtime.Register("android/security/keystore/KeyProperties", ApiSince=23, DoNotGenerateAcw=true)>]
type KeyProperties = class
inherit Object
- Inheritance
- Attributes
Remarks
Properties of Android Keystore keys.
Java documentation for android.security.keystore.KeyProperties
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
KeyProperties(IntPtr, JniHandleOwnership) |
Fields
AuthBiometricStrong |
Obsolete.
Any biometric (e. |
AuthDeviceCredential |
Obsolete.
The non-biometric credential used to secure the device (i. |
BlockModeCbc |
Cipher Block Chaining (CBC) block mode. |
BlockModeCtr |
Counter (CTR) block mode. |
BlockModeEcb |
Electronic Codebook (ECB) block mode. |
BlockModeGcm |
Galois/Counter Mode (GCM) block mode. |
DigestMd5 |
MD5 digest. |
DigestNone |
No digest: sign/authenticate the raw message. |
DigestSha1 |
SHA-1 digest. |
DigestSha224 |
SHA-2 224 (aka SHA-224) digest. |
DigestSha256 |
SHA-2 256 (aka SHA-256) digest. |
DigestSha384 |
SHA-2 384 (aka SHA-384) digest. |
DigestSha512 |
SHA-2 512 (aka SHA-512) digest. |
EncryptionPaddingNone |
No encryption padding. |
EncryptionPaddingPkcs7 |
PKCS#7 encryption padding scheme. |
EncryptionPaddingRsaOaep |
RSA Optimal Asymmetric Encryption Padding (OAEP) scheme. |
EncryptionPaddingRsaPkcs1 |
RSA PKCS#1 v1. |
KeyAlgorithm3des |
Triple Data Encryption Algorithm (3DES) key. |
KeyAlgorithmAes |
Advanced Encryption Standard (AES) key. |
KeyAlgorithmEc |
Elliptic Curve (EC) Cryptography key. |
KeyAlgorithmHmacSha1 |
Keyed-Hash Message Authentication Code (HMAC) key using SHA-1 as the hash. |
KeyAlgorithmHmacSha224 |
Keyed-Hash Message Authentication Code (HMAC) key using SHA-224 as the hash. |
KeyAlgorithmHmacSha256 |
Keyed-Hash Message Authentication Code (HMAC) key using SHA-256 as the hash. |
KeyAlgorithmHmacSha384 |
Keyed-Hash Message Authentication Code (HMAC) key using SHA-384 as the hash. |
KeyAlgorithmHmacSha512 |
Keyed-Hash Message Authentication Code (HMAC) key using SHA-512 as the hash. |
KeyAlgorithmRsa |
Rivest Shamir Adleman (RSA) key. |
PurposeAgreeKey |
Obsolete.
Purpose of key: creating a shared ECDH secret through key agreement. |
PurposeAttestKey |
Obsolete.
Purpose of key: Signing attestaions. |
SecurityLevelSoftware |
Obsolete.
Indicates enforcement by system software. |
SecurityLevelStrongbox |
Obsolete.
Indicates enforcement by environment meeting the Strongbox security profile, such as a secure element. |
SecurityLevelTrustedEnvironment |
Obsolete.
Indicates enforcement by a trusted execution environment. |
SecurityLevelUnknown |
Obsolete.
This security level indicates that no assumptions can be made about the security level of the respective key. |
SecurityLevelUnknownSecure |
Obsolete.
This security level indicates that due to the target API level of the caller no exact
statement can be made about the security level of the key, however, the security level
can be considered is at least equivalent to |
SignaturePaddingRsaPkcs1 |
RSA PKCS#1 v1. |
SignaturePaddingRsaPss |
RSA PKCS#1 v2. |
UnrestrictedUsageCount |
This value indicates that there is no restriction on the number of times the key can be used. |
Properties
Class |
Returns the runtime class of this |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PeerReference | (Inherited from Object) |
ThresholdClass | |
ThresholdType |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |