RSA Security logo

RSA BSAFE Cert-C
API Reference

cmpstr.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (c) RSA Security Inc., 1999-2002.  All rights reserved.
00003 * This work contains proprietary, confidential, and trade secret
00004 * information of RSA Security Inc.  Use, disclosure or reproduction
00005 * without the express written authorization of RSA Security Inc. is
00006 * prohibited.
00007 */
00008 
00009 #ifndef _CMPSTR_H_
00010 #define _CMPSTR_H_ 1
00011 
00018 #include "certattr.h"
00019 #include "certname.h"
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00051 int C_ComparePrintableString (
00052   POINTER      str1,
00053   unsigned int len1,
00054   POINTER      str2,
00055   unsigned int len2);
00056 
00087 int C_CompareString (
00088   int            tag1,
00089   unsigned char *str1,
00090   unsigned int   len1,
00091   int            tag2,
00092   unsigned char *str2,
00093   unsigned int   len2);
00094 
00116 int C_CompareName (
00117   NAME_OBJ name1,
00118   NAME_OBJ name2);
00119 
00144 int C_CompareBaseName (
00145   NAME_OBJ name1,
00146   NAME_OBJ name2);
00147 
00148 #ifdef __cplusplus
00149 }
00150 #endif
00151 
00152 #endif /* _CMPSTR_H_ */



RSA BSAFE® Cert-C 2.7 API Reference