KeyProtection.Builder(KeyStorePurpose) Constructor
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.
Creates a new instance of the Builder
.
[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=23)]
public Builder (Android.Security.Keystore.KeyStorePurpose purposes);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=23)>]
new Android.Security.Keystore.KeyProtection.Builder : Android.Security.Keystore.KeyStorePurpose -> Android.Security.Keystore.KeyProtection.Builder
Parameters
- purposes
- KeyStorePurpose
set of purposes (e.g., encrypt, decrypt, sign) for which the key can be used. Attempts to use the key for any other purpose will be rejected.
<p>See <code data-dev-comment-type="c">KeyProperties</code>.<code data-dev-comment-type="c">PURPOSE</code> flags.
- Attributes
Remarks
Creates a new instance of the Builder
.
Java documentation for android.security.keystore.KeyProtection.Builder.KeyProtection$Builder(int)
.
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.