Share via


Certificate Constructors

Definition

Overloads

Certificate(String)

Creates a certificate of the specified type.

Certificate(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Certificate(String)

Creates a certificate of the specified type.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
protected Certificate (string? type);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.Cert.Certificate : string -> Java.Security.Cert.Certificate

Parameters

type
String

the standard name of the certificate type. See the CertificateFactory section in the Java Security Standard Algorithm Names Specification for information about standard certificate types.

Attributes

Remarks

Creates a certificate of the specified type.

Java documentation for java.security.cert.Certificate.Certificate(java.lang.String).

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

Certificate(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Certificate (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Cert.Certificate : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Cert.Certificate

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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.

Applies to