Skip to content

Commit 2c338bd

Browse files
committed
Removed primaryObjectIdentifier and secondaryObjectIdentifier static params from RSA due to DERCodable protocol no longer enforcing them.
1 parent 49fb6d0 commit 2c338bd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/CryptoSwift/RSA/RSA.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ import Foundation
2121
// It allows fast calculation for RSA big numbers
2222

2323
public final class RSA: DERCodable {
24-
/// RSA Object Identifier Bytes (rsaEncryption)
25-
static var primaryObjectIdentifier: Array<UInt8> = Array<UInt8>(arrayLiteral: 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01)
26-
/// RSA Secondary Object Identifier Bytes (null)
27-
static var secondaryObjectIdentifier: Array<UInt8>? = nil
28-
2924
public enum Error: Swift.Error {
3025
/// No private key specified
3126
case noPrivateKey

0 commit comments

Comments
 (0)