*
* SOURCE
*/
-typedef struct {
+typedef struct SilcPublicKeyIdentifierObject {
char *username;
char *host;
char *realname;
*
* SOURCE
*/
-typedef struct {
+typedef struct SilcSILCPublicKeyStruct {
SilcPublicKeyIdentifierStruct identifier;
const SilcPKCSAlgorithm *pkcs; /* PKCS algorithm */
void *public_key; /* PKCS algorithm specific public key */
*
* SOURCE
*/
-typedef struct {
+typedef struct SilcSILCPrivateKeyStruct {
const SilcPKCSAlgorithm *pkcs; /* PKCS algorithm */
void *private_key; /* PKCS algorithm specific private key */
} *SilcSILCPrivateKey;
*
* EXAMPLE
*
- * // Generate RSA key pair with 2048 bit key length, using PKCS #1
- * // no OID scheme.
- * silc_pkcs_silc_generate_key("rsa", 2048, rng, &public_key, &private_key);
+ * // Generate RSA key pair with 2048 bit key length
+ * silc_pkcs_silc_generate_key("rsa", 2048, ident_string, rng,
+ * &public_key, &private_key);
*
***/
SilcBool silc_pkcs_silc_generate_key(const char *algorithm,