The library works also with last openSSL version. I send also a complete
trace of the execution with the last openSSL version on linux.


Regards,




Pervasive Computing Laboratory

--------- --------- ----------


This program is a test tool for attribute certificate wrapper
Create attribute certificate
Setting version to v2
Setting holder and issuer
Setting time validity
Setting the attributes
Printing the attribute certificate
----------------------------------

AC Version=3D v2,=20
Issuer Information
------------------


->name(GNs)irName: /C=3DES/ST=3DMadrid/L=3DLeganes/O=3DUniversidad =
Carlos
III/CN=3DSoA/emailAddress=3Dsoa@it.uc3m.es
->serial(INT):e3:1e:d2:8b:a0:60:53:2f:
->issuerUniqueID(INT):NULL
Holder Information
------------------

Holder BaseCertID:

->name(GNs)irName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad =
Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
->serial(INT):bd:a6:37:3d:db:9e:37:89:
->issuerUniqueID(INT):NULL
Validity
--------

Valid not before: 20070608185543Z
Valid not after: 20070615185543Z
Attribute information
---------------------
Number of attributes: 4=20

Attribute Number: 0
--------------------
Attribute NID: 354 , Name: id-aca-authenticationInfo=20
Service Authentication Information
Attribute syntax SvceAuthInfo
Consumed by the target application not the AC verifier
Multiple values allowed : yes
Values: 2
Printing value: 0
------------------
Ident information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Service information : Present
DirName: /C=3DES/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos III
de Madrid/OU=3DDepartamento Ingenieria Telematica/CN=3DServicio de =
correo
electronico
Auth Info : Not present
Printing value: 1
------------------
Ident information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Service information : Present
DirName: /C=3DES/ST=3DMadrid/L=3DGetafe/O=3DUniversidad Carlos III
de Madrid/OU=3DLibrary/CN=3DCatalog
Auth Info : Not present
Attribute Number: 1
--------------------
Attribute NID: 355 , Name: id-aca-accessIdentity=20
Access Identity
Attribute syntax SvceAuthInfo without AuthInfo
Consumed by the AC verifier to authorise
Multiple values allowed : yes
Values: 1
Printing value: 0
------------------
Ident information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Service information : Present
DirName: /C=3DES/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos III
de Madrid/OU=3DDepartamento Ingenieria Telematica/CN=3DServicio de =
correo
electronico
Auth Info : Not present... it should be not present!
Attribute Number: 2
--------------------
Attribute NID: 356 , Name: id-aca-chargingIdentity=20
Charging Identity
Attribute syntax IetfAttrSyntax
Consumed by the AC verifier to authorise
Multiple values allowed : no
Values: 1
Printing value: 0
------------------
Policy Authority information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Type of info : V_ASN1_OCTET_STRING
=09
0x530x6f0x6d0x650x200x640x610x740x610x200x740x6f0x 200x610x640x640x200x740=
x6f
0x2e0x2e0x2e0x2e0x2e
Attribute Number: 3
--------------------
Attribute NID: 400 , Name: role=20
Role
Attribute syntax RoleSyntax
Consumed by the AC verifier
Multiple values allowed : yes
Values: 1
Printing value: 0
------------------
roleAuthority [Optional] : Present
=09
roleName [MUST|URN]: URI:it.uc3m.es:administrator

Extensions:
------------
Number of extensions present : 1
NID: 287, ac-auditEntity
Critical: Yes
Data:61:75:64:69:74:2d:69:6e:66:6f:

Signature:
------------
Signature Algorithm: sha1WithRSAEncryption
0e:40:4f:85:72:a2:15:ef:3c:f9:c3:54:74:64:bf:6e:e7 :b3:
14:21:70:22:50:fa:16:73:a7:dc:8c:8b:e8:41:1c:ae:90 :df:
6d:11:1f:24:1a:57:5c:b3:8f:ba:51:70:c3:fa:13:16:4a :30:
3e:4b:63:dd:46:ae:f2:9e:47:01:b4:17:4b:00:26:9c:e4 :5b:
ef:f1:bc:72:63:a4:f1:bf:ec:7b:f0:27:76:4e:24:bb:63 :06:
3c:67:f4:bc:f3:62:ce:53:94:ad:41:4c:36:11:9c:21:a2 :f7:
e5:2d:7f:6c:6e:7b:e4:4b:ed:22:4f:de:80:d8:8c:61:20 :ce:
d0:c3

------------------------

AC Version=3D v2,=20
Issuer Information
------------------


->name(GNs)irName: /C=3DES/ST=3DMadrid/L=3DLeganes/O=3DUniversidad =
Carlos
III/CN=3DSoA/emailAddress=3Dsoa@it.uc3m.es
->serial(INT):e3:1e:d2:8b:a0:60:53:2f:
->issuerUniqueID(INT):NULL
Holder Information
------------------

Holder BaseCertID:

->name(GNs)irName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad =
Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
->serial(INT):bd:a6:37:3d:db:9e:37:89:
->issuerUniqueID(INT):NULL
Validity
--------

Valid not before: 20070608185543Z
Valid not after: 20070615185543Z
Attribute information
---------------------
Number of attributes: 4=20

