1 #ifndef _issacapi_ucpid_h
2 #define _issacapi_ucpid_h
11 typedef struct _UCPIDREQUESTINFO {
16 typedef struct _ISPREQINFO {
21 typedef struct _UCPIDREQUEST {
26 typedef struct _UCPIDRESPONSE {
31 typedef struct _PERSONINFOV2 {
69 const unsigned char *nonce,
95 const char *userAgreementUtf8,
108 int *userAgreementLen,
109 int userAgreementAllocLen,
135 int userAgreeAllocCount,
147 const char *ispUrlInfoUtf8,
161 int IspUrlInfoAllocLen,
173 const unsigned char *ucpidAttributes,
174 int ucpidAttributesLen
185 unsigned char *ucpidAttributes,
186 int *ucpidAttributesLen,
187 int ucpidAttributesAllocLen,
265 const unsigned char *issuerKeyHash,
369 const unsigned char *nonce,
381 const char *cpRequestNumber,
382 int cpRequestNumberLen
404 const unsigned char *signedPersonInfoReq,
405 int signedPersonInfoReqLen
463 unsigned char *issuerKeyHash,
464 int *issuerKeyHashLen,
465 int issuerKeyHashAllocLen,
478 int *statusCodeListCount,
479 int statusCodeListAllocCount,
492 int *statusStringLen,
493 int statusStringAllocLen,
566 unsigned char *nonce,
581 int cpReqNumberAllocLen,
635 int *realNameUtf8Len,
636 int realNameUtf8AllocLen,
672 int birthDateAllocLen,
unsigned int ISSAC_RETURN
ISSAC-API 실행 결과 [ ISSACAPI_BASIC_RETURN, ISSACAPI_ERRORS, ISSAC_LICENSE_ERR ]
Definition: issacapi_bs_definitions.h:32
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Get_UserAgreeInfo(int *userAgree, int *userAgreeCount, int userAgreeAllocCount, UCPIDREQUESTINFO *ucpidReqInfo)
개인정보활용 동의 항목을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Write_Memory(void *buffer, int *bufferLen, int bufferAllocLen, UCPIDREQUESTINFO *ucpidReqInfo)
UCPIDREQUESTINFO를 버퍼로 출력한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Set_CpRequestNumber(ISPREQINFO *ispReqInfo, const char *cpRequestNumber, int cpRequestNumberLen)
CP Request Number(ISP가 부여하는 세션정보) 를 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Create(UCPIDREQUESTINFO *ucpidReqInfo)
UCPIDREQUESTINFO 를 초기화한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_Gender(int *gender, PERSONINFOV2 *personInfo)
이용자의 성별을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Read_Memory(PERSONINFOV2 *personInfo, const void *buffer, int bufferLen)
PERSONINFOV2를 버퍼에서 읽어들인다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_Write_Memory(void *buffer, int *bufferLen, int bufferAllocLen, UCPIDREQUEST *ucpidRequest)
UCPIDREQUEST를 버퍼로 출력한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Get_UCPIDAttributes(unsigned char *ucpidAttributes, int *ucpidAttributesLen, int ucpidAttributesAllocLen, UCPIDREQUESTINFO *ucpidReqInfo)
UCPIDAttributes 를 가져온다. (확장성을 위해 필요한 값으로 현재는 사용하지 않음)
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Set_UCPIDAttributes(UCPIDREQUESTINFO *ucpidReqInfo, const unsigned char *ucpidAttributes, int ucpidAttributesLen)
UCPIDAttributes 를 설정한다. (확장성을 위해 필요한 값으로 현재는 사용하지 않음)
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Create(PERSONINFOV2 *personInfo)
PERSONINFOV2 를 초기화한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Set_IspUrlInfo(UCPIDREQUESTINFO *ucpidReqInfo, const char *ispUrlInfoUtf8, int ispUrlInfoLen)
ISP URL Info 를 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Get_IssuerKeyHash(unsigned char *issuerKeyHash, int *issuerKeyHashLen, int issuerKeyHashAllocLen, UCPIDRESPONSE *ucpidResponse)
공인인증기관의 공개키 해시값을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_SendTo(UCPIDRESPONSE *ucpidResponse, UCPIDREQUEST *ucpidRequest, const char *host, const char *port, int second, int usecond)
UCPIDREQUEST 를 서버로 보내고 UCPIDRESPONSE 를 받는다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Set_UCPIDNonce(ISPREQINFO *ispReqInfo, const unsigned char *nonce, int nonceLen)
비표(Nonce) 값을 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_CiUpdate(int *ciUpdate, PERSONINFOV2 *personInfo)
CiUpdate 값을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Set_UCPIDNonce(UCPIDREQUESTINFO *ucpidReqInfo, const unsigned char *nonce, int nonceLen)
비표(Nonce) 값을 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Set_SignedPersonInfoReq(ISPREQINFO *ispReqInfo, const unsigned char *signedPersonInfoReq, int signedPersonInfoReqLen)
서명된 PersonInfoReq 를 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_Read_Memory(UCPIDREQUEST *ucpidRequest, const void *buffer, int bufferLen)
UCPIDREQUEST를 버퍼에서 읽어들인다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Read_Memory(ISPREQINFO *ispReqInfo, const void *buffer, int bufferLen)
ISPREQINFO를 버퍼에서 읽어들인다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_Ci(char *ci, int *ciLen, int ciAllocLen, PERSONINFOV2 *personInfo)
이용자의 연계정보를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Delete(UCPIDREQUESTINFO *ucpidReqInfo)
UCPIDREQUESTINFO 에 할당된 메모리를 해제한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_GenSignedPersonInfoReq(void *cms, int *cmsLen, int cmsAllocLen, UCPIDREQUESTINFO *ucpidReqInfo, PRIVATEKEY *privateKey, CERTIFICATE *certificate, time_t signTime, int hashNid)
서명된 PersonInfoReq를 생성한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Read_Memory(UCPIDREQUESTINFO *ucpidReqInfo, const void *buffer, int bufferLen)
UCPIDREQUESTINFO를 버퍼에서 읽어들인다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_Create(UCPIDREQUEST *ucpidRequest)
UCPIDREQUEST 를 초기화한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Create(UCPIDRESPONSE *ucpidResponse)
UCPIDRESPONSE 를 초기화한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Get_PersonInfoV2(PERSONINFOV2 *personInfo, UCPIDRESPONSE *ucpidResponse, CERTIFICATE *recpKmCert, PRIVATEKEY *recpKmPriKey)
이용자 정보를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Set_IspKmCert(ISPREQINFO *ispReqInfo, const CERTIFICATE *ispKmCert)
ISP 의 키분배용 인증서를 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Get_UCPIDNonce(unsigned char *nonce, int *nonceLen, int nonceAllocLen, UCPIDREQUESTINFO *ucpidReqInfo)
비표(Nonce) 값을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Delete(UCPIDRESPONSE *ucpidResponse)
UCPIDRESPONSE 에 할당된 메모리를 해제한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Get_IspUrlInfo(char *IspUrlInfo, int *IspUrlInfoLen, int IspUrlInfoAllocLen, UCPIDREQUESTINFO *ucpidReqInfo)
ISP URL Info 를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Write_Memory(void *buffer, int *bufferLen, int bufferAllocLen, UCPIDRESPONSE *ucpidResponse)
UCPIDRESPONSE를 버퍼로 출력한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Read_Memory(UCPIDRESPONSE *ucpidResponse, const void *buffer, int bufferLen)
UCPIDRESPONSE를 버퍼에서 읽어들인다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_RealName(char *realNameUtf8, int *realNameUtf8Len, int realNameUtf8AllocLen, PERSONINFOV2 *personInfo)
이용자의 실명을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_UCPIDNonce(unsigned char *nonce, int *nonceLen, int nonceAllocLen, PERSONINFOV2 *personInfo)
비표(Nonce) 값을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Delete(PERSONINFOV2 *personInfo)
PERSONINFOV2 에 할당된 메모리를 해제한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Set_UserAgreement(UCPIDREQUESTINFO *ucpidReqInfo, const char *userAgreementUtf8, int userAgreementLen)
개인정보제공 및 활용동의 약관을 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_Di(char *di, int *diLen, int diAllocLen, PERSONINFOV2 *personInfo)
이용자의 중복가입 확인정보를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_Ci2(char *ci2, int *ci2Len, int ci2AllocLen, PERSONINFOV2 *personInfo)
이용자의 연계정보2를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_CertDn(char *certDn, int *certDnLen, int certDnAllocLen, PERSONINFOV2 *personInfo)
이용자의 인증서 DN 을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Add_UserAgreeInfo(UCPIDREQUESTINFO *ucpidReqInfo, int userAgree)
개인정보활용 동의 항목을 추가한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_Set_IssuerKeyHash(UCPIDREQUEST *ucpidRequest, const unsigned char *issuerKeyHash, int issuerKeyHashLen)
공인인증기관의 공개키 해시값을 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUESTINFO_Get_UserAgreement(char *userAgreement, int *userAgreementLen, int userAgreementAllocLen, UCPIDREQUESTINFO *ucpidReqInfo)
개인정보제공 및 활용동의 약관을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_Set_ContentIspReqInfo(UCPIDREQUEST *ucpidRequest, ISPREQINFO *ispReqInfo, PRIVATEKEY *privateKey, CERTIFICATE *certificate, time_t signTime, int hashNid)
ISPREQINFO 를 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_CpCode(char *cpCode, int *cpCodeLen, int cpCodeAllocLen, PERSONINFOV2 *personInfo)
CP Code(연계 공인인증기관이 ISP에 부여하는 코드 12자리)를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Delete(ISPREQINFO *ispReqInfo)
ISPREQINFO 에 할당된 메모리를 해제한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Write_Memory(void *buffer, int *bufferLen, int bufferAllocLen, PERSONINFOV2 *personInfo)
PERSONINFOV2를 버퍼로 출력한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Create(ISPREQINFO *ispReqInfo)
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Get_StatusString(char *statusString, int *statusStringLen, int statusStringAllocLen, UCPIDRESPONSE *ucpidResponse)
status 문자열을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDRESPONSE_Get_StatusCodeList(int *statusCodeList, int *statusCodeListCount, int statusCodeListAllocCount, UCPIDRESPONSE *ucpidResponse)
statusCode 리스트를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_CpRequestNumber(char *cpReqNumber, int *cpReqNumberLen, int cpReqNumberAllocLen, PERSONINFOV2 *personInfo)
CP Request Number(ISP가 부여하는 세션정보) 를 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_Set_CpCode(UCPIDREQUEST *ucpidRequest, const char *cpCode, int cpCodeLen)
CP Code(연계 공인인증기관이 ISP에 부여하는 코드 12자리)를 설정한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_BirthDate(char *birthDate, int *birthDateLen, int birthDateAllocLen, PERSONINFOV2 *personInfo)
이용자의 생년월일(YYYYMMDD)을 가져온다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_UCPIDREQUEST_Delete(UCPIDREQUEST *ucpidRequest)
UCPIDREQUEST 에 할당된 메모리를 해제한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_ISPREQINFO_Write_Memory(void *buffer, int *bufferLen, int bufferAllocLen, ISPREQINFO *ispReqInfo)
ISPREQINFO를 버퍼로 출력한다.
WA_SDK_API ISSAC_RETURN FUNCCALL ISSAC_PERSONINFOV2_Get_NationalInfo(int *nationalInfo, PERSONINFOV2 *personInfo)
이용자의 내외국인 정보를 가져온다.
인증서에 대한 컨텍스트
Definition: issacapi_bs_definitions.h:106
ISPReqInfo 에 대한 컨텍스트
Definition: issacapi_ucpid.h:16
void * ctx
Definition: issacapi_ucpid.h:17
PersonInfoV2 에 대한 컨텍스트
Definition: issacapi_ucpid.h:31
void * ctx
Definition: issacapi_ucpid.h:32
PKCS#8 형식의 개인키에 대한 컨텍스트
Definition: issacapi_bs_definitions.h:152
UCPIDRequest 에 대한 컨텍스트
Definition: issacapi_ucpid.h:21
void * ctx
Definition: issacapi_ucpid.h:22
UCPIDRequestInfo 에 대한 컨텍스트
Definition: issacapi_ucpid.h:11
void * ctx
Definition: issacapi_ucpid.h:12
UCPIDResponse 에 대한 컨텍스트
Definition: issacapi_ucpid.h:26
void * ctx
Definition: issacapi_ucpid.h:27
#define FUNCCALL
Definition: wasdk_public.h:9
#define WA_SDK_API
Definition: wasdk_public.h:27