|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
allowIndefiniteLength()
Allow indefinite length. |
void |
disallowIndefiniteLength()
Disallow indefinite length. |
int |
getMaxLengthLength()
Get the actual maximum number of bytes that can be used to encode the Length |
int |
getMaxTagLength()
Get the actual maximum number of bytes that can be used to encode the Tag |
boolean |
isIndefiniteLengthAllowed()
Tell if indefinite length form could be used for Length |
void |
setMaxLengthLength(int length)
Set the number of bytes that can be used to encode the Value length, including the first byte. |
void |
setMaxTagLength(int length)
Set the maximum number of bytes that should be used to encode a Tag label, including the first byte. |
Method Detail |
public void setMaxLengthLength(int length) throws org.apache.asn1.codec.DecoderException
length
- The number of byte to use
org.apache.asn1.codec.DecoderException
public void setMaxTagLength(int length)
length
- The length to usepublic void allowIndefiniteLength()
public void disallowIndefiniteLength()
public int getMaxLengthLength()
public int getMaxTagLength()
public boolean isIndefiniteLengthAllowed()
true
if the Indefinite form is allowed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |