Sprache

KeyGenParameterSpec.Builder.SetKeyValidityStart(Date) Method

Definition

Sets the time instant before which the key is not yet valid.

[Android.Runtime.Register("setKeyValidityStart", "(Ljava/util/Date;)Landroid/security/keystore/KeyGenParameterSpec$Builder;", "", ApiSince=23)]
public Android.Security.Keystore.KeyGenParameterSpec.Builder SetKeyValidityStart(Java.Util.Date? startDate);
[<Android.Runtime.Register("setKeyValidityStart", "(Ljava/util/Date;)Landroid/security/keystore/KeyGenParameterSpec$Builder;", "", ApiSince=23)>]
member this.SetKeyValidityStart : Java.Util.Date -> Android.Security.Keystore.KeyGenParameterSpec.Builder

Parameters

startDate
Date

Returns

Attributes

Remarks

Sets the time instant before which the key is not yet valid.

By default, the key is valid at any instant.

Android reference for android.security.keystore.KeyGenParameterSpec.Builder.setKeyValidityStart.

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.

Applies to