Skip to content

Commit

Permalink
Remove deprecated API (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadoba authored Aug 22, 2023
1 parent ce1faa4 commit ef712c4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Sources/SwiftASN1/Basic ASN1 Types/PEMDocument.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,6 @@ extension PEMSerializable {
public struct PEMDocument: Hashable, Sendable {
fileprivate static let lineLength = 64

@available(*, deprecated, renamed: "discriminator")
public var type: String {
get { discriminator }
set { discriminator = newValue }
}

/// The PEM discriminator is in the first line of a PEM string after `BEGIN` and at the end of the string after `END` e.g.
/// ```
/// -----BEGIN discriminator-----
Expand Down

0 comments on commit ef712c4

Please sign in to comment.