DataFormat#

class DataFormat#

The various format identifiers.

Fields#

class DataFormat
ALL#

Represents all the formats, when enabling or disabling

BASE64_SPKAC#

OpenSSL style SPKAC data

DER_CERTIFICATE_X509#

DER encoded X.509 certificate

DER_PKCS10#

DER encoded PKCS``10`` certificate request file

DER_PKCS12#

DER encoded PKCS``12`` file which can contain certificates and/or keys

DER_PKCS7#

DER encoded PKCS``7`` container file which can contain certificates

DER_PKCS8#

DER encoded PKCS``8`` file which can contain a key

DER_PKCS8_ENCRYPTED#

Encrypted DER encoded PKCS``8`` file which can contain a key

DER_PKCS8_PLAIN#

Unencrypted DER encoded PKCS``8`` file which can contain a key

DER_PRIVATE_KEY#

DER encoded private key

DER_PRIVATE_KEY_DSA#

DER encoded DSA private key

DER_PRIVATE_KEY_EC#

DER encoded EC private key

DER_PRIVATE_KEY_RSA#

DER encoded RSA private key

DER_SPKAC#

DER encoded SPKAC as generated by HTML5 keygen element

DER_SUBJECT_PUBLIC_KEY#

DER encoded SubjectPublicKeyInfo

INVALID#

Not a valid format

OPENPGP_ARMOR#

OpenPGP public or private key armor encoded data

OPENPGP_PACKET#

OpenPGP key packet(s)

OPENSSH_PUBLIC#

OpenSSH v1 or v2 public key

PEM#

An OpenSSL style PEM file with unspecified contents

PEM_CERTIFICATE_X509#

An OpenSSL style PEM file with an X.509 certificate

PEM_PKCS10#

An OpenSSL style PEM file containing PKCS``10``

PEM_PKCS12#

An OpenSSL style PEM file containing PKCS``12``

PEM_PKCS7#

An OpenSSL style PEM file containing PKCS``7``

PEM_PKCS8_ENCRYPTED#

Encrypted OpenSSL style PEM file containing PKCS``8``

PEM_PKCS8_PLAIN#

Unencrypted OpenSSL style PEM file containing PKCS``8``

PEM_PRIVATE_KEY#

An OpenSSL style PEM file with a private key

PEM_PRIVATE_KEY_DSA#

An OpenSSL style PEM file with a private DSA key

PEM_PRIVATE_KEY_EC#

An OpenSSL style PEM file with a private EC key

PEM_PRIVATE_KEY_RSA#

An OpenSSL style PEM file with a private RSA key

PEM_PUBLIC_KEY#

An OpenSSL style PEM file containing a SubjectPublicKeyInfo