TestAppUtils

Properties

Functions

Link copied to clipboard
fun generateEncodedDeviceRequest(request: DocumentCannedRequest, encodedSessionTranscript: ByteArray, readerKey: EcPrivateKey, readerCert: X509Cert, readerRootCert: X509Cert, zkSystemRepository: ZkSystemRepository? = null): ByteArray
Link copied to clipboard
fun generateEncodedSessionTranscript(encodedDeviceEngagement: ByteArray, handover: DataItem, eReaderKey: EcPublicKey): ByteArray
Link copied to clipboard
suspend fun provisionTestDocuments(csaCreationMode: CsaCreationMode, documentStore: DocumentStore, secureArea: SecureArea, secureAreaCreateKeySettingsFunc: (challenge: ByteString, algorithm: Algorithm, userAuthenticationRequired: Boolean, validFrom: Instant, validUntil: Instant) -> CreateKeySettings, dsKey: EcPrivateKey, dsCert: X509Cert, deviceKeyAlgorithm: Algorithm, deviceKeyMacAlgorithm: Algorithm, numCredentialsPerDomain: Int): String?