iOS Guides | Samples

Security.SecKey: Method Members

The methods of Security.SecKey are listed below. For a list of all members, see the SecKey list.

See Also: Object

Public Methods

static
Create(NSData, NSDictionary, out NSError) : SecKey
static
Create(NSData, SecKeyType, SecKeyClass, Int32, NSDictionary, out NSError) : SecKey
CreateDecryptedData(SecKeyAlgorithm, NSData, out NSError) : NSData
CreateEncryptedData(SecKeyAlgorithm, NSData, out NSError) : NSData
static
CreateRandomKey(NSDictionary, out NSError) : SecKey
Creates and returns a new key pair.
static
CreateRandomKey(SecKeyGenerationParameters, out NSError) : SecKey
Creates and returns a new key pair.
static
CreateRandomKey(SecKeyType, Int32, NSDictionary, out NSError) : SecKey
Creates and returns a new key pair.
CreateSignature(SecKeyAlgorithm, NSData, out NSError) : NSData
Decrypt(SecPadding, Byte[], out Byte[]) : SecStatusCode
Decrypt(SecPadding, IntPtr, nint, IntPtr, ref nint) : SecStatusCode
Dispose()
Releases the resources used by the SecKey object.
Encrypt(SecPadding, Byte[], Byte[]) : SecStatusCode
Encrypt(SecPadding, Byte[], out Byte[]) : SecStatusCode
Encrypt(SecPadding, IntPtr, nint, IntPtr, ref nint) : SecStatusCode
Finalize()
Finalizer for the SecKey object
static
GenerateKeyPair(NSDictionary, out SecKey, out SecKey) : SecStatusCode
Generates a key pair from the provided values.
static
GenerateKeyPair(SecKeyType, Int32, SecPublicPrivateKeyAttrs, out SecKey, out SecKey) : SecStatusCode
Generates a key pair from the provided values.
static
GenerateKeyPair(SecKeyType, Int32, SecPublicPrivateKeyAttrs, SecPublicPrivateKeyAttrs, out SecKey, out SecKey) : SecStatusCode
Generates a key pair from the provided values.
GetAttributes() : NSDictionary
GetExternalRepresentation() : NSData
GetExternalRepresentation(out NSError) : NSData
GetKeyExchangeResult(SecKeyAlgorithm, SecKey, NSDictionary, out NSError) : NSData
GetKeyExchangeResult(SecKeyAlgorithm, SecKey, SecKeyKeyExchangeParameter, out NSError) : NSData
GetPublicKey() : SecKey
static
GetTypeID() : nint
Type identifier for the Security.SecKey type.
IsAlgorithmSupported(SecKeyOperationType, SecKeyAlgorithm) : Boolean
RawSign(SecPadding, Byte[], out Byte[]) : SecStatusCode
RawSign(SecPadding, IntPtr, Int32, out Byte[]) : SecStatusCode
RawVerify(SecPadding, Byte[], Byte[]) : SecStatusCode
RawVerify(SecPadding, IntPtr, Int32, IntPtr, Int32) : SecStatusCode
VerifySignature(SecKeyAlgorithm, NSData, NSData, out NSError) : Boolean

Protected Methods

Dispose(Boolean)
Releases the resources used by the SecKey object.