X500Principal Constructors
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.
Overloads
X500Principal(Byte[]) |
Creates an |
X500Principal(Stream) |
Creates an |
X500Principal(String) |
Creates an |
X500Principal(String, IDictionary<String,String>) |
Creates an |
X500Principal(Byte[])
Creates an X500Principal
from a distinguished name in
ASN.
[Android.Runtime.Register(".ctor", "([B)V", "")]
public X500Principal (byte[]? name);
[<Android.Runtime.Register(".ctor", "([B)V", "")>]
new Javax.Security.Auth.X500.X500Principal : byte[] -> Javax.Security.Auth.X500.X500Principal
Parameters
- name
- Byte[]
a byte array containing the distinguished name in ASN.1 DER encoded form
- Attributes
Exceptions
if the ASN.1 DER-encoded distinguished name is incorrect
Remarks
Java documentation for javax.security.auth.x500.X500Principal.X500Principal(byte[])
.
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
X500Principal(Stream)
Creates an X500Principal
from an InputStream
containing the distinguished name in ASN.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
public X500Principal (System.IO.Stream? is);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Javax.Security.Auth.X500.X500Principal : System.IO.Stream -> Javax.Security.Auth.X500.X500Principal
Parameters
- is
- Stream
an InputStream
containing the distinguished
name in ASN.1 DER encoded form
- Attributes
Exceptions
if the ASN.1 DER-encoded distinguished name is incorrect
Remarks
Java documentation for javax.security.auth.x500.X500Principal.X500Principal(java.io.InputStream)
.
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
X500Principal(String)
Creates an X500Principal
from a string representation of
an X.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public X500Principal (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Javax.Security.Auth.X500.X500Principal : string -> Javax.Security.Auth.X500.X500Principal
Parameters
- name
- String
an X.500 distinguished name in RFC 1779 or RFC 2253 format
- Attributes
Exceptions
if the string representation of the distinguished name is incorrect
Remarks
Java documentation for javax.security.auth.x500.X500Principal.X500Principal(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
X500Principal(String, IDictionary<String,String>)
Creates an X500Principal
from a string representation of
an X.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;)V", "")]
public X500Principal (string? name, System.Collections.Generic.IDictionary<string,string>? keywordMap);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;)V", "")>]
new Javax.Security.Auth.X500.X500Principal : string * System.Collections.Generic.IDictionary<string, string> -> Javax.Security.Auth.X500.X500Principal
Parameters
- name
- String
an X.500 distinguished name in RFC 1779 or RFC 2253 format
- keywordMap
- IDictionary<String,String>
an attribute type keyword map, where each key is a
keyword String that maps to a corresponding object identifier in String
form (a sequence of nonnegative integers separated by periods). The map
may be empty but never null
.
- 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.