@Unstable public class DistinguishedName extends Object implements PrincipalIndentifier, org.xwiki.crypto.pkix.internal.BcPrincipalIdentifier
| Constructor and Description |
|---|
DistinguishedName(Object name)
Create a new distinguished name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Equality operator.
|
byte[] |
getEncoded() |
String |
getName() |
org.bouncycastle.asn1.x500.X500Name |
getX500Name() |
int |
hashCode() |
public DistinguishedName(Object name)
name - the DN name like in "CN=Common Name, O=Organisation"public byte[] getEncoded()
throws IOException
getEncoded in interface PrincipalIndentifierIOException - on encoding error.public String getName()
getName in interface PrincipalIndentifierpublic org.bouncycastle.asn1.x500.X500Name getX500Name()
getX500Name in interface org.xwiki.crypto.pkix.internal.BcPrincipalIdentifierpublic boolean equals(Object o)
PrincipalIndentifierequals in interface PrincipalIndentifierequals in class Objecto - object to check equality with.Copyright © 2004–2015 XWiki. All rights reserved.