public final class BERRenderingAPI
extends java.lang.Object
BERrendering| Constructor and Description |
|---|
BERRenderingAPI() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
render(int tag,
BERrendering override,
byte[] value)
Renders a given byte array as a string value.
|
public static java.lang.String render(int tag,
BERrendering override,
byte[] value)
tag - The tag of the item to be rendered as provided by JBerd. Note
that this is the overloaded tag that consists of the actual tag value
with the BER class appended. Thus all UNIVERSAL class tags will have 0 as
their last digit. Universal tags are rendered according to the native BER
type, unless overridden. Non universal tags are rendered as hex unless
overridden.override - The BERrendering override. Specifies a rendering to use
This overrides the native rendering of universal tags. If it is NATIVE
then universal tags are rendered according to the native BER type, and
non-universal ones as the default of hex.value - The byte array to render