Upravit

Sdílet prostřednictvím


Security Namespace

The Security namespace provides access to the key chain.

Classes

Authorization
AuthorizationEnvironment
AuthorizationParameters
SecAccessControl

Class that contains accessibility flags and access control object creation flags.

SecAuthenticationUIExtensions

Defines extensions methods for SecAuthenticationUI.

SecCertificate

Represents digital certificates on iOS/OSX.

SecCertificate2
SecIdentity

Encapsulate a security identity. A security identity comprises a certificate and its private key.

SecIdentity2
SecImportExport

Encapsulates the import and export of identities and certificates.

SecKey

Encapsulates a security key, one half of a public-private key-pair.

SecKeyAlgorithmExtensions
SecKeyChain

Access to the operating system keychain.

SecKeyClassExtensions
SecKeyGenerationParameters

Contains parameters for key generation.

SecKeyKeyExchangeParameter
SecKeyParameters

Contains parameters for use with CreateRandomKey(SecKeyType, Int32, NSDictionary, NSError).

SecKeyTypeExtensions
SecMatchLimit

Keys used to control query results.

SecPolicy

Encapsulates a security policy. A policy comprises a set of rules that specify how to evaluate a certificate for a certain level of trust.

SecPolicyIdentifier

Contains values that represent security policies.

SecPolicyPropertyKey

Contains keys that index security policy data..

SecProtocolMetadata
SecProtocolOptions
SecPublicPrivateKeyAttrs

Contains attributes for creating and using public-private key pairs.

SecRecord

Tracks a set of properties from the keychain.

SecSharedCredential

Represents shared user name and password for a Website.

SecSharedCredentialInfo
SecStatusCodeExtensions
SecTokenIDExtensions

Extension methods for SecTokenID.

SecTrust

A trust level. A trust object combines a certificate with a policy or policies.

SecTrust2
SecTrustPropertyKey

Contains keys that index certificate data by type.

SecTrustResultKey

Contains keys that index trust data.

SecurityException

An exception based on a SecStatusCode.

SslConnection

Class that represents an SSL connection.

SslContext

Class that encapsulates SSL session state..

SslSessionConfigExtensions
SslStreamConnection

Class that allows reading and writing to an SSL stream connection.

Enums

AuthorizationFlags
AuthorizationStatus
SecAccessControlCreateFlags

Contains access control flags for creating keychain entries.

SecAccessible

An enumeration whose values specify when a keychain item should be readable.

SecAuthenticationType

An enumeration whose values specify various types of authentication. Used with the AuthenticationType property.

SecAuthenticationUI

Enumeration whose values represent valid options for AuthenticationUI.

SecKeyAlgorithm
SecKeyClass

The kind of cryptographic key

SecKeyOperationType
SecKeyType

An enumeration whose values specify the KeyType property.

SecKind

The kind of SecRecord.

SecPadding

An enumeration whose values specify the type of padding to be used in encryption and decryption.

SecProtocol

Protocol used for InternetPasswords

SecRevocation

Enumerates certificate revocation methods.

SecStatusCode

Status return from the SecKeyChain operations.

SecTokenID

Enumeration defining valid options for TokenID.

SecTrustResult

Result code for SecTrust.Evaluate

SslAuthenticate

Enumerates values that control when to use SSL.

SslCipherSuite

Enumerates available cipher suites.

SslCipherSuiteGroup
SslClientCertificateState

Enumerates stages in an SSL client certificate exchange.

SslConnectionType

Enumerates types of SSL connections.

SslProtocol

Enumerates SSL protocols.

SslProtocolSide

Enumerates values that indicate whether a server side or client side SslContext should be created.

SslSessionConfig
SslSessionOption

Enumerates SSL session behavior options.

SslSessionState

Enumerates stages in the SSL session life cycle.

SslSessionStrengthPolicy
SslStatus

Enumerates SSL connection status.

Delegates

SecProtocolChallenge
SecProtocolChallengeComplete
SecProtocolKeyUpdate
SecProtocolVerify
SecProtocolVerifyComplete