Instance Propertyswift-crypto 3.12.2_CryptoExtras
pemRepresentation
RSA+BlindSigning.swift:121- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
var pemRepresentation: String { get }
var pemRepresentation: String { get }
s13_CryptoExtras4_RSAO12BlindSigningO9PublicKeyV17pemRepresentationSSvp
What are these?6X0E5
import _CryptoExtras
Provides additional cryptographic APIs that are not available in CryptoKit (and therefore the core Crypto library).
struct PublicKey<H> where H : HashFunction
enum _RSA
Types associated with the RSA algorithm
enum BlindSigning
@frozen struct String
A Unicode string value that is a collection of characters.
init<Bytes>(derRepresentation: Bytes, parameters: Parameters = .RSABSSA_SHA384_PSS_Randomized) throws where Bytes : DataProtocol
Construct an RSA public key from a DER representation.
init(n: some ContiguousBytes, e: some ContiguousBytes, parameters: Parameters) throws
Construct a RSA public key with the specified parameters.
init(pemRepresentation: String, parameters: Parameters = .RSABSSA_SHA384_PSS_Randomized) throws
Construct an RSA public key from a PEM representation.
init<Bytes>(unsafeDERRepresentation derRepresentation: Bytes, parameters: Parameters = .RSABSSA_SHA384_PSS_Randomized) throws where Bytes : DataProtocol
Construct an RSA public key from a DER representation.
init(unsafePEMRepresentation pemRepresentation: String, parameters: Parameters = .RSABSSA_SHA384_PSS_Randomized) throws
Construct an RSA public key from a PEM representation.
var derRepresentation: Data { get }
var keySizeInBits: Int { get }
var pkcs1DERRepresentation: Data { get }
var pkcs1PEMRepresentation: String { get }
func getKeyPrimitives() throws -> Primitives
struct Primitives
typealias Parameters = _RSA.BlindSigning.Parameters<H>