WA-SDK  3.0.4.0
WA-SDK
issacweb.h 파일 참조
issacweb.h에 대한 include 의존 그래프
이 그래프는 이 파일을 직/간접적으로 include 하는 파일들을 보여줍니다.:

이 파일의 소스 코드 페이지로 가기

매크로

#define SHARED_NAME   "issacweb_key"
 
#define ISSACWEB_SHARED_ID   1499
 
#define PUBLICKEY_ENC_BUFSIZE   (256*4/3+6)
 
#define CERTIFICATE_DEFAULT_BUFSIZE   8192
 
#define PRIVKEY_DEFAULT_BUFSIZE   8192
 
#define issacweb_server_decrypt_s(A, B, C)   issacweb_hybrid_decrypt_s(A, B, C, PRIKEY)
 구버전 호환기능 - 하이브리드 복호화 (PRIKEY 가 정의되어 있어야 함) 더 자세히 ...
 
#define issacweb_server_decrypt(A, B, C, D)   issacweb_hybrid_decrypt(A, B, C, D, PRIKEY)
 구버전 호환기능 - 하이브리드 복호화 (PRIKEY 가 정의되어 있어야 함) 더 자세히 ...
 
#define issacweb_client_encrypt_s(A, B, C, D)   issacweb_hybrid_encrypt_s(A, B, C, PUBKEY, D)
 구버전 호환기능 - 하이브리드 암호화 (PUBKEY 가 정의되어 있어야 함) 더 자세히 ...
 
#define issacweb_client_encrypt(A, B, C, D)   issacweb_hybrid_encrypt(A, B, C, PUBKEY, D)
 구버전 호환기능 - 하이브리드 암호화 (PUBKEY 가 정의되어 있어야 함) 더 자세히 ...
 

타입정의

typedef char * issac_string
 
typedef unsigned char * issac_binary
 

열거형 타입

enum  ISSACWEB_SUPPORTED_SYMMETRIC_ENCRYPTION_ALGORITHM { ISSACWEB_SEED = 1 , ISSACWEB_ARIA , ISSACWEB_AES256 }
 대칭키 알고리즘 더 자세히 ...
 
enum  ISSACWEB_SUPPORTED_HASH_ALGORITHM {
  ISSACWEB_SHA1 = 1 , ISSACWEB_SHA256 , ISSACWEB_SHA384 , ISSACWEB_SHA512 ,
  ISSACWEB_HAS160 , ISSACWEB_MD5
}
 해시 알고리즘 종류 더 자세히 ...
 
enum  ISSACWEB_SUPPORTED_PUBLICKEY_ALGORITHM { ISSACWEB_RSA_SHA1 = ISSACWEB_SHA1 , ISSACWEB_RSA_SHA256 = ISSACWEB_SHA256 , ISSACWEB_RSA_SHA384 = ISSACWEB_SHA384 , ISSACWEB_RSA_SHA512 = ISSACWEB_SHA512 }
 기존 정의값 호환성 유지 (공개키 알고리즘으로 잘못 정의되어 있던 것. 서명 알고리즘으로 볼 수 있지만 ISSAC-Web 에 서명 기능은 없음) 더 자세히 ...
 
enum  ISSACWEB_SUPPORTED_PAGE_CHARSET { ISSACWEB_CHARSET_NOT_ENCODING = 1 , ISSACWEB_CHARSET_EUCKR , ISSACWEB_CHARSET_UTF8 }
 문자열의 문자셋(Character Set - Code Page) 더 자세히 ...
 

함수

