ClientOwnershipProofIssuer
public class ClientOwnershipProofIssuer : OwnershipProofIssuer
OwnershipProofIssuer implementation that uses a locally stored RSA private key
to generated the ownership proof. Mainly used for testing.
-
Initializes a
ClientOwnershipProofIssuer.Declaration
Swift
public init(privateKey: String, keyManager: SudoKeyManager, keyId: String, issuer: String) throwsParameters
privateKeyPEM encoded RSA private key to use for signing the ownership proof.
keyManagerKeyManagerinstance to use for cryptographic operations.keyIdKey ID to use for storing the RSA private key in the keychain.
issuerIssuer name to use for the ownership proof.
-
getOwnershipProof(ownerId:Asynchronoussubject: audience: ) Declaration
Swift
public func getOwnershipProof(ownerId: String, subject: String, audience: String) async throws -> String
ClientOwnershipProofIssuer Class Reference