RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

Cryptographic Message Types

This section details the types of recognized application-defined data.

The following table details the strings that are interpretted by R_CM_TYPE_from_string().

Identifier String
R_CM_TYPE_DATA
  • "DATA"
  • "data"
  • R_CM_TYPE_SIGNED_DATA
  • "SIGNED_DATA"
  • "signed_data"
  • The following table details the strings that are produced by R_CM_TYPE_to_string().

    Identifier String
    R_CM_TYPE_DATA "DATA"
    R_CM_TYPE_SIGNED_DATA "SIGNED_DATA"

    Defines

    #define R_CM_TYPE_DATA
     Indicates application-defined data type. More...

    #define R_CM_TYPE_SIGNED_DATA
     Indicates signed data type. More...

    #define R_CM_TYPE_DEFAULT
     Indicates default message types. More...

    #define R_CM_TYPE_STRING_DATA
     The standard string represtentation of the cryptographic message type application-defined data.

    #define R_CM_TYPE_STRING_SIGNED_DATA
     The standard string represtentation of the cryptographic message type signed data.

    #define R_CM_TYPE_MAX_STR_LENGTH
     The maximum size of a buffer required for the output of R_CM_TYPE_to_string().


    Define Documentation

    #define R_CM_TYPE_DATA
     

    Indicates application-defined data type. The following table details the usage of the identifier in Cryptographic Message Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "DATA"
  • "data"
  • These strings are interpreted as the application-defined data type.
    R_CM_TYPE_to_string() "DATA" The string that represents the application-defined data type.

    #define R_CM_TYPE_DEFAULT
     

    Indicates default message types. The default message types are "data" and "signed_data".

    #define R_CM_TYPE_SIGNED_DATA
     

    Indicates signed data type. The following table details the usage of the identifier in Cryptographic Message Functions.
    Function String Description
    R_CM_TYPE_from_string()
  • "SIGNED_DATA"
  • "signed_data"
  • These strings are interpreted as the signed data type.
    R_CM_TYPE_to_string() "SIGNED_DATA" The string that represents the signed data type.


    Copyright (c) 1999-2002 RSA Security Inc. All rights reserved. 061-001007-100-001-000-3405 A1 - 1.0