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 PrincipalIndentifier
IOException
- on encoding error.public String getName()
getName
in interface PrincipalIndentifier
public org.bouncycastle.asn1.x500.X500Name getX500Name()
getX500Name
in interface org.xwiki.crypto.pkix.internal.BcPrincipalIdentifier
public boolean equals(Object o)
PrincipalIndentifier
equals
in interface PrincipalIndentifier
equals
in class Object
o
- object to check equality with.Copyright © 2004–2021 XWiki. All rights reserved.