Attribute Number: 0
--------------------
Attribute NID: 354 , Name: id-aca-authenticationInfo=20
Service Authentication Information
Attribute syntax SvceAuthInfo
Consumed by the target application not the AC verifier
Multiple values allowed : yes
Values: 2
Printing value: 0
------------------
Ident information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Service information : Present
DirName: /C=3DES/ST=3DMadrid/L=3DGetafe/O=3DUniversidad Carlos III
de Madrid/OU=3DLibrary/CN=3DCatalog
Auth Info : Not present
Printing value: 1
------------------
Ident information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Service information : Present
DirName: /C=3DES/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos III
de Madrid/OU=3DDepartamento Ingenieria Telematica/CN=3DServicio de =
correo
electronico
Auth Info : Not present
Attribute Number: 1
--------------------
Attribute NID: 355 , Name: id-aca-accessIdentity=20
Access Identity
Attribute syntax SvceAuthInfo without AuthInfo
Consumed by the AC verifier to authorise
Multiple values allowed : yes
Values: 1
Printing value: 0
------------------
Ident information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Service information : Present
DirName: /C=3DES/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos III
de Madrid/OU=3DDepartamento Ingenieria Telematica/CN=3DServicio de =
correo
electronico
Auth Info : Not present... it should be not present!
Attribute Number: 2
--------------------
Attribute NID: 356 , Name: id-aca-chargingIdentity=20
Charging Identity
Attribute syntax IetfAttrSyntax
Consumed by the AC verifier to authorise
Multiple values allowed : no
Values: 1
Printing value: 0
------------------
Policy Authority information : Present
DirName: /C=3Des/ST=3DMadrid/L=3DLeganes/O=3DUniversidad Carlos
III/CN=3DUser/emailAddress=3Ddds@it.uc3m.es
Type of info : V_ASN1_OCTET_STRING
=09
0x530x6f0x6d0x650x200x640x610x740x610x200x740x6f0x 200x610x640x640x200x740=
x6f
0x2e0x2e0x2e0x2e0x2e
Attribute Number: 3
--------------------
Attribute NID: 400 , Name: role=20
Role
Attribute syntax RoleSyntax
Consumed by the AC verifier
Multiple values allowed : yes
Values: 1
Printing value: 0
------------------
roleAuthority [Optional] : Present
=09
roleName [MUST|URN]: URI:it.uc3m.es:administrator

Extensions:
------------
Number of extensions present : 1
NID: 287, ac-auditEntity
Critical: Yes
Data:61:75:64:69:74:2d:69:6e:66:6f:

Signature:
------------
Signature Algorithm: sha1WithRSAEncryption
0e:40:4f:85:72:a2:15:ef:3c:f9:c3:54:74:64:bf:6e:e7 :b3:
14:21:70:22:50:fa:16:73:a7:dc:8c:8b:e8:41:1c:ae:90 :df:
6d:11:1f:24:1a:57:5c:b3:8f:ba:51:70:c3:fa:13:16:4a :30:
3e:4b:63:dd:46:ae:f2:9e:47:01:b4:17:4b:00:26:9c:e4 :5b:
ef:f1:bc:72:63:a4:f1:bf:ec:7b:f0:27:76:4e:24:bb:63 :06:
3c:67:f4:bc:f3:62:ce:53:94:ad:41:4c:36:11:9c:21:a2 :f7:
e5:2d:7f:6c:6e:7b:e4:4b:ed:22:4f:de:80:d8:8c:61:20 :ce:
d0:c3

------------------------


-----Mensaje original-----
De: owner-openssl-dev@openssl.org =
[mailtowner-openssl-dev@openssl.org]
En nombre de Daniel Diaz Sanchez
Enviado el: viernes, 08 de junio de 2007 15:50
Para: openssl-users@openssl.org; openssl-dev@openssl.org
Asunto: Linux version of Attribute certificate API
=20
Hello,
=20
I have compiled the Attribute Certificate API on Linux and it is =
working
with OpenSSL 0.9.8a (I didn't check other versions)
=20
=20
The source can be downloaded at
http://www.it.uc3m.es/dds/swRelease/pmi/pmi.xml
=20
There are 3 versions:
=20
Version 0.1 (Windows only)
Version 0.1 (Linux/Windows) some minor changes to the Windows version
(types
and casts). It should work in windows also.
Version 0.2 (Windows) Includes some bugfixes and new functions to =
assist
the
issuing process. Those new functions can be personalized using
callbacks.
New functions are not yet covered by documentation.
=20
=20
I will try to move version 0.2 to Linux and also to finish the verifier
for
version 0.3 (if I have some spare time)
=20
Regards,
=20
Daniel
=20
=20
=20
--
Daniel Diaz Sanchez
Telecommunication Engineer
Researcher / Teaching Assistant
=20
Dep. Ing. Telem=E1tica
Universidad Carlos III de Madrid
Av. Universidad, 30
28911 Legan=E9s (Madrid/Spain)
Tel: (+34) 91-624-6233, Fax: -8749
=20
Web: www.it.uc3m.es/dds
web: http://www.it.uc3m.es/pervasive
A toolkit for attribute certificates:
http://www.it.uc3m.es/dds/swRelease/pmi/pmi.xml
=20
Mail: dds[at].it.uc3m.es
Skype: dds.it.uc3m.es
=20
=20
=20
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org