OpenSSL ASN1_STRING_new(3openssl)
NNNNAAAAMMMMEEEEASN1_STRING_new, ASN1_STRING_type_new, ASN1_STRING_free -
ASN1_STRING allocation functions
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS#include
ASN1_STRING * ASN1_STRING_new(void);
ASN1_STRING * ASN1_STRING_type_new(int type);
void ASN1_STRING_free(ASN1_STRING *a);
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNASN1_STRING_new() returns an allocated AAAASSSSNNNN1111_SSSSTTTTRRRRIIIINNNNGGGG
structure. Its type is undefined.ASN1_STRING_type_new() returns an allocated AAAASSSSNNNN1111_SSSSTTTTRRRRIIIINNNNGGGG
structure of type ttttyyyyppppeeee.ASN1_STRING_free() frees up aaaa.
NNNNOOOOTTTTEEEESSSSOther string types call the AAAASSSSNNNN1111_SSSSTTTTRRRRIIIINNNNGGGG functions. For
example ASN1_OCTET_STRING_new() calls
ASN1_STRING_type(V_ASN1_OCTET_STRING).
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSSASN1_STRING_new() and ASN1_STRING_type_new() return a valid
ASN1_STRING structure or NNNNUUUULLLLLLLL if an error occurred.
ASN1_STRING_free() does not return a value.
SSSSEEEEEEEE AAAALLLLSSSSOOOOERR_get_error(3)
HHHHIIIISSSSTTTTOOOORRRRYYYY TBA27/Mar/2010 Last change: 0.9.8o 1