PSPDFPKCS12

Undocumented

  • Undocumented

  • Undocumented

  • Inits the object with data from a PKCS12 blob

    Declaration

    Objective-C

    - (nonnull instancetype)initWithData:(nonnull NSData *)data;

    Swift

    init(data: Data)
  • Unlocks the PKCS12 archive and retrieves the certificate and public key.

    Declaration

    Objective-C

    - (void)unlockWithPassword:(nonnull NSString *)password
                          done:(nullable void (^)(PSPDFX509 *_Nullable,
                                                  PSPDFPrivateKey *_Nullable,
                                                  NSError *_Nullable))done;

    Swift

    func unlock(withPassword password: String, done: ((PSPDFX509?, PSPDFPrivateKey?, Error?) -> Void)? = nil)