|
WA_SDK_API EErrorCode FUNCCALL | wasdk_init_without_license (void) |
| 라이선스 확인 없이 모듈 초기화만 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_init (void) |
| 모듈 초기화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_init_with_ini (const char *ini, int ini_len) |
| INI 설정을 이용하여 모듈 초기화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_init_with_ini_file (const char *ini_path) |
| INI 설정 파일을 이용하여 모듈 초기화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_finalize (void) |
| 모듈을 종료한다. 더 자세히 ...
|
|
WA_SDK_API int FUNCCALL | wasdk_get_detail_errorcode (void) |
| 상세한 에러코드를 리턴한다. 더 자세히 ...
|
|
WA_SDK_API int FUNCCALL | wasdk_current_state (void) |
| 모듈의 현재상태를 가져온다. (디버깅 용 정보) 더 자세히 ...
|
|
WA_SDK_API const char *FUNCCALL | wasdk_version (void) |
| 모듈의 버전을 가져온다. 더 자세히 ...
|
|
WA_SDK_API const char *FUNCCALL | wasdk_product_info (void) |
| 모듈의 정보를 가져온다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_get_license_info (char *outstring) |
| 라이선스 정보를 가져온다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_set_verified_service (void) |
| 암호모듈 유한상태모델(FSM)의 현재 상태를 검증 서비스 상태로 변경한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_set_not_verified_service (void) |
| 암호모듈 유한상태모델(FSM)의 현재 상태를 비검증 서비스 상태로 변경한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_base64_encoding (char *b64, int b64BufSize, const unsigned char *data, int dataSize) |
| Base64 인코딩 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_base64_decoding (unsigned char *data, int *dataSize, int dataBufSize, const char *b64) |
| Base64 디코딩 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_generate_random (unsigned char *random, int randomSize) |
| RNG(Random Number Generator)를 사용하여 랜덤값을 생성한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_generate_keypair (unsigned char *publicKey, int *publicKeySize, int publicKeyBufSize, unsigned char *privateKey, int *privateKeySize, int privateKeyBufSize, EAsymmetricAlgorithm asymmAlg, int keySizeInBit) |
| 키쌍을 생성한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_check_keypair (const unsigned char *publicKey, int publicKeySize, const unsigned char *privateKey, int privateKeySize, EAsymmetricAlgorithm asymmAlg) |
| RSA 키쌍을 검증한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_generate_keypair_ec (unsigned char *publicKey, int *publicKeySize, int publicKeyBufSize, unsigned char *privateKey, int *privateKeySize, int privateKeyBufSize, EAsymmetricAlgorithm asymmAlg, const char *curveName) |
| Elliptic Curve 키쌍을 생성한다. (ECDSA, ECKCDSA) 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_check_keypair_ec (const unsigned char *publicKey, int publicKeySize, const unsigned char *privateKey, int privateKeySize, EAsymmetricAlgorithm asymmAlg, const char *curveName) |
| Elliptic Curve 키쌍을 검증한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_generate_iv_from_seed (unsigned char *iv, int *ivSize, int ivBufSize, const unsigned char *ivSeed, int ivSeedSize, ESymmetricAlgorithm symmAlg, EHashAlgorithm hashAlg) |
| IV SEED를 입력받아 IV를 생성한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hash_encrypt (unsigned char *hashValue, int *hashValueSize, int hashValueBufSize, const unsigned char *plaintext, int plaintextSize, EHashAlgorithm hashAlg) |
| 해시 암호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hmac_encrypt (unsigned char *hmacValue, int *hmacValueSize, int hmacValueBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *key, int keySize, EHashAlgorithm hashAlg) |
| HMAC (Hashed MAC) 암호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_symmetric_encrypt (unsigned char *encrypted, int *encryptedSize, int encryptedBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *key, int keySize, const unsigned char *iv, int ivSize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode) |
| 비밀키 암호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_symmetric_encrypt_ex (unsigned char *encrypted, int *encryptedSize, int encryptedBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *key, int keySize, const unsigned char *iv, int ivSize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode, unsigned char padFlag) |
| 비밀키 암호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_symmetric_decrypt (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, const unsigned char *encrypted, int encryptedSize, const unsigned char *key, int keySize, const unsigned char *iv, int ivSize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode) |
| 비밀키 복호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_symmetric_decrypt_ex (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, const unsigned char *encrypted, int encryptedSize, const unsigned char *key, int keySize, const unsigned char *iv, int ivSize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode, unsigned char padFlag) |
| 비밀키 복호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_rsa_encrypt (unsigned char *encrypted, int *encryptedSize, int encryptedBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *publicKey, int publicKeySize, EHashAlgorithm hashAlg, ERsaEncryptionScheme rsaEncryptionScheme) |
| RSA 암호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_rsa_decrypt (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, const unsigned char *encrypted, int encryptedSize, const unsigned char *privateKey, int privateKeySize, EHashAlgorithm hashAlg, ERsaEncryptionScheme rsaEncryptionScheme) |
| RSA 복호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_rsa_encrypt_by_cert (unsigned char *encrypted, int *encryptedSize, int encryptedBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *cert, int certSize, EHashAlgorithm hashAlg) |
| RSA 암호화를 실행한다. (인증서의 공개키 사용) 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_rsa_decrypt_by_pkcs8 (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, const unsigned char *encrypted, int encryptedSize, const unsigned char *privateKey, int privateKeySize, EHashAlgorithm hashAlg) |
| RSA 복호화를 실행한다. (PKCS8 형식의 개인키 사용) 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_rsa_decrypt_by_pkcs8_ptr (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, const unsigned char *encrypted, int encryptedSize, void *privateKeyInfoPtr, EHashAlgorithm hashAlg) |
| RSA 복호화를 실행한다. (외부에서 생성된 CIS PKCS8 형식의 개인키 포인터 사용) 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hybrid_encrypt (unsigned char *encrypted, int *encryptedSize, int encryptedBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *customSessionKey, int sessionKeySize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode, EHashAlgorithm hashAlg, const unsigned char *publicKey, int publicKeySize, ERsaEncryptionScheme rsaEncryptionScheme) |
| 하이브리드 암호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hybrid_decrypt (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, unsigned char *sessionKey, int *sessionKeySize, int sessionKeyBufSize, const unsigned char *encrypted, int encryptedSize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode, EHashAlgorithm hashAlg, const unsigned char *privateKey, int privateKeySize, ERsaEncryptionScheme rsaEncryptionScheme) |
| 하이브리드 복호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hybrid_encrypt_by_cert (unsigned char *encrypted, int *encryptedSize, int encryptedBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *customSessionKey, int sessionKeySize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode, EHashAlgorithm hashAlg, const unsigned char *certificate, int certificateSize) |
| 하이브리드 암호화를 실행한다. 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hybrid_encrypt_ivseed (unsigned char *encrypted, int *encryptedSize, int encryptedBufSize, const unsigned char *plaintext, int plaintextSize, const unsigned char *customSessionKey, int sessionKeySize, const unsigned char *customIvSeed, int ivSeedSize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode, EHashAlgorithm hashAlg, const unsigned char *publicKey, int publicKeySize, ERsaEncryptionScheme rsaEncryptionScheme) |
| 하이브리드 암호화를 실행한다. (IV SEED 포함) 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hybrid_decrypt_ivseed (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, unsigned char *sessionKey, int *sessionKeySize, int sessionKeyBufSize, int ivSeedSize, const unsigned char *encrypted, int encryptedSize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode, EHashAlgorithm hashAlg, const unsigned char *privateKey, int privateKeySize, ERsaEncryptionScheme rsaEncryptionScheme) |
| 하이브리드 복호화를 실행한다. (IV SEED 포함) 더 자세히 ...
|
|
WA_SDK_API EErrorCode FUNCCALL | wasdk_hybrid_decrypt_by_sessionkey (unsigned char *decrypted, int *decryptedSize, int decryptedBufSize, const unsigned char *encrypted, int encryptedSize, const unsigned char *sessionKey, int sessionKeySize, ESymmetricAlgorithm symmAlg, ESymmetricOperationMode opMode) |
| 주어진 세션키로 하이브리드 데이터의 암호문 부분을 복호화한다. 더 자세히 ...
|
|
WA_SDK_API void FUNCCALL | wasdk_free (void *ptr) |
| WA-SDK 에서 생성된 메모리를 해제한다. (다른 메모리 영역) 더 자세히 ...
|
|
WA_SDK_API const char *FUNCCALL | wasdk_error_message (EErrorCode errorCode) |
| 에러코드에 해당하는 에러 메시지를 가져온다. 더 자세히 ...
|
|