Initializer
init(pemRepresentation:)
Creates a secp256k1 public key for signing from a Privacy-Enhanced Mail (PEM) representation.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
init(pemRepresentation: String) throws
Parameters
-
pemRepresentation
-
A PEM representation of the key.