botan.pubkey.x509_key

X.509 Public Key

Public Imports

botan.pubkey.pk_keys
public import botan.pubkey.pk_keys;
Undocumented in source.
botan.asn1.alg_id
public import botan.asn1.alg_id;
Undocumented in source.
botan.filters.pipe
public import botan.filters.pipe;
Undocumented in source.

Members

Aliases

X509Encoding
alias X509Encoding = bool
Undocumented in source.
x509_key
alias x509_key = botan.pubkey.x509_key
Undocumented in source.

Enums

RAW_BER
anonymousenum RAW_BER

The two types of X509 encoding supported by Botan.

Functions

BER_encode
Vector!ubyte BER_encode(PublicKey key)

BER encode a key

PEM_encode
string PEM_encode(PublicKey key)

PEM encode a public key into a string.

caOpts
X509CertOptions caOpts()
Undocumented in source. Be warned that the author may not have intended to support it.
checkAgainstCopy
uint checkAgainstCopy(PrivateKey orig, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.
copyKey
PublicKey copyKey(PublicKey key)

Copy a key.

keyId
ulong keyId(PublicKey key)
Undocumented in source. Be warned that the author may not have intended to support it.
loadKey
PublicKey loadKey(DataSource source)

Create a public key from a data source.

loadKey
PublicKey loadKey(string filename)

Create a public key from a file

loadKey
PublicKey loadKey(Vector!(ubyte, ALLOC) enc)

Create a public key from a memory region.

reqOpts1
X509CertOptions reqOpts1()
Undocumented in source. Be warned that the author may not have intended to support it.
reqOpts2
X509CertOptions reqOpts2()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)