to top
Android APIs
public class

SslCertificate.DName

extends Object
java.lang.Object
   ↳ android.net.http.SslCertificate.DName

Class Overview

A distinguished name helper class: a 3-tuple of: - common name (CN), - organization (O), - organizational unit (OU)

Summary

Public Constructors

? Examples
SslCertificate.DName( String dName)
Creates a new distinguished name
Public Methods

? Examples
String getCName()

? Examples
String getDName()

? Examples
String getOName()

? Examples
String getUName()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SslCertificate.DName (String dName)

Added in API level 1

Creates a new distinguished name

Parameters
dName The distinguished name

Public Methods

public String getCName ()

Added in API level 1

Returns
  • The Common-name (CN) component of this name

public String getDName ()

Added in API level 1

Returns
  • The distinguished name (normally includes CN, O, and OU names)

public String getOName ()

Added in API level 1

Returns
  • The Organization (O) component of this name

public String getUName ()

Added in API level 1

Returns
  • The Organizational Unit (OU) component of this name
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.