Use following to place a new instance of ASN.1 Boolean in your data:
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 | |
| pack-priv static final ASN1UniversalType | |
| private final byte |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | asn1Equals(ASN1Primitive other)
Implements abstract org. |
| pack-priv static ASN1Boolean | |
| pack-priv void | encode(ASN1OutputStream out, boolean withTag)
Implements abstract org. |
| pack-priv boolean | encodeConstructed()
Implements abstract org. |
| pack-priv int | encodedLength(boolean withTag)
Implements abstract org. |
| 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 taggedObject, 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. |
| public boolean | |
| pack-priv ASN1Primitive | toDERObject()
Return the current object as one which encodes using Distinguished Encoding Rules.
|
| 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 | |
| TYPE | back to summary |
|---|---|
| pack-priv static final ASN1UniversalType TYPE | |
| value | back to summary |
|---|---|
| private final byte value | |
| ASN1Boolean | back to summary |
|---|---|
| private ASN1Boolean(byte value) | |
| asn1Equals | back to summary |
|---|---|
| pack-priv boolean asn1Equals(ASN1Primitive other) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| createPrimitive | back to summary |
|---|---|
| pack-priv static ASN1Boolean createPrimitive(byte[] contents) | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out, boolean withTag) throws IOException Implements abstract org. | |
| encodeConstructed | back to summary |
|---|---|
| pack-priv boolean encodeConstructed() Implements abstract org. Doc from org. Return true if this objected is a CONSTRUCTED one, false otherwise.
| |
| encodedLength | back to summary |
|---|---|
| pack-priv int encodedLength(boolean withTag) Implements abstract org. | |
| 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 taggedObject, 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 the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isTrue | back to summary |
|---|---|
| public boolean isTrue() | |
| toDERObject | back to summary |
|---|---|
| pack-priv ASN1Primitive toDERObject() Overrides org. Doc from org. Return the current object as one which encodes using Distinguished Encoding Rules.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |