69 if (type!=NULL) *type = (
id & 0xc0) >> 6;
70 if (tag!=NULL) *tag =
id & 0x1f;
82 fprintf(fp,
"[%02x] ",
id);
86 else fprintf(fp,
"(%02x) ", tag);
94 if (
buf.vldsz<=0)
return;
101 fprintf(fp,
"INT = %ld ", n);
104 if (
buf.buf!=NULL) fprintf(fp,
"\"%s\" ",
buf.buf);
105 else fprintf(fp,
"\"\" ");
107 else if (
buf.buf!=NULL) {
108 fprintf(fp,
"....... ");
const char * _ASN1_NODE_TAG[]
const char * _ASN1_NODE_CLASS[]
const char * _ASN1_NODE_CONST[]
void asn1_print_id(FILE *fp, int id)
void asn1_print_tag_value(FILE *fp, int id, Buffer buf)
void asn1_id_type(int id, int *type, int *cnst, int *tag)
#define JBXL_ASN1_INT
INTEGER.
#define JBXL_ASN1_OCT
OCTET_STRING.
#define JBXL_ASN1_CNSTRCTD
CONSTRUCTED 構造化フラグ