RSA Security logo

RSA BSAFE Cert-C
API Reference

POSTAL_ADDRESS Struct Reference

Corresponds to the postal-address attribute's value.

Use POSTAL_ADDRESS with the C_AddPostalAddressValue() and C_GetPostalAddressValue() functions.

Data Fields
count An unsigned int value that indicates the number of lines in the postal address. The maximum number of lines is MAX_ADDRESS_LINE_COUNT.
lines An array of tags, values, and value lengths.
  • tag. An int value that indicates character type of the string. Valid values are VT_PRINTABLE_STRING or VT_T61_STRING.
  • value. A pointer to an unsigned char array that contains the postal address value.
  • valueLen. An unsigned int value that indicates the length of the string in value. The maximum length is MAX_ADDRESS_LINE_LEN characters.

#include <certattr.h>

00098 typedef struct {
00099   unsigned int count;
00100   struct {
00101     int            tag;
00102     unsigned char *value;
00103     unsigned int   valueLen;
00104   } lines[MAX_ADDRESS_LINE_COUNT];
00105 } POSTAL_ADDRESS;

The documentation for this struct was generated from the following file:


RSA BSAFE® Cert-C 2.7 API Reference