|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DistinguishedName
Represents a Distinguished Name used in a certificate.
Certificate
Method Summary | ||
---|---|---|
|
String |
getCommonName()
Retrieve the common name attribute associated with this distinguished name. |
|
String |
getCountry()
Retrieve the country attribute associated with this distinguished name. |
|
String |
getEmailAddress()
Retrieve the email attribute associated with this distinguished name. |
|
byte[] |
getEncoding()
Returns the encoding of the DistinguishedName. |
|
String |
getLocality()
Retrieve the locality attribute associated with this distinguished name. |
|
Enumeration |
getOIDs()
Returns an enumeration of all the OIDs in the name. |
|
String |
getOrganization()
Retrieve the organization attribute associated with this distinguished name. |
|
String |
getOrganizationalUnit()
Retrieve the organization unit attribute associated with this distinguished name. |
|
String |
getStateOrProvince()
Retrieve the state-or-province attribute associated with this distinguished name. |
|
String |
getString(OID oid)
Retrieve the String associated with this object identifier (OID). |
|
String |
getSurname()
Retrieve the surname attribute associated with this distinguished name. |
|
String |
toString()
Convert the DistinguishedName to a standard string format. |
Method Detail |
---|
String getString(OID oid)
oid
- The specified oid.
String getCommonName()
String getEmailAddress()
String getSurname()
String getCountry()
String getLocality()
String getStateOrProvince()
String getOrganization()
String getOrganizationalUnit()
String toString()
Example output would be "CN=Joe Johnson, O=Company X, C=US
".
toString
in class Object
Enumeration getOIDs()
Enumeration
of OID
s.byte[] getEncoding()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.