WA_SDK_API int FUNCCALL issacweb_InitializeCIS ()
 모듈 초기화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_FinalizeCIS ()
 모듈을 종료한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_getLicenseInfo (char *outstring)
 라이선스 정보를 가져온다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_SetSymAlgorithm (int algId)
 기본 대칭키 알고리즘을 설정한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_GetSymAlgorithm ()
 기본 대칭키 알고리즘을 가져온다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_SetHashAlgorithm (int algId)
 기본 해시 알고리즘을 설정한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_GetHashAlgorithm ()
 기본 해시 알고리즘을 가져온다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_SetAsymAlgorithm (int algId)
 기본 공개키(실제로는 해시) 알고리즘을 설정한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_base64_encode (issac_string outstring, issac_binary input, int input_len)
 입력한 데이터를 Base64 문자열로 인코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_base64_decode (issac_binary outbuf, issac_string inputstring)
 입력한 Base64 문자열을 데이터로 디코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_timestamp_get (char *outstring)
 타임스탬프 값을 가져온다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_timestamp_verify (char *timestamp, int allowedTimeSec)
 타임스탬프 값을 검증한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_create_sessionkey (void *sessionKey, const int sessionKeySize)
 세션키를 생성한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hash_message (issac_binary out, int *outlen, char *msg, int msglen)
 메시지를 SHA1 알고리즘으로 해시한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hash_message_sha256 (issac_binary out, int *outlen, char *msg, int msglen)
 메시지를 SHA256 알고리즘으로 해시한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hmac_message (issac_binary out, int *outlen, char *msg, int msglen)
 no description (특수용도 - issacweb_hmac_message_sha256() 의 SHA1 버전이 아님) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hmac_message_sha256 (issac_binary out, int *outlen, char *msg, int msglen, char *hmackey, int hmackey_len)
 SHA256 알고리즘을 이용하여 HMAC을 생성한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_EncodeWithAlpah (char *enKey, int *enKeyLen, void *deKey, int deKeyLen)
 5bit 단위로 끊어서 [0-9A-V] 의 32가지 문자로 인코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_DecodeWithAlpah (void *deKey, int *deKeyLen, char *enKey, int enKeyLen)
 issacweb_EncodeWithAlpah()로 인코딩 된 문자열을 디코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt (void *outbuf, void *input, int input_len, void *key)
 평문을 암호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt (void *outbuf, void *input, int input_len, void *key)
 암호문을 복호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt_ex (void *outbuf, void *input, int input_len, void *key, int cipher_id)
 평문을 암호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_ex (void *outbuf, void *input, int input_len, void *key, int cipher_id)
 암호문을 복호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt_s (char *outstring, void *input, int input_len, void *key)
 평문을 암호화 후 Base64로 인코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_s (void *outbuf, char *inputstring, void *key)
 암호문(Base64)을 복호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt_ex_s (char *outstring, void *input, int input_len, void *key, int cipher_id)
 평문을 암호화 후 Base64로 인코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_ex_s (void *outbuf, char *inputB64, void *key, int cipher_id)
 암호문(Base64)을 복호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt_s_iv (char *outstring, void *input, int input_len, void *key)
 평문을 암호화 후 IV Seed 값 뒤에 붙여서 Base64로 인코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_s_iv (void *outbuf, char *inputstring, void *key)
 IV Seed 값 + 암호문 (Base64) 을 복호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt_ex_s_iv (char *outstring, void *input, int input_len, void *key, int cipher_id)
 평문을 암호화 후 IV Seed 값 뒤에 붙여서 Base64로 인코딩한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_ex_s_iv (void *outbuf, char *inputstring, void *key, int cipher_id)
 IV Seed 값 + 암호문 (Base64) 을 복호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt_ex_iv (void *outbuf, void *input, int input_len, void *key, int cipher_id)
 평문을 암호화 후 IV Seed 값 뒤에 붙인다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_ex_iv (void *outbuf, void *input, int input_len, void *key, int cipher_id)
 IV Seed 값 + 암호문을 복호화한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_encrypt_file_s (char *filePath, void *sessionKey)
 평문을 암호화 후 Base64로 인코딩하여 새로운 파일(파일명.enc)에 출력한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_file_s (char *decFilePath, char *filePath, void *sessionKey)
 암호화 된 파일(Base64)을 복호화 후 새로운 파일에 출력한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_decrypt_file_lm_s (char *decFilePath, char *encFilePath, void *sessionKey)
 암호화 된 파일(Base64)을 복호화 후 새로운 파일에 출력한다. (최대 65536 크기만큼 나누어서 복호화한다) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_encrypt (void *outbuf, const void *inbuf, int inbufSize, const char *pubKeyB64)
 평문을 RSA 공개키로 암호화한다. (RSAES-OAEP) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_decrypt (void *outbuf, void *inbuf, int inbuf_len, const char *privateKeyB64)
 RSA 암호문을 RSA 개인키로 복호화한다. (RSAES-OAEP) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_encrypt_ex (void *outbuf, const void *inbuf, int inbufSize, const char *pubKeyB64, int hashId)
 평문을 RSA 공개키로 암호화한다. (RSAES-OAEP) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_decrypt_ex (void *outbuf, void *inbuf, int inbuf_len, const char *privateKeyB64, int hash_id)
 RSA 암호문을 RSA 개인키로 복호화한다. (RSAES-OAEP) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_encrypt_c (issac_binary outbuf, issac_binary inbuf, int inbufSize, issac_string certB64)
 평문을 RSA 인증서로 암호화한다. (RSAES-OAEP - SHA1) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_decrypt_c (issac_binary outbuf, issac_binary inbuf, int inbuf_len, void *privatekey_info)
 RSA 암호문을 RSA 개인키를 가진 PKCS#8 개인키로 복호화한다. (RSAES-OAEP - SHA1) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_encrypt_cs (issac_string outstring, issac_binary inbuf, int inbufSize, issac_string certB64)
 평문을 RSA 인증서로 암호화 후 Base64로 인코딩한다. (RSAES-OAEP - SHA1) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_publickey_decrypt_cs (issac_binary outbuf, issac_string encryptedB64, issac_string privateKeyB64)
 RSA 암호문(Base64)을 RSA 개인키를 가진 PKCS#8 개인키로 복호화한다. (RSAES-OAEP - SHA1) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_get_publickey_exponent (const char *publickey, char *szPubkeyExponent, int *nExponentLen)
 RSA 공개키에서 public exponent 값을 가져온다. (ASN.1 Integer) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_get_publickey_modulus (const char *publickey, char *szPubkeyModulus, int *nModulusLen)
 RSA 공개키에서 modulus 값을 가져온다. (ASN.1 Integer) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt (void *outbuf, void *input, int input_len, const char *publicKeyB64, void *key)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt (void *outbuf, void *input, int input_len, void *key, const char *prikey)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_ex (void *outbuf, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_ex (void *outbuf, void *input, int input_len, void *key, const char *prikey, int cipher_id)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_ex2 (void *outbuf, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id, int hash_id)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_ex2 (void *outbuf, void *input, int input_len, void *key, const char *prikey, int cipher_id, int hash_id)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_s (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_s (void *outbuf, const char *inputstring, void *key, const char *privateKeyB64)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_ex_s (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_ex_s (void *outbuf, const char *inputstring, void *key, const char *privateKeyB64, int cipher_id)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_ex2_s (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id, int hash_id)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_ex2_s (void *outbuf, const char *inputB64, void *key, const char *privateKeyB64, int cipher_id, int hash_id)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_s_iv (void *outbuf, const char *inputstring, void *key, const char *privateKeyB64)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_ex_s_iv (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_ex_s_iv (void *outbuf, const char *inputstring, void *key, const char *privateKeyB64, int cipher_id)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_ex2_iv (void *outbuf, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id, int hash_id)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_ex2_iv (void *outbuf, void *input, int input_len, void *key, const char *privateKeyB64, int cipher_id, int hash_id)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_ex2_s_iv (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id, int hash_id)
 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_ex2_s_iv (void *outbuf, const char *inputB64, void *key, const char *privateKeyB64, int cipher_id, int hash_id)
 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_with_sessionkey (void *outbuf, void *input, int input_len, const char *pub, void *key)
 주어진 세션키와 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_with_sessionkey (void *outbuf, void *input, int input_len, void *key, const char *prikey)
 주어진 세션키와 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_with_sessionkey_s (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key)
 주어진 세션키와 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_with_sessionkey_s (void *outbuf, const char *inputstring, void *key, const char *prikey)
 주어진 세션키와 RSA 개인키를 이용하여 하이브리드 복호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_with_sessionkey_ex (void *outbuf, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id)
 주어진 세션키와 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_with_sessionkey_ex2 (void *outbuf, void *input, int inputLen, const char *publicKeyB64, void *key, int cipherId, int hashAlgId)
 주어진 세션키와 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_with_sessionkey_ex_s (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id)
 주어진 세션키와 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_with_sessionkey_ex_iv (void *outbuf, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id)
 주어진 세션키와 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_with_sessionkey_ex_s_iv (char *outstring, void *input, int input_len, const char *publicKeyB64, void *key, int cipher_id)
 주어진 세션키와 RSA 공개키를 이용하여 하이브리드 암호화를 실행한다. (Random IV 사용) 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_c (issac_binary outbuf, issac_binary input, int input_len, issac_string certB64, issac_binary key)
 RSA 인증서를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_cs (issac_string outstring, issac_binary input, int input_len, issac_string certB64, issac_binary key)
 RSA 인증서를 이용하여 하이브리드 암호화를 실행한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_encrypt_file_s (void *sessionKey, char *filePath, char *pubKey)
 입력한 경로의 파일을 하이브리드 암호화 후 Base64로 인코딩하여 새로운 파일(파일명.enc)에 출력한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_file_s (void *sessionKey, char *encFilePath, char *priKey)
 암호화 된 파일(Base64)을 복호화 후 새로운 파일(암호화 된 파일 경로에서 .뒤의 값 삭제) 에 출력한다. 더 자세히 ...
 
WA_SDK_API int FUNCCALL issacweb_hybrid_decrypt_file_ex_s (void *sessionKey, char *encFilePath, char *decFilePath, char *priKey)
 암호화 된 파일(Base64)을 복호화 후 새로운 파일에 출력한다. 더 자세히 ...