Gcr.DataFormat
Description: Reference for Gcr.DataFormat

### Enumeration

# GcrDataFormat

since: 4

#### Declaration

    enum Gcr.DataFormat

#### Description [src]

The various format identifiers.

Available since: 4

#### Members

`GCR_FORMAT_ALL`

  Represents all the formats, when enabling or disabling.

  - Value: `-1`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_INVALID`

  Not a valid format.

  - Value: `0`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PRIVATE_KEY`

  DER encoded private key.

  - Value: `100`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PRIVATE_KEY_RSA`

  DER encoded RSA private key.

  - Value: `101`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PRIVATE_KEY_DSA`

  DER encoded DSA private key.

  - Value: `102`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PRIVATE_KEY_EC`

  DER encoded EC private key.

  - Value: `103`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_SUBJECT_PUBLIC_KEY`

  DER encoded SubjectPublicKeyInfo.

  - Value: `150`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_CERTIFICATE_X509`

  DER encoded X.509 certificate.

  - Value: `200`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PKCS7`

  DER encoded PKCS#7 container file which can contain certificates.

  - Value: `300`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PKCS8`

  DER encoded PKCS#8 file which can contain a key.

  - Value: `400`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PKCS8_PLAIN`

  Unencrypted DER encoded PKCS#8 file which can contain a key.

  - Value: `401`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PKCS8_ENCRYPTED`

  Encrypted DER encoded PKCS#8 file which can contain a key.

  - Value: `402`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PKCS10`

  DER encoded PKCS#10 certificate request file.

  - Value: `450`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_SPKAC`

  DER encoded SPKAC as generated by HTML5 keygen element.

  - Value: `455`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_BASE64_SPKAC`

  OpenSSL style SPKAC data.

  - Value: `456`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_DER_PKCS12`

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

  - Value: `500`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_OPENSSH_PUBLIC`

  OpenSSH v1 or v2 public key.

  - Value: `600`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_OPENPGP_PACKET`

  OpenPGP key packet(s)

  - Value: `700`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_OPENPGP_ARMOR`

  OpenPGP public or private key armor encoded data.

  - Value: `701`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM`

  An OpenSSL style PEM file with unspecified contents.

  - Value: `1000`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PRIVATE_KEY_RSA`

  An OpenSSL style PEM file with a private RSA key.

  - Value: `1001`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PRIVATE_KEY_DSA`

  An OpenSSL style PEM file with a private DSA key.

  - Value: `1002`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_CERTIFICATE_X509`

  An OpenSSL style PEM file with an X.509 certificate.

  - Value: `1003`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PKCS7`

  An OpenSSL style PEM file containing PKCS#7

  - Value: `1004`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PKCS8_PLAIN`

  Unencrypted OpenSSL style PEM file containing PKCS#8

  - Value: `1005`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PKCS8_ENCRYPTED`

  Encrypted OpenSSL style PEM file containing PKCS#8

  - Value: `1006`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PKCS12`

  An OpenSSL style PEM file containing PKCS#12

  - Value: `1007`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PRIVATE_KEY`

  An OpenSSL style PEM file with a private key.

  - Value: `1008`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PKCS10`

  An OpenSSL style PEM file containing PKCS#10

  - Value: `1009`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PRIVATE_KEY_EC`

  An OpenSSL style PEM file with a private EC key.

  - Value: `1010`
  - Nickname: `None`
  - Available since: 4
`GCR_FORMAT_PEM_PUBLIC_KEY`

  An OpenSSL style PEM file containing a SubjectPublicKeyInfo.

  - Value: `1011`
  - Nickname: `None`
  - Available since: 4