AddPublicKeyRecipientFromStoreA

보안 및 서명

Enterprise 에디션이 필요합니다. Delphi, C++Builder 및 Lazarus 코드에서는 라이브러리를 TPDFlibEnterprise(PDFlibEnterprise 유닛)로 생성합니다. Enterprise DLL 및 ActiveX 빌드는 이를 그대로 제공합니다. 다른 에디션은 메서드를 유지하며, 이 메서드는 0, 빈 문자열 또는 False를 반환하고 LastErrorCode를 900(PDFLIB_ERROR_ENTERPRISE_REQUIRED)으로 설정합니다

설명

AddPublicKeyRecipientFromStore의 ANSI 변형

문자열 매개변수를 ANSI 텍스트로 받고 그 밖의 동작은 넓은 문자열 진입점과 동일함

구문

DLL

int DLAddPublicKeyRecipientFromStoreA(int InstanceID, const char* StoreName, const char* CertificateName, int UseMachineStore, int Permissions);

반환 값

1수신자 인증서가 추가되었습니다
0저장소, 인증서, 권한 또는 문서 상태가 잘못되었습니다

비고

DLL은 ANSI 문자열용 DLAddPublicKeyRecipientFromStoreA도 내보냅니다

참고 항목

SetPublicKeyDecryptionStore, EncryptPublicKey