ECDSASignature
public struct ECDSASignature : ContiguousBytes, NISTECDSASignature
Undocumented
-
Returns the raw signature. The raw signature format for ECDSA is r || s
Declaration
Swift
public var rawRepresentation: Data
-
Initializes ECDSASignature from the raw representation. The raw signature format for ECDSA is r || s As defined in https://tools.ietf.org/html/rfc4754
Declaration
Swift
public init<D>(rawRepresentation: D) throws where D : DataProtocol
-
Initializes ECDSASignature from the DER representation.
Declaration
Swift
public init<D>(derRepresentation: D) throws where D : DataProtocol
-
Declaration
Swift
public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R
-
A DER-encoded representation of the signature
Declaration
Swift
public var derRepresentation: Data { get }