PSPDFPrivateKeyEncoding

Objective-C

NS_ENUM(NSInteger, PSPDFPrivateKeyEncoding) {
    /// A PKCS#8 encoded private key.
    PSPDFPrivateKeyEncodingPKCS8,
    /// A PKCS#1 encoded private key. Both PEM and raw ASN.1 binary format supported.
    PSPDFPrivateKeyEncodingPKCS1,
}

Swift

enum Encoding : Int

Undocumented

  • A PKCS#8 encoded private key.

    Declaration

    Objective-C

    PSPDFPrivateKeyEncodingPKCS8

    Swift

    case PKCS8 = 0
  • A PKCS#1 encoded private key. Both PEM and raw ASN.1 binary format supported.

    Declaration

    Objective-C

    PSPDFPrivateKeyEncodingPKCS1

    Swift

    case PKCS1 = 1