canEncrypt
TypeScriptcanEncrypt(algorithm: _Security_SecKeyAlgorithm): booleanSwift declarationfunc canEncrypt(using algorithm: SecKeyAlgorithm) -> Boolclass · iOS 16.0+ · SDK 27.1
class LAPublicKeycanEncrypt(algorithm: _Security_SecKeyAlgorithm): booleanSwift declarationfunc canEncrypt(using algorithm: SecKeyAlgorithm) -> BoolcanVerify(algorithm: _Security_SecKeyAlgorithm): booleanSwift declarationfunc canVerify(using algorithm: SecKeyAlgorithm) -> Boolencrypt(data: ArrayBuffer, algorithm: _Security_SecKeyAlgorithm, handler: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc encrypt(_ data: Data, algorithm: SecKeyAlgorithm) async throws -> DataexportBytes(handler: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): voidSwift declarationvar bytes: Data { get async throws }verify(signedData: ArrayBuffer, signature: ArrayBuffer, algorithm: _Security_SecKeyAlgorithm, handler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc verify(_ signedData: Data, signature: Data, algorithm: SecKeyAlgorithm) async throws1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
LAPublicKey.init()
inherited init: clang: 'init' is unavailable