KeyGenParameterSpec.Builder.SetCertificateNotBefore(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 start of the validity period for the certificate of the generated key pair.
[Android.Runtime.Register("setCertificateNotBefore", "(Ljava/util/Date;)Landroid/security/keystore/KeyGenParameterSpec$Builder;", "", ApiSince=23)]
public Android.Security.Keystore.KeyGenParameterSpec.Builder SetCertificateNotBefore(Java.Util.Date date);
[<Android.Runtime.Register("setCertificateNotBefore", "(Ljava/util/Date;)Landroid/security/keystore/KeyGenParameterSpec$Builder;", "", ApiSince=23)>]
member this.SetCertificateNotBefore : Java.Util.Date -> Android.Security.Keystore.KeyGenParameterSpec.Builder
Parameters
- date
- Date
Returns
- Attributes
Remarks
Sets the start of the validity period for the certificate of the generated key pair.
By default, this date is Jan 1 1970.
Android reference for android.security.keystore.KeyGenParameterSpec.Builder.setCertificateNotBefore.
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.