KeyProtection.Builder.SetKeyValidityEnd(Date) Method
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.
Sets the time instant after which the key is no longer valid.
[Android.Runtime.Register("setKeyValidityEnd", "(Ljava/util/Date;)Landroid/security/keystore/KeyProtection$Builder;", "", ApiSince=23)]
public Android.Security.Keystore.KeyProtection.Builder SetKeyValidityEnd(Java.Util.Date? endDate);
[<Android.Runtime.Register("setKeyValidityEnd", "(Ljava/util/Date;)Landroid/security/keystore/KeyProtection$Builder;", "", ApiSince=23)>]
member this.SetKeyValidityEnd : Java.Util.Date -> Android.Security.Keystore.KeyProtection.Builder
Parameters
- endDate
- Date
Returns
- Attributes
Remarks
Sets the time instant after which the key is no longer valid.
By default, the key is valid at any instant.
Android reference for android.security.keystore.KeyProtection.Builder.setKeyValidityEnd.
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.