implemented asn1_get_known_oid(), mapping OID index to ASN1 OID
This commit is contained in:
@@ -106,6 +106,14 @@ chunk_t asn1_algorithmIdentifier(int oid);
|
||||
*/
|
||||
int asn1_known_oid(chunk_t object);
|
||||
|
||||
/**
|
||||
* Converts an known OID index to ASN.1 OID
|
||||
*
|
||||
* @param n index into the oid_names[] table
|
||||
* @return allocated OID chunk, chunk_empty if index out of range
|
||||
*/
|
||||
chunk_t asn1_get_known_oid(int n);
|
||||
|
||||
/**
|
||||
* Returns the length of an ASN.1 object
|
||||
* The blob pointer is advanced past the tag length fields
|
||||
|
||||
Reference in New Issue
Block a user