Instance Propertyswift-crypto 3.12.2Crypto
derRepresentation
A Distinguished Encoding Rules (DER) encoded representation of a P-384 digital signature.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
var derRepresentation: Data { get }
A Distinguished Encoding Rules (DER) encoded representation of a P-384 digital signature.
var derRepresentation: Data { get }
s6Crypto4P384O7SigningO14ECDSASignatureV17derRepresentation20FoundationEssentials4DataVvp
What are these?1P8BW
import Crypto
A cryptography library for Swift.
struct ECDSASignature
A P-384 elliptic curve digital signature algorithm (ECDSA) signature.
enum P384
An elliptic curve that enables NIST P-384 signatures and key agreement.
enum Signing
A mechanism used to create or verify a cryptographic signature using the NIST P-384 elliptic curve digital signature algorithm (ECDSA).
@frozen struct Data
init<D>(derRepresentation: D) throws where D : DataProtocol
Creates a P-384 digital signature from a Distinguished Encoding Rules (DER) encoded representation.
init<D>(rawRepresentation: D) throws where D : DataProtocol
Creates a P-384 digital signature from a raw representation.
var rawRepresentation: Data
A raw data representation of a P-384 digital signature.
func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R
Invokes the given closure with a buffer pointer covering the raw bytes of the signature.