Class GenerateKey.DistinguishedName

  • Enclosing class:

    public static class GenerateKey.DistinguishedName
    extends java.lang.Object
    A class corresponding to the dname nested element.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object createParam()
      Create a param nested element.
      java.lang.String encode​(java.lang.String string)
      Encode a name or value.
      java.util.Enumeration<GenerateKey.DnameParam> getParams()
      Get the nested parameters.
      java.lang.String toString()
      Generate a string rep of this distinguished name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DistinguishedName

        public DistinguishedName()
    • Method Detail

      • createParam

        public java.lang.Object createParam()
        Create a param nested element.
        a DnameParam object to be configured.
      • getParams

        public java.util.Enumeration<GenerateKey.DnameParam> getParams()
        Get the nested parameters.
        an enumeration of the nested parameters.
      • toString

        public java.lang.String toString()
        Generate a string rep of this distinguished name. The format is each of the parameters (name = value) separated by ','. This is used on the command line.
        toString in class java.lang.Object
        a string rep of this name
      • encode

        public java.lang.String encode​(java.lang.String string)
        Encode a name or value. The encoded result is the same as the input string except that each ',' is replaced by a '\,'.
        string - the value to be encoded
        the encoded value.