UENCE .
>
ASN1_TYPE_get().
Steve.
--
but how do i decode it back ??
i am not able to link the chain in i2r function ..
i have
--
ATTRIBUTES = {
value ASN1_ANY
}
ATTRIBUTE1 = {
one INTEGER
two INTEGER
}
---
to decode back .. i will have to use ..
ATTRIBUTE1 attr1 = d2i_ATTRI
On Tue, May 30, 2006, Saurabh Arora wrote:
> On 5/29/06, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote:
>
> , but i am unable to find a way for decoding .
> can you tell the way.. how to check the type V_ASN1_SEQUENCE .
>
ASN1_TYPE_get().
Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP ke
On 5/29/06, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote:
On Mon, May 29, 2006, Saurabh Arora wrote:
> hi all
>
> heres another lead , but with few problems :
>
> using this function we can set the type :
> -
> void ASN1_TYPE_set(a,type,value)
> --
> where
> ASN1_TYPE *a;
> int t
On Mon, May 29, 2006, Saurabh Arora wrote:
> hi all
>
> heres another lead , but with few problems :
>
> using this function we can set the type :
> -
> void ASN1_TYPE_set(a,type,value)
> --
> where
> ASN1_TYPE *a;
> int type;
> char *value;
>
> so wen i try this with the type -
to print in i2r function ??
On 5/29/06, Saurabh Arora <[EMAIL PROTECTED]> wrote:
> hi
>
> i am having a problem in dealing ASN1_ANY implemntation.
>
> i need to put a wrapper of ATTRIBUTE type for two
> attributes(ATTRIBUTE1 and 2) in my X509V3 extension :
>
field values of attribute 1 */
if (!sk_ASN1_TYPE_push(attr->value,attr1)) goto err;
return attr;
---
but i am still unable to print in i2r function ??
On 5/29/06, Saurabh Arora <[EMAIL PROTECTED]> wrote:
hi
i am having a problem in dealing ASN1_ANY implemntation.
i need t
hi
i am having a problem in dealing ASN1_ANY implemntation.
i need to put a wrapper of ATTRIBUTE type for two
attributes(ATTRIBUTE1 and 2) in my X509V3 extension :
--
EXTENSION :: = SEQUENCE SIZE(1..MAX) OF ATTRIBUTES
ATTRIBUTE :: = SEQUENCE