RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

SSL_CIPHER Reference

This structure contains details of the cipher suite after an SSL connection has been established and the handshake has been completed.

It can be used for a number of different operations such as user feedback, debugging, diagnostic and logging operations, and gathering statistics. The cipher suite information is also used for ensuring that applications adhere to security access policies.

#include <sslctx_st.h>

struct ssl_cipher_st
{
    int valid;

    char *name;

    unsigned long id;

    unsigned long algorithms;

    unsigned long algorithm2;

    unsigned long mask;
};

Data Fields

char* name
 The text name.

unsigned long id
 The 4-Byte identifier. More...

unsigned long algorithms
 The ciphers used.

unsigned long algorithm2
 Holds export cipher related information in the first two Bytes. More...

unsigned long mask
 Field used for matching.


Field Documentation

unsigned long algorithm2
 

Holds export cipher related information in the first two Bytes. 0xff is the number of Bytes for the key size. 0xff00 is the 8-bit shifted maximum RSA/DH key size.

unsigned long id
 

The 4-Byte identifier. First is version.


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