|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1IA5String
ASN.1 IA5String object - this is a ISO 646 (ASCII) string encoding code points 0 to 127.
Explicit character set escape sequences are not allowed.
| Method Summary | |
static ASN1IA5String |
getInstance(ASN1TaggedObject taggedObject,
boolean declaredExplicit)
Return an IA5 String from a tagged object. |
static ASN1IA5String |
getInstance(java.lang.Object obj)
Return an IA5 string from the passed in object |
byte[] |
getOctets()
|
java.lang.String |
getString()
Return a Java String representation of this STRING type's content. |
static ASN1IA5String |
getTagged(ASN1TaggedObject taggedObject,
boolean declaredExplicit)
|
int |
hashCode()
|
static boolean |
isIA5String(java.lang.String str)
return true if the passed in String can be represented without loss as an IA5String, false otherwise. |
java.lang.String |
toString()
|
| Methods inherited from class org.bouncycastle.asn1.ASN1Primitive |
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
getEncoded, getEncoded, hasEncodedTagValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static ASN1IA5String getInstance(java.lang.Object obj)
obj - an ASN1IA5String or an object that can be converted into one.
java.lang.IllegalArgumentException - if the object cannot be converted.
public static ASN1IA5String getInstance(ASN1TaggedObject taggedObject,
boolean declaredExplicit)
taggedObject - the tagged object holding the object we wantdeclaredExplicit - true if the object is meant to be explicitly
tagged false otherwise.
java.lang.IllegalArgumentException - if the tagged object cannot
be converted.
public static ASN1IA5String getTagged(ASN1TaggedObject taggedObject,
boolean declaredExplicit)
public final java.lang.String getString()
ASN1String
getString in interface ASN1Stringpublic java.lang.String toString()
public final byte[] getOctets()
public final int hashCode()
hashCode in class ASN1Primitivepublic static boolean isIA5String(java.lang.String str)
str - the string to check.
|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||