Skip to content

xendit/xenissuing-ios

Repository files navigation

Swift support Swift Package Manager compatible

Xenissuing

The XenIssuing SDK includes a collection of modules designed to handle sensitive operations with ease and security in your iOS applications. Notably:

  • SecureSession: This module is responsible for ensuring encrypted communication between the XenIssuing SDK and your iOS application.

Prerequisites

To utilize the XenIssuing SDK, a public key granted by Xendit is required. You can obtain this key by contacting Xendit directly.

Usage

Establishing Secure Sessions

The SecureSession module aids in establishing an encrypted communication link between the XenIssuing SDK and your application. Below is a Swift example demonstrating how to create a secure session and decrypt card data:

import Xenissuing

let secureSession = try Xenissuing.createSecureSession(xenditPublicKeyData: Data(base64Encoded: validPublicKey)!)
let sessionId = secureSession.getKey().base64EncodedString()

let decryptedData = secureSession.decryptCardData(secret: secret, iv: iv)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages