Language

SslCertificate.DName Constructors

Definition

Overloads

Name Description
SslCertificate.DName(SslCertificate, String)

Creates a new DName from a string.

SslCertificate.DName(IntPtr, JniHandleOwnership)

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

SslCertificate.DName(SslCertificate, String)

Creates a new DName from a string.

[Android.Runtime.Register(".ctor", "(Landroid/net/http/SslCertificate;Ljava/lang/String;)V", "")]
public DName(Android.Net.Http.SslCertificate __self, string dName);
[<Android.Runtime.Register(".ctor", "(Landroid/net/http/SslCertificate;Ljava/lang/String;)V", "")>]
new Android.Net.Http.SslCertificate.DName : Android.Net.Http.SslCertificate * string -> Android.Net.Http.SslCertificate.DName

Parameters

__self
SslCertificate

The enclosing SslCertificate instance.

dName
String

The distinguished name string to parse.

Attributes

Remarks

Creates a new DName from a string. The attributes are assumed to come in most significant to least significant order which is true of human readable values returned by methods such as X500Principal.getName(). Be aware that the underlying sources of distinguished names such as instances of X509Certificate are encoded in least significant to most significant order, so make sure the value passed here has the expected ordering of attributes.

Android reference for android.net.http.SslCertificate.DName.DName.

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

SslCertificate.DName(IntPtr, JniHandleOwnership)

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

protected DName(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Http.SslCertificate.DName : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Http.SslCertificate.DName

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