Skip to content

Commit

Permalink
Removed primaryObjectIdentifier and secondaryObjectIdentifier static …
Browse files Browse the repository at this point in the history
…params from RSA due to DERCodable protocol no longer enforcing them.
  • Loading branch information
btoms20 committed Aug 21, 2022
1 parent 49fb6d0 commit 2c338bd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/CryptoSwift/RSA/RSA.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ import Foundation
// It allows fast calculation for RSA big numbers

public final class RSA: DERCodable {
/// RSA Object Identifier Bytes (rsaEncryption)
static var primaryObjectIdentifier: Array<UInt8> = Array<UInt8>(arrayLiteral: 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01)
/// RSA Secondary Object Identifier Bytes (null)
static var secondaryObjectIdentifier: Array<UInt8>? = nil

public enum Error: Swift.Error {
/// No private key specified
case noPrivateKey
Expand Down

0 comments on commit 2c338bd

Please sign in to comment.