|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.security.x509.InternalX500DNHandler
public class InternalX500DNHandler
Basic implementation of X500DNHandler which uses the internal built-in mechanisms
provided by X500Principal directly.
| Field Summary |
|---|
| Fields inherited from interface org.opensaml.xml.security.x509.X500DNHandler |
|---|
FORMAT_RFC1779, FORMAT_RFC2253 |
| Constructor Summary | |
|---|---|
InternalX500DNHandler()
|
|
| Method Summary | |
|---|---|
X500DNHandler |
clone()
Clone the handler. |
byte[] |
getEncoded(javax.security.auth.x500.X500Principal principal)
Returns the distinguished name in ASN.1 DER encoded form. |
java.lang.String |
getName(javax.security.auth.x500.X500Principal principal)
Returns a string representation of the X.500 distinguished name using the default format as defined in the underlying implementation. |
java.lang.String |
getName(javax.security.auth.x500.X500Principal principal,
java.lang.String format)
Returns a string representation of the X.500 distinguished name using the specified format. |
javax.security.auth.x500.X500Principal |
parse(byte[] name)
Parse the ASN.1 DER encoding representation of a name and build a new principal instance. |
javax.security.auth.x500.X500Principal |
parse(java.lang.String name)
Parse the string representation of a name and build a new principal instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InternalX500DNHandler()
| Method Detail |
|---|
public byte[] getEncoded(javax.security.auth.x500.X500Principal principal)
getEncoded in interface X500DNHandlerprincipal - the principal name instance to serialize
public java.lang.String getName(javax.security.auth.x500.X500Principal principal)
getName in interface X500DNHandlerprincipal - the principal name instance to serialize
public java.lang.String getName(javax.security.auth.x500.X500Principal principal,
java.lang.String format)
X500DNHandler.FORMAT_RFC1779 and X500DNHandler.FORMAT_RFC2253;
getName in interface X500DNHandlerprincipal - the principal name instance to serializeformat - the format specifier of the resulting serialized string name
public javax.security.auth.x500.X500Principal parse(java.lang.String name)
parse in interface X500DNHandlername - the name string to parse
public javax.security.auth.x500.X500Principal parse(byte[] name)
parse in interface X500DNHandlername - a distinguished name in ASN.1 DER encoded form
public X500DNHandler clone()
Cloneable.
clone in interface X500DNHandlerclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||