Security Attributes


Defines

#define X400_S_SEC_IDENTITY   180
#define X400_B_SEC_GEN_MOAC   181
#define X400_S_SEC_IDENTITY_PASSPHRASE   182
#define X400_S_SEC_IDENTITY_DN   183
#define X400_S_SEC_SUBJECT_DN   184
#define X400_S_SEC_ISSUER_DN   185
#define X400_S_SEC_ENV   186

Detailed Description

These #defines are used to provide the security environment used to sign messages and verify signatures.

All these attributes apart from X400_B_SEC_GEN_MOAC can be specified in the Message object using X400msMsgAddStrParam() or X400msMsgAddIntParam(). They can also be specified in the default object using X400SetStrDefault() or X400SetIntDefault.

Values in the Message object override those set in the Default object.

The values are all ignored when the message is constructed unless the X400_B_SEC_GEN_MOAC is set in the Message object.

If X400_B_SEC_GEN_MOAC is set in the Message object, then a valid security environment must have been set up (see the X.509 Setup Guide). The other attributes must be passed in to point to this security environment.

Currently only Digital Identities in a directory called "x509" can be used. The parent directory is passed in X400_S_SEC_IDENTITY.


Define Documentation

#define X400_S_SEC_IDENTITY   180

Directory in which to search for Identities: Looks in x509 Sub Directory

Definition at line 637 of file x400_att.h.

#define X400_B_SEC_GEN_MOAC   181

Generate MOAC 0: no (default), 1: yes

Definition at line 640 of file x400_att.h.

#define X400_S_SEC_IDENTITY_PASSPHRASE   182

Passphrase to open Identity

Definition at line 643 of file x400_att.h.

#define X400_S_SEC_IDENTITY_DN   183

DN in Certificate

Definition at line 646 of file x400_att.h.

#define X400_S_SEC_SUBJECT_DN   184

DN of subject from certificate used to verify the MOAC in the message

Definition at line 649 of file x400_att.h.

#define X400_S_SEC_ISSUER_DN   185

DN of issuer of certificate used to verify the MOAC in the message

Definition at line 652 of file x400_att.h.

#define X400_S_SEC_ENV   186

For internal use only

Definition at line 655 of file x400_att.h.

Copyright © 2008 Isode privacy   feedback Subscribe to our rss newsfeed