Substitute openssl asn1 parsing with custom decoder

This commit is contained in:
Pavel Tikhonenko
2019-06-24 01:37:55 +03:00
parent d579244046
commit 630fdb6cbf
100 changed files with 21290 additions and 124 deletions
+38
View File
@@ -0,0 +1,38 @@
//
// main.swift
// Example
//
// Created by Pavel Tikhonenko on 23/06/2019.
// Copyright © 2019 Pavel Tikhonenko. All rights reserved.
//
import Foundation
import TPInAppReceipt
print("Hello, World!")
func testNoOpenssl()
{
//self.measure
//{
let mock = try! PKCS7WrapperMock()
mock.extractASN1Data().enumerateASN1AttributesNoOpenssl(withBlock: { (item) in
})
//}
}
func test()
{
// self.measure
// {
let mock = try! PKCS7WrapperMock()
mock.extractASN1Data().enumerateASN1Attributes(withBlock: { (item) in
})
// }
}
testNoOpenssl()