Returns the certificate associated with an Identity
- Properties:
- authentication: User authentication request to perform certificate read with
- throws: See Error type defined below
func changePassword(from oldValue: String, to newValue: String) async throws
Change the Password associated with the signing identity
Note that the underlying credential imposes restrictions on the length and the allowed
character set. In case of validation error, this will throw .invalidInput.
- Properties:
- oldValue: User authentication value used to perform the request to change password
- newValue: New user authorization value to be applied to the certificate
- throws: See Error type defined below
get · iOS 18.0+
authenticationTriesRemaining
TypeScript
get authenticationTriesRemaining(): Promise<number>
Swift declaration
var authenticationTriesRemaining: Int { get async throws }
The tries remaining before the underlying credential locks itself
Signs the supplied data with the identity's private key
- Properties:
- data: Data to be signed with the specified identity
- authentication: User authentication request to perform identity signature with
- throws: See Error type defined below
Signs the supplied array of data with the identity's private key
- Properties:
- data: Data array to be signed with the specified identity
- authentication: User authentication request to perform identity signature with
- throws: See Error type defined below