org.xwiki.crypto.pkix.params.x509certificate.extension
Class X509DirectoryName

java.lang.Object
  extended by org.xwiki.crypto.pkix.params.x509certificate.DistinguishedName
      extended by org.xwiki.crypto.pkix.params.x509certificate.extension.X509DirectoryName
All Implemented Interfaces:
org.xwiki.crypto.pkix.internal.BcPrincipalIdentifier, org.xwiki.crypto.pkix.internal.extension.BcGeneralName, PrincipalIndentifier, X509GeneralName, X509StringGeneralName

@Unstable
public class X509DirectoryName
extends DistinguishedName
implements X509StringGeneralName, org.xwiki.crypto.pkix.internal.extension.BcGeneralName

X.509 Directory name general name.

Since:
5.4
Version:
$Id: 0385660d7218b63607d02bccf78ae68a59c8b306 $

Constructor Summary
X509DirectoryName(org.bouncycastle.asn1.x509.GeneralName name)
          Create a new instance from a Bouncy Castle general name.
X509DirectoryName(Object name)
          Create a new directory name.
 
Method Summary
 org.bouncycastle.asn1.x509.GeneralName getGeneralName()
           
 
Methods inherited from class org.xwiki.crypto.pkix.params.x509certificate.DistinguishedName
equals, getEncoded, getName, getX500Name, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xwiki.crypto.pkix.params.x509certificate.extension.X509StringGeneralName
getName
 

Constructor Detail

X509DirectoryName

public X509DirectoryName(Object name)
Create a new directory name.

Parameters:
name - the DN name like in "CN=Common Name, O=Organisation"

X509DirectoryName

public X509DirectoryName(org.bouncycastle.asn1.x509.GeneralName name)
Create a new instance from a Bouncy Castle general name.

Parameters:
name - the Bouncy Castle general name.
Method Detail

getGeneralName

public org.bouncycastle.asn1.x509.GeneralName getGeneralName()
Specified by:
getGeneralName in interface org.xwiki.crypto.pkix.internal.extension.BcGeneralName


Copyright © 2004–2014 XWiki. All rights reserved.