Use following to place a new instance of ASN.1 Boolean in your dataset:
ASN1Boolean.getInstance(boolean) ASN1Boolean.getInstance(int) | Modifier and Type | Field and Description |
|---|---|
| public static final ASN1Boolean | |
| private static final byte[] | |
| public static final ASN1Boolean | |
| private static final byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | asn1Equals(ASN1Primitive o)
Implements abstract org. |
| pack-priv void | |
| pack-priv int | encodedLength()
Implements abstract org. |
| pack-priv static ASN1Boolean | |
| public static ASN1Boolean | Returns: an ASN1Boolean instance.an ASN1Boolean or an object that can be converted into one. obj)Return a boolean from the passed in object. |
| public static ASN1Boolean | Returns: an ASN1Boolean instance.true or false depending on the ASN1Boolean wanted. value)Return an ASN1Boolean from the passed in boolean. |
| public static ASN1Boolean | Returns: an ASN1Boolean instance.non-zero (true) or zero (false) depending on the ASN1Boolean wanted. value)Return an ASN1Boolean from the passed in value. |
| public static ASN1Boolean | Returns: an ASN1Boolean instance.the tagged object holding the object we want obj, boolean true if the object is meant to be explicitly
tagged false otherwise. explicit)Return a Boolean from a tagged object. |
| public int | hashCode()
Implements abstract org. |
| pack-priv boolean | isConstructed()
Implements abstract org. |
| public boolean | |
| public String |
| FALSE | back to summary |
|---|---|
| public static final ASN1Boolean FALSE | |
| FALSE_VALUE | back to summary |
|---|---|
| private static final byte[] FALSE_VALUE | |
| TRUE | back to summary |
|---|---|
| public static final ASN1Boolean TRUE | |
| TRUE_VALUE | back to summary |
|---|---|
| private static final byte[] TRUE_VALUE | |
| value | back to summary |
|---|---|
| private final byte[] value | |
| ASN1Boolean | back to summary |
|---|---|
| pack-priv ASN1Boolean(byte[] value) | |
| ASN1Boolean | back to summary |
|---|---|
| public ASN1Boolean(boolean value)
Deprecated use getInstance(boolean) method.
| |
| asn1Equals | back to summary |
|---|---|
| protected boolean asn1Equals(ASN1Primitive o) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out) throws IOException Implements abstract org. | |
| encodedLength | back to summary |
|---|---|
| pack-priv int encodedLength() Implements abstract org. Doc from org. Return the length of the encoding this object will produce.
| |
| fromOctetString | back to summary |
|---|---|
| pack-priv static ASN1Boolean fromOctetString(byte[] value) | |
| getInstance | back to summary |
|---|---|
| public static ASN1Boolean getInstance(Object obj) Return a boolean from the passed in object.
| |
| getInstance | back to summary |
|---|---|
| public static ASN1Boolean getInstance(boolean value) Return an ASN1Boolean from the passed in boolean.
| |
| getInstance | back to summary |
|---|---|
| public static ASN1Boolean getInstance(int value) Return an ASN1Boolean from the passed in value.
| |
| getInstance | back to summary |
|---|---|
| public static ASN1Boolean getInstance(ASN1TaggedObject obj, boolean explicit) Return a Boolean from a tagged object.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isConstructed | back to summary |
|---|---|
| pack-priv boolean isConstructed() Implements abstract org. Doc from org. Return true if this objected is a CONSTRUCTED one, false otherwise.
| |
| isTrue | back to summary |
|---|---|
| public boolean isTrue() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |