PrivateKey
A private key that can be used with a certificate.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
struct PrivateKey
This type provides an opaque wrapper around the various private key types provided by swift-crypto
and Security
. Users are expected to construct this key from one of those types.
As private keys are never sent over the wire, this type does not offer support for being unwrapped back into the underlying key types.