RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

r_skey.h File Reference

This file contains defines and structures for symmetric key manipulation.

#include "r_com.h"
#include "r_lib.h"

Go to the source code of this file.

Defines

#define R_SKEY_TYPE_UNKNOWN
 Indicates that the type of symmetric key is unknown.

#define R_SKEY_TYPE_GENERIC
 Indicates that the type of symmetric key is in raw binary (generic) form.

#define R_SKEY_INFO_ID_VALUE
 Indicates the R_SKEY information identifiers.


Typedefs

typedef struct r_skey_st R_SKEY
 This opaque structure is used for symmetric key storage.

typedef struct r_skey_method_st R_SKEY_METHOD
 This opaque structure is used for symmetric key methods storage.


Functions

int R_SKEY_new (R_LIB_CTX *ctx, int key_type, R_ITEM *key_descriptor, R_SKEY **new_skey)
 Creates a new R_SKEY. More...

int R_SKEY_free (R_SKEY *skey)
 Deallocates the memory for the symmetric key object skey. More...

int R_SKEY_get_info (R_SKEY *skey, int id, void *param)
 Returns the R_SKEY key data. More...


Copyright (c) 1999-2002 RSA Security Inc. All rights reserved. 061-001005-150-001-000-3768 - 1.5