Restrict to EC only

This commit is contained in:
Max Goedjen
2020-03-09 22:06:51 -07:00
parent 945907cfd4
commit 668f46c803
4 changed files with 2 additions and 13 deletions

View File

@@ -102,10 +102,6 @@ extension Agent {
rawRepresentation = try CryptoKit.P256.Signing.ECDSASignature(derRepresentation: derSignature).rawRepresentation
case (.ellipticCurve, 384):
rawRepresentation = try CryptoKit.P384.Signing.ECDSASignature(derRepresentation: derSignature).rawRepresentation
case (.rsa, 1024):
fatalError()
case (.rsa, 2048):
fatalError()
default:
fatalError()
}