java.lang.Object | ||||
↳ | org.bouncycastle.asn1.ASN1Encodable | |||
↳ | org.bouncycastle.asn1.DERObject | |||
↳ | org.bouncycastle.asn1.ASN1Object | |||
↳ | org.bouncycastle.asn1.DERNumericString |
DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From interface
org.bouncycastle.asn1.DERTags
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
basic constructor - with bytes.
| |||||||||||
basic constructor - without validation..
| |||||||||||
Constructor with optional validation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
return an Numeric String from a tagged object.
| |||||||||||
return a Numeric string from the passed in object
| |||||||||||
Return true if the string can be represented as a NumericString ('0'..'9', ' ')
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Object
| |||||||||||
From class
org.bouncycastle.asn1.DERObject
| |||||||||||
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.ASN1String
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
basic constructor - with bytes.
Constructor with optional validation.
string | the base string to wrap. |
---|---|
validate | whether or not to check the string. |
IllegalArgumentException | if validate is true and the string contains characters that should not be in a NumericString. |
---|
return an Numeric String from a tagged object.
obj | the tagged object holding the object we want |
---|---|
explicit | true if the object is meant to be explicitly tagged false otherwise. |
IllegalArgumentException | if the tagged object cannot be converted. |
---|
return a Numeric string from the passed in object
IllegalArgumentException | if the object cannot be converted. |
---|
Return true if the string can be represented as a NumericString ('0'..'9', ' ')
str | string to validate. |
---|