Manual Pages for UNIX Darwin command on man X509_NAME_ENTRY_get_object
MyWebUniversity

Manual Pages for UNIX Darwin command on man X509_NAME_ENTRY_get_object

X509NAMEENTRYgetobject(3) OpenSSL X509NAMEENTRYgetobject(3)

NAME

X509NAMEENTRYgetobject, X509NAMEENTRYgetdata,

X509NAMEENTRYsetobject, X509NAMEENTRYsetdata,

X509NAMEENTRYcreatebytxt, X509NAMEENTRYcreatebyNID,

X509NAMEENTRYcreatebyOBJ - X509NAMEENTRY utility functions

SYNOPSIS

ASN1OBJECT * X509NAMEENTRYgetobject(X509NAMEENTRY *ne);

ASN1STRING * X509NAMEENTRYgetdata(X509NAMEENTRY *ne);

int X509NAMEENTRYsetobject(X509NAMEENTRY *ne, ASN1OBJECT *obj);

int X509NAMEENTRYsetdata(X509NAMEENTRY *ne, int type, const

unsigned char *bytes, int len);

X509NAMEENTRY *X509NAMEENTRYcreatebytxt(X509NAMEENTRY **ne,

const char *field, int type, const unsigned char *bytes, int len);

X509NAMEENTRY *X509NAMEENTRYcreatebyNID(X509NAMEENTRY **ne,

int nid, int type,unsigned char *bytes, int len); X509NAMEENTRY

*X509NAMEENTRYcreatebyOBJ(X509NAMEENTRY **ne, ASN1OBJECT *obj,

int type, const unsigned char *bytes, int len);

DESCRIPTION

X509NAMEENTRYgetobject() retrieves the field name of nnee in and

AASSNN11OOBBJJEECCTT structure.

X509NAMEENTRYgetdata() retrieves the field value of nnee in and

AASSNN11SSTTRRIINNGG structure.

X509NAMEENTRYsetobject() sets the field name of nnee to oobbjj.

X509NAMEENTRYsetdata() sets the field value of nnee to string type

ttyyppee and value determined by bbyytteess and lleenn.

X509NAMEENTRYcreatebytxt(), X509NAMEENTRYcreatebyNID() and

59AENRcetbOJ) rae n rtr a X509NAMEENTRY

structure. NNOOTTEESS

X509NAMEENTRYgetobject() and X509NAMEENTRYgetdata() can be used

o xmn a X509NAMEENTRY fnto a rtre b

X509NAMEgetentry() for example.

X509NAMEENTRYcreatebytxt(), X509NAMEENTRYcreatebyNID(), and

X509NAMEENTRYcreatebyOBJ() create and return an

X509NAMEENTRYcreatebytxt(), X509NAMEENTRYcreatebyOBJ(),

X509NAMEENTRYcreatebyNID() and X509NAMEENTRYsetdata() are

edm sd n rcie eas X509NAMEENTRY srcue ae lot

las at f X509NAME tutrs n te orsodn X509NAME

functions are typically used to create and add new entries in a single operation. The arguments of these functions support similar options to the

iial nmd ns f h crepnig X509NAME ucin sc a

X509NAMEaddentrybytxt(). So for example ttyyppee can be set to

MMBBSSTTRRIINNGGAASSCC but in the case of X509setdata() the field name must be set first so the relevant field information can be looked up internally.

RETURN VALUES

SEE ALSO

ERRgeterror(3), d2iX509NAME(3), OBJnid2obj(3),OBJnid2obj(3)

HISTORY TBA

0.9.7l 2005-03-30 X509NAMEENTRYgetobject(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™