Contents

init(derRepresentation:)

Creates a P-256 private key for signing from a Distinguished Encoding Rules (DER) encoded representation.

Declaration

init<Bytes>(derRepresentation: Bytes) throws where Bytes : RandomAccessCollection, Bytes.Element == UInt8

Parameters

  • derRepresentation:

    A DER-encoded representation of the key.

See Also

Creating a private key