OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
spkigen.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <openssl/err.h>
#include <openssl/asn1.h>
#include <openssl/objects.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>

Go to the source code of this file.

Macros

#define PEM_write_SPKI(fp, x)
 
#define RSA_F4   0x10001
 
#define EVP_PKEY_assign_RSA(pkey, rsa)
 

Functions

int SPKI_set_pubkey (NETSCAPE_SPKI *x, EVP_PKEY *pkey)
 
int EVP_PKEY_assign (EVP_PKEY *pkey, int type, char *key)
 
int main (int argc, argv)
 

Macro Definition Documentation

#define EVP_PKEY_assign_RSA (   pkey,
  rsa 
)
Value:
(char *)(rsa))

Definition at line 26 of file spkigen.c.

#define PEM_write_SPKI (   fp,
 
)
Value:
PEM_ASN1_write((int (*)())i2d_NETSCAPE_SPKI,"SPKI",fp,\
(char *)x,NULL,NULL,0,NULL)

Definition at line 18 of file spkigen.c.

#define RSA_F4   0x10001

Definition at line 25 of file spkigen.c.

Function Documentation

int EVP_PKEY_assign ( EVP_PKEY pkey,
int  type,
char *  key 
)

Definition at line 93 of file spkigen.c.

int main ( int  argc,
argv   
)

Definition at line 29 of file spkigen.c.

int SPKI_set_pubkey ( NETSCAPE_SPKI x,
EVP_PKEY pkey 
)

Definition at line 118 of file spkigen.c.