KeyPairGeneratorSpec.Builder.SetStartDate(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.
Caution
deprecated
Sets the start of the validity period for the self-signed certificate of the generated key pair.
[Android.Runtime.Register("setStartDate", "(Ljava/util/Date;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")]
[System.Obsolete("deprecated")]
public Android.Security.KeyPairGeneratorSpec.Builder SetStartDate(Java.Util.Date startDate);
[<Android.Runtime.Register("setStartDate", "(Ljava/util/Date;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")>]
[<System.Obsolete("deprecated")>]
member this.SetStartDate : Java.Util.Date -> Android.Security.KeyPairGeneratorSpec.Builder
Parameters
- startDate
- Date
The start of the generated self-signed certificate's validity period. Must not be null.
Returns
This builder with the certificate's validity start date set.
- Attributes
Remarks
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.