Write an X.509 SubjectPublicKeyInfo to a BIO in PEM form.

Synopsis

Declared in <openssl/pem.h>

int
PEM_write_bio_X509_PUBKEY(
    BIO* bp,
    X509_PUBKEY const* x);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

bp

BIO to write to.

x

Public key to encode.

Created with MrDocs