scclib
Stable Cloud Computing C++ Library
Static Public Member Functions | List of all members
scc::crypto::RsaPublicKeyCert Struct Reference

RSA public key certificate. More...

#include <cert.h>

Static Public Member Functions

static void parse (const BasePtr &, RsaPublicKey &)
 Parse from a sequence. More...
 
static void parse (const DerDocument &doc, RsaPublicKey &key)
 
static BasePtr dump (const RsaPublicKey &)
 Dump to a sequence.
 

Detailed Description

RSA public key certificate.

From https://tools.ietf.org/html/rfc2437#section-11.1.1

RSAPublicKey ::= SEQUENCE { modulus INTEGER, – n publicExponent INTEGER – e }

PEM header is BEGIN RSA PUBLIC KEY.

Definition at line 151 of file cert.h.

Member Function Documentation

◆ parse()

void RsaPublicKeyCert::parse ( const BasePtr &  base,
RsaPublicKey key 
)
static

Parse from a sequence.

Throws exception on error.

Definition at line 228 of file cert.cc.


The documentation for this struct was generated from the following files: