diff options
Diffstat (limited to 'trust/asn1.h')
-rw-r--r-- | trust/asn1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/trust/asn1.h b/trust/asn1.h index 1bd7dd1..a5f9caf 100644 --- a/trust/asn1.h +++ b/trust/asn1.h @@ -55,6 +55,12 @@ node_asn * p11_asn1_create (p11_dict *asn1_defs, unsigned char * p11_asn1_encode (node_asn *asn, size_t *der_len); +void * p11_asn1_read (node_asn *asn, + const char *field, + size_t *length); + +void p11_asn1_free (void *asn); + ssize_t p11_asn1_tlv_length (const unsigned char *data, size_t length); |