SetSignProcessEd448IdentityFromFileA
보안 및 서명
설명
끝의 A는 ANSI(char) DLL 진입점을 나타내며 ActiveX/COM 표면은 Unicode 형식만 노출합니다. 동작은 SetSignProcessEd448IdentityFromFile 함수와 동일하며 문자열 인수는 현재 SetAnsiMode 코드 페이지를 사용하여 해석됩니다
Ed448 X.509 인증서와 개인 키를 DER 파일에서 로드해 PDF 서명 프로세스에 붙입니다
구문
Delphi
Function DLSetSignProcessEd448IdentityFromFileA(InstanceID, SignProcessID: Integer; CertificateFile, PrivateKeyFile: PAnsiChar): Integer;
DLL
int DLSetSignProcessEd448IdentityFromFileA(int InstanceID, int SignProcessID, const char* CertificateFile, const char* PrivateKeyFile);
매개변수
| SignProcessID | NewSignProcessFrom* 함수가 반환한 값 |
|---|---|
| CertificateFile | DER 인코딩 Ed448 X.509 인증서 경로 |
| PrivateKeyFile | 원시 32바이트 seed 또는 비암호화 PKCS #8 DER 개인 키 경로 |
반환 값
| 1 | 두 파일을 읽었고 identity가 프로세스에 붙었습니다 |
|---|---|
| 0 | 파일 또는 프로세스 id가 잘못되었습니다 |
비고
DLL은 ANSI 경로용 DLSetSignProcessEd448IdentityFromFileA도 export합니다
인증서와 개인 키는 서명 프로세스에 보관되므로 이 호출이 반환된 뒤 원본 파일을 닫거나 교체해도 됩니다
참고 항목
SetSignProcessEd448Identity, SetSignProcessPFXFromFile, SetSignProcessSubFilter