PSPDFSignatureEncryptionAlgorithm

enum PSPDFSignatureEncryptionAlgorithm {}

The supported encryption algorithms that can be used when signing a document.

  • RSA, one of the most popular public-key encryption systems.

    Declaration

    Objective-C

    PSPDFSignatureEncryptionAlgorithmRSA

    Swift

    case RSA = 0
  • DSA (Digital Signature Algorithm). Faster than RSA for signing a document, but the verification is slower.

    Declaration

    Objective-C

    PSPDFSignatureEncryptionAlgorithmDSA

    Swift

    case DSA = 1
  • ECDSA (Elliptic Curve Digital Signature Algorithm). Introduced for signing PDF documents in PDF 2.0.

    Declaration

    Objective-C

    PSPDFSignatureEncryptionAlgorithmECDSA

    Swift

    case ECDSA = 2
  • This is an algorithm we don’t currently know about.

    Declaration

    Objective-C

    PSPDFSignatureEncryptionAlgorithmUnknown

    Swift

    case unknown = 3