Class X509DirectoryName

    • 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
        Returns:
        the native Bouncy Castle general name.