summaryrefslogtreecommitdiff
path: root/lib/x509/sign.h
blob: 08e0475f72d29e1e150483e48123ee3ad960f67f (plain)
1
2
3
4
5
6
int _gnutls_x509_sign( const gnutls_datum* tbs, gnutls_mac_algorithm hash,
	gnutls_x509_privkey signer, gnutls_datum* signature);
int _gnutls_x509_sign_tbs( ASN1_TYPE cert, const char* tbs_name,
	gnutls_mac_algorithm hash, gnutls_x509_privkey signer, gnutls_datum* signature);
int _gnutls_x509_pkix_sign(ASN1_TYPE src, const char* src_name, 
	gnutls_x509_crt issuer, gnutls_x509_privkey issuer_key);