public class InternalX500DNHandler extends Object implements X500DNHandler
X500DNHandler which uses the internal built-in mechanisms
provided by X500Principal directly.FORMAT_RFC1779, FORMAT_RFC2253| Constructor and Description |
|---|
InternalX500DNHandler() |
| Modifier and Type | Method and Description |
|---|---|
X500DNHandler |
clone()
Clone the handler.
|
byte[] |
getEncoded(X500Principal principal)
Returns the distinguished name in ASN.1 DER encoded form.
|
String |
getName(X500Principal principal)
Returns a string representation of the X.500 distinguished name using the default format
as defined in the underlying implementation.
|
String |
getName(X500Principal principal,
String format)
Returns a string representation of the X.500 distinguished name using the specified format.
|
X500Principal |
parse(byte[] name)
Parse the ASN.1 DER encoding representation of a name and build a new principal instance.
|
X500Principal |
parse(String name)
Parse the string representation of a name and build a new principal instance.
|
@Nonnull public byte[] getEncoded(@Nonnull X500Principal principal)
getEncoded in interface X500DNHandlerprincipal - the principal name instance to serialize@Nonnull public String getName(@Nonnull X500Principal principal)
getName in interface X500DNHandlerprincipal - the principal name instance to serialize@Nonnull public String getName(@Nonnull X500Principal principal, @Nonnull 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@Nonnull public X500Principal parse(@Nonnull String name)
parse in interface X500DNHandlername - the name string to parse@Nonnull public X500Principal parse(@Nonnull byte[] name)
parse in interface X500DNHandlername - a distinguished name in ASN.1 DER encoded form@Nonnull public X500DNHandler clone()
Cloneable.clone in interface X500DNHandlerclone in class ObjectCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.