Javax.Security.Auth.X500.X500Principal.GetName Method
Returns a string representation of the distinguished name contained in this X.500 principal.

Syntax

[Android.Runtime.Register("getName", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public string GetName (string format)

Parameters

format
the name of the format to use for the representation

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the format argument is not one of the three mentioned above

Remarks

Returns a string representation of the distinguished name contained in this X.500 principal. The format of the representation can be chosen. Valid arguments are X500Principal.Rfc1779, X500Principal.Rfc2253, and X500Principal.Canonical. The representations are specified in RFC 1779 and RFC 2253, respectively. The canonical form is based on RFC 2253, but adds some canonicalizing operations like removing leading and trailing whitespace, lower-casing the whole name, and bringing it into a normalized Unicode representation.

[Android Documentation]

Requirements

Namespace: Javax.Security.Auth.X500
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1