File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ final class CustomPrivateKeyTests {
3232 #expect( keyBacking. supportedSignatureAlgorithms == privateKey. supportedSignatureAlgorithms)
3333 }
3434
35+ @Test ( " CustomPrivateKey Signing " )
3536 func testCustomPrivateKeySigning( ) async throws {
3637 let privateKey = Certificate . PrivateKey ( TestAsyncKey ( ) )
3738
@@ -47,13 +48,15 @@ final class CustomPrivateKeyTests {
4748 }
4849 }
4950
51+ @Test ( " CustomPrivateKey Equatable " )
5052 func testCustomPrivateKeyBackingEquality( ) {
5153 let keyBacking = TestAsyncKey ( )
5254 let leftKey = Certificate . PrivateKey ( keyBacking)
5355 let rightKey = Certificate . PrivateKey ( keyBacking)
5456 #expect( leftKey == rightKey)
5557 }
5658
59+ @Test ( " CustomPrivateKey Serialization " )
5760 func testCustomPrivateKeySerialization( ) {
5861 let privateKey = Certificate . PrivateKey ( TestAsyncKey ( ) )
5962 #expect( throws: TestAsyncKey . MyError. self) {
You can’t perform that action at this time.
0 commit comments