Methods Summary |
---|
public java.lang.Object | decode(BerInputStream in)
in.readBoolean();
if (in.isVerify) {
return null;
}
return getDecodedObject(in);
|
public void | encodeContent(BerOutputStream out)
out.encodeBoolean();
|
public java.lang.Object | getDecodedObject(BerInputStream in)Extracts Boolean object from BER input stream.
if (in.buffer[in.contentOffset] == 0) {
return Boolean.FALSE;
}
return Boolean.TRUE;
|
public static org.apache.harmony.security.asn1.ASN1Boolean | getInstance()Returns ASN.1 Boolean type default implementation
The default implementation works with encoding
that is represented as Boolean object.
return ASN1;
|
public void | setEncodingContent(BerOutputStream out)
out.length = 1;
|