Xamarin Public Jenkins (auto-signing) 62edeef69b Imported Upstream version 4.8.0.344
Former-commit-id: 609085c14e6ad2a66429d180056034e93c0547d2
2016-11-16 13:31:47 +00:00

33 lines
569 B
C

//
// btls-key.h
// MonoBtls
//
// Created by Martin Baulig on 3/7/16.
// Copyright © 2016 Xamarin. All rights reserved.
//
#ifndef __btls__btls_key__
#define __btls__btls_key__
#include <stdio.h>
#include <btls-ssl.h>
#include <btls-x509.h>
void
mono_btls_key_free (EVP_PKEY *pkey);
EVP_PKEY *
mono_btls_key_up_ref (EVP_PKEY *pkey);
int
mono_btls_key_get_bits (EVP_PKEY *pkey);
int
mono_btls_key_is_rsa (EVP_PKEY *pkey);
int
mono_btls_key_get_bytes (EVP_PKEY *pkey, uint8_t **buffer, int *size, int include_private_bits);
#endif /* __btls__btls_key__ */