Gcr.DataFormat
Description: Reference for Gcr.DataFormat

### Enumeration

# GcrDataFormat

#### Declaration

    enum Gcr.DataFormat

#### Description [src]

The various format identifiers.

#### Members

`GCR_FORMAT_ALL`

  Represents all the formats, when enabling or disabling.

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

  Not a valid format.

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

  DER encoded private key.

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

  DER encoded RSA private key.

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

  DER encoded DSA private key.

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

  DER encoded EC private key.

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

  DER encoded SubjectPublicKeyInfo.

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

  DER encoded X.509 certificate.

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

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

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

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

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

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

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

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

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

  DER encoded PKCS#10 certificate request file.

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

  DER encoded SPKAC as generated by HTML5 keygen element.

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

  OpenSSL style SPKAC data.

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

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

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

  OpenSSH v1 or v2 public key.

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

  OpenPGP key packet(s).

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

  OpenPGP public or private key armor encoded data.

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

  An OpenSSL style PEM file with unspecified contents.

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

  An OpenSSL style PEM file with a private RSA key.

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

  An OpenSSL style PEM file with a private DSA key.

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

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

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

  An OpenSSL style PEM file containing PKCS#7.

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

  Unencrypted OpenSSL style PEM file containing PKCS#8.

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

  Encrypted OpenSSL style PEM file containing PKCS#8.

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

  An OpenSSL style PEM file containing PKCS#12.

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

  An OpenSSL style PEM file with a private key.

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

  An OpenSSL style PEM file containing PKCS#10.

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

  An OpenSSL style PEM file with a private EC key.

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

  An OpenSSL style PEM file containing a SubjectPublicKeyInfo.

  - Value: `1011`
  - Available since: 4