RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Types

This section details the types of recognized application-defined data. The following table details the strings that are interpreted by R_CM_TYPE_from_string().

Identifier String
R_CM_TYPE_UNKNOWN
  • "UNKNOWN"
  • "unknown"
  • R_CM_TYPE_DATA_READ
  • "DATA_READ"
  • "data_read"
  • R_CM_TYPE_DATA_WRITE
  • "DATA_WRITE"
  • "data_write"
  • R_CM_TYPE_DATA
  • "DATA"
  • "data"
  • R_CM_TYPE_SIGNED_DATA_READ
  • "SIGNED_DATA_READ"
  • "signed_data_read"
  • R_CM_TYPE_SIGNED_DATA_WRITE
  • "SIGNED_DATA_WRITE"
  • "signed_data_write"
  • R_CM_TYPE_SIGNED_DATA
  • "SIGNED_DATA"
  • "signed_data"
  • R_CM_TYPE_TST_INFO_READ
  • "TST_INFO_READ"
  • "tst_info_read"
  • R_CM_TYPE_TST_INFO_WRITE
  • "TST_INFO_WRITE"
  • "tst_info_write"
  • R_CM_TYPE_TST_INFO
  • "TST_INFO"
  • "tst_info"
  • R_CM_TYPE_ENVELOPED_DATA_READ
  • "ENVELOPED_DATA_READ"
  • "enveloped_data_read"
  • R_CM_TYPE_ENVELOPED_DATA_WRITE
  • "ENVELOPED_DATA_WRITE"
  • "enveloped_data_write"
  • R_CM_TYPE_ENVELOPED_DATA
  • "ENVELOPED_DATA"
  • "enveloped_data"
  • The following table details the strings that are produced by R_CM_TYPE_to_string().

    Identifier String
    R_CM_TYPE_UNKNOWN "UNKNOWN"
    R_CM_TYPE_DATA_READ "DATA_READ"
    R_CM_TYPE_DATA_WRITE "DATA_WRITE"
    R_CM_TYPE_DATA "DATA"
    R_CM_TYPE_SIGNED_DATA_READ "SIGNED_DATA_READ"
    R_CM_TYPE_SIGNED_DATA_WRITE "SIGNED_DATA_WRITE"
    R_CM_TYPE_SIGNED_DATA "SIGNED_DATA"
    R_CM_TYPE_TST_INFO_READ "TST_INFO_READ"
    R_CM_TYPE_TST_INFO_WRITE "TST_INFO_WRITE"
    R_CM_TYPE_TST_INFO "TST_INFO"
    R_CM_TYPE_ENVELOPED_DATA_READ "ENVELOPED_DATA_READ"
    R_CM_TYPE_ENVELOPED_DATA_WRITE "ENVELOPED_DATA_WRITE"
    R_CM_TYPE_ENVELOPED_DATA "ENVELOPED_DATA"

    Defines

    #define R_CM_TYPE_UNKNOWN
     Indicates the message type is unknown. More...

    #define R_CM_TYPE_DATA_READ
     Indicates application-defined data read type. More...

    #define R_CM_TYPE_DATA_WRITE
     Indicates application-defined data write type. More...

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

    #define R_CM_TYPE_SIGNED_DATA_READ
     Indicates the signed data read type. More...

    #define R_CM_TYPE_SIGNED_DATA_WRITE
     Indicates the signed data write type. More...

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

    #define R_CM_TYPE_ENVELOPED_DATA_READ
     Indicates the enveloped data message read type. More...

    #define R_CM_TYPE_ENVELOPED_DATA_WRITE
     Indicates the enveloped data message write type. More...

    #define R_CM_TYPE_TST_INFO_READ
     Indicates the TSTInfo data read type. More...

    #define R_CM_TYPE_TST_INFO_WRITE
     Indicates the TSTInfo data write type. More...

    #define R_CM_TYPE_TST_INFO
     Indicates the TSTInfo type. More...

    #define R_CM_TYPE_ENVELOPED_DATA
     Indicates the enveloped data message type. More...

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

    #define R_CM_TYPE_DEFAULT_READ
     Indicates the default read message types. More...

    #define R_CM_TYPE_DEFAULT_WRITE
     Indicates the default write message types. More...

    #define R_CM_TYPE_STRING_UNKNOWN
     Indicates the standard string representation of the cryptographic message type is unknown.

    #define R_CM_TYPE_STRING_DATA_READ
     Indicates the standard string representation of the cryptographic read message type is application-defined data.

    #define R_CM_TYPE_STRING_DATA_WRITE
     Indicates the standard string representation of the cryptographic write message type is application-defined data.

    #define R_CM_TYPE_STRING_DATA
     Indicates the standard string representation of the cryptographic message type is application-defined data.

    #define R_CM_TYPE_STRING_SIGNED_DATA_READ
     Indicates the standard string representation of the cryptographic read message type is signed data.

    #define R_CM_TYPE_STRING_SIGNED_DATA_WRITE
     Indicates the standard string representation of the cryptographic write message type is signed data.

    #define R_CM_TYPE_STRING_SIGNED_DATA
     Indicates the standard string representation of the cryptographic message type is signed data.

    #define R_CM_TYPE_STRING_ENVELOPED_DATA_READ
     Indicates the standard string representation of the cryptographic read message type is enveloped data.

    #define R_CM_TYPE_STRING_ENVELOPED_DATA_WRITE
     Indicates the standard string representation of the cryptographic write message type is enveloped data.

    #define R_CM_TYPE_STRING_ENVELOPED_DATA
     Indicates the standard string representation of the cryptographic message type is enveloped data.

    #define R_CM_TYPE_STRING_TST_INFO
     Indicates the standard string representation of the cryptographic message type is TSTInfo.

    #define R_CM_TYPE_STRING_TST_INFO_READ
     Indicates the standard string representation of the cryptographic read message type is TSTInfo.

    #define R_CM_TYPE_STRING_TST_INFO_WRITE
     Indicates the standard string representation of the cryptographic read message type is TSTInfo.

    #define R_CM_TYPE_MAX_STR_LENGTH
     Indicates 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 Operation 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_DATA_READ
     

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

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

    #define R_CM_TYPE_DATA_WRITE
     

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

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

    #define R_CM_TYPE_DEFAULT
     

    Indicates the default message types. The default message types are R_CM_TYPE_DATA, R_CM_TYPE_SIGNED_DATA and R_CM_TYPE_ENVELOPED_DATA.

    #define R_CM_TYPE_DEFAULT_READ
     

    Indicates the default read message types. The default message types are R_CM_TYPE_DATA, R_CM_TYPE_SIGNED_DATA and R_CM_TYPE_ENVELOPED_DATA.

    #define R_CM_TYPE_DEFAULT_WRITE
     

    Indicates the default write message types. The default message types are R_CM_TYPE_DATA, R_CM_TYPE_SIGNED_DATA and R_CM_TYPE_ENVELOPED_DATA.

    #define R_CM_TYPE_ENVELOPED_DATA
     

    Indicates the enveloped data message type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "ENVELOPED_DATA"
  • "enveloped_data"
  • These strings are interpreted as the enveloped data type.
    R_CM_TYPE_to_string() "ENVELOPED_DATA" The string that represents the enveloped data type.

    #define R_CM_TYPE_ENVELOPED_DATA_READ
     

    Indicates the enveloped data message read type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "ENVELOPED_DATA_READ"
  • "enveloped_data_read"
  • These strings are interpreted as the enveloped data read type.
    R_CM_TYPE_to_string() "ENVELOPED_DATA_READ" The string that represents the enveloped data read type.

    #define R_CM_TYPE_ENVELOPED_DATA_WRITE
     

    Indicates the enveloped data message write type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "ENVELOPED_DATA_WRITE"
  • "enveloped_data_write"
  • These strings are interpreted as the enveloped data write type.
    R_CM_TYPE_to_string() "ENVELOPED_DATA_WRITE" The string that represents the enveloped data write type.

    #define R_CM_TYPE_SIGNED_DATA
     

    Indicates the signed data type. The following table details the usage of the identifier in Operation 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.

    #define R_CM_TYPE_SIGNED_DATA_READ
     

    Indicates the signed data read type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "SIGNED_DATA_READ"
  • "signed_data_read"
  • These strings are interpreted as the signed data read type.
    R_CM_TYPE_to_string() "SIGNED_DATA_READ" The string that represents the signed data read type.

    #define R_CM_TYPE_SIGNED_DATA_WRITE
     

    Indicates the signed data write type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "SIGNED_DATA_WRITE"
  • "signed_data_write"
  • These strings are interpreted as the signed data write type.
    R_CM_TYPE_to_string() "SIGNED_DATA_WRITE" The string that represents the signed data write type.

    #define R_CM_TYPE_TST_INFO
     

    Indicates the TSTInfo type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "TST_INFO"
  • "tst_info"
  • These strings are interpreted as the TSTInfo type.
    R_CM_TYPE_to_string() "TST_INFO" The string that represents the TSTInfo type.

    #define R_CM_TYPE_TST_INFO_READ
     

    Indicates the TSTInfo data read type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "TST_INFO"
  • "tst_info_read"
  • These strings are interpreted as the TSTInfo data read type.
    R_CM_TYPE_to_string() "TST_INFO" The string that represents the TSTInfo data read type.

    #define R_CM_TYPE_TST_INFO_WRITE
     

    Indicates the TSTInfo data write type. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "TST_INFO"
  • "tst_info_write"
  • These strings are interpreted as the TSTInfo data write type.
    R_CM_TYPE_to_string() "TST_INFO" The string that represents the TSTInfo data write type.

    #define R_CM_TYPE_UNKNOWN
     

    Indicates the message type is unknown. The following table details the usage of the identifier in Operation Functions.

    Function String Description
    R_CM_TYPE_from_string()
  • "UNKNOWN"
  • "unknown"
  • These strings are interpreted as unknown type.
    R_CM_TYPE_to_string() "UNKNOWN" The string that represents an unknown type.


    Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1