Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ASN1Decoder/ASN1Decoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ enum ASN1Error: Error {
}

extension Data {

public var uint64Value: UInt64? {
guard count <= 8, !isEmpty else { // check if suitable for UInt64
return nil
Expand Down
2 changes: 1 addition & 1 deletion ASN1Decoder/ASN1Object.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ASN1Object: CustomStringConvertible {

public var identifier: ASN1Identifier?

var sub: [ASN1Object]?
public internal(set) var sub: [ASN1Object]?

public internal(set) weak var parent: ASN1Object?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those changes come from #32 on which this PR is based on.


Expand Down