Class AttributeValue


  • public final class AttributeValue
    extends Object
    X.501 Attribute Value
    • Field Detail

      • wasEncoded

        public boolean wasEncoded
      • escapedString

        public final String escapedString
      • encoded

        public byte[] encoded
      • bytes

        public byte[] bytes
      • hasQEN

        public boolean hasQEN
      • rawString

        public final String rawString
    • Constructor Detail

      • AttributeValue

        public AttributeValue​(String parsedString,
                              boolean mustBeOutputWithQuotes,
                              ObjectIdentifier oid)
      • AttributeValue

        public AttributeValue​(String hexString,
                              byte[] encoded)
      • AttributeValue

        public AttributeValue​(String rawString,
                              byte[] encoded,
                              int tag)
    • Method Detail

      • getTag

        public int getTag()
      • getHexString

        public String getHexString()
      • appendQuotedString

        public void appendQuotedString​(StringBuilder sb)
      • makeCanonical

        public String makeCanonical()
      • getRFC2253String

        public String getRFC2253String()
        Removes escape sequences used in RFC1779 escaping but not in RFC2253 and returns the RFC2253 string to the caller..