JSS 3.1.2

org.mozilla.jss.asn1
Class UTF8String

java.lang.Object
  |
  +--org.mozilla.jss.asn1.CharacterString
        |
        +--org.mozilla.jss.asn1.UTF8String
All Implemented Interfaces:
ASN1Value

public class UTF8String
extends CharacterString
implements ASN1Value


Inner Class Summary
static class UTF8String.Template
           
private static class UTF8String.UTF8Converter
           
 
Inner classes inherited from class org.mozilla.jss.asn1.CharacterString
CharacterString.Template
 
Field Summary
static Form FORM
           
static Tag TAG
           
private static UTF8String.Template templateInstance
           
 
Fields inherited from class org.mozilla.jss.asn1.CharacterString
cachedContents, chars
 
Constructor Summary
UTF8String(char[] chars)
           
UTF8String(java.lang.String s)
           
 
Method Summary
(package private)  CharConverter getCharConverter()
           
 Tag getTag()
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
static UTF8String.Template getTemplate()
          Returns a singleton instance of UTF8String.Template.
 
Methods inherited from class org.mozilla.jss.asn1.CharacterString
computeContents, encode, encode, getEncodedContents, toCharArray, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 
Methods inherited from interface org.mozilla.jss.asn1.ASN1Value
encode, encode
 

Field Detail

TAG

public static final Tag TAG

FORM

public static final Form FORM

templateInstance

private static final UTF8String.Template templateInstance
Constructor Detail

UTF8String

public UTF8String(char[] chars)
           throws java.io.CharConversionException

UTF8String

public UTF8String(java.lang.String s)
           throws java.io.CharConversionException
Method Detail

getCharConverter

CharConverter getCharConverter()
Overrides:
getCharConverter in class CharacterString

getTag

public Tag getTag()
Description copied from interface: ASN1Value
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
Specified by:
getTag in interface ASN1Value
Overrides:
getTag in class CharacterString

getTemplate

public static UTF8String.Template getTemplate()
Returns a singleton instance of UTF8String.Template. This is more efficient than creating a new UTF8String.Template.

JSS 3.1.2