Instance Propertyswift-crypto 3.12.2_CryptoExtras->Crypto
rawRepresentation
ARC+API.swift:147- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
var rawRepresentation: Data { get }
var rawRepresentation: Data { get }
s6Crypto4P384O01_A6ExtrasE6_ARCV1O9PublicKeyV17rawRepresentation20FoundationEssentials4DataVvp
What are these?98759
import Crypto
A cryptography library for Swift.
import _CryptoExtras
Provides additional cryptographic APIs that are not available in CryptoKit (and therefore the core Crypto library).
struct PublicKey
The server public key, used by clients to create anonymous credentials in conjunction with the server.
enum P384
An elliptic curve that enables NIST P-384 signatures and key agreement.
enum _ARCV1
Anonymous Rate-Limited Credentials (ARC).
@frozen struct Data
init<D>(rawRepresentation: D) throws where D : DataProtocol
func finalize(_ credentialResponse: P384._ARCV1.CredentialResponse, for precredential: P384._ARCV1.Precredential) throws -> P384._ARCV1.Credential
Create a credential from the issuer response.
func prepareCredentialRequest<D>(requestContext: D) throws -> P384._ARCV1.Precredential where D : DataProtocol
Prepare a credential request for a given request context.