| Function silc_pkcs_silc_generate_key
 
 SYNOPSIS
 
    SilcBool silc_pkcs_silc_generate_key(const char *algorithm,
                                         SilcUInt32 bits_key_len,
                                         const char *identifier,
                                         SilcRng rng,
                                         SilcPublicKey *ret_public_key,
                                         SilcPrivateKey *ret_private_key)
DESCRIPTION
    Generate a new SILC key pair of the algorithm type `algorithm' with
    the key length in bits of `bits_key_len'.  The `scheme' may be NULL.
    Returns FALSE if key generation failed.
EXAMPLE
    // Generate RSA key pair with 4096 bit key length
    silc_pkcs_silc_generate_key("rsa", 4096, ident_string, rng,
                                &public_key, &private_key);
 
 
 
 |