Carbon


Keychain Protocol Type Constants

Header: Keychain.h

Identify the protocol to use in storing and retrieving Internet passwords.

enum {
    kKCProtocolTypeFTP = ''ftp '',
    kKCProtocolTypeFTPAccount = ''ftpa'',
    kKCProtocolTypeHTTP = ''http'',
    kKCProtocolTypeIRC = ''irc '',
    kKCProtocolTypeNNTP = ''nntp'',
    kKCProtocolTypePOP3 = ''pop3'',
    kKCProtocolTypeSMTP = ''smtp'',
    kKCProtocolTypeSOCKS = ''sox '',
    kKCProtocolTypeIMAP = ''imap'',
    kKCProtocolTypeLDAP = ''ldap'',
    kKCProtocolTypeAppleTalk = ''atlk'',
    kKCProtocolTypeAFP = ''afp '',
    kKCProtocolTypeTelnet = ''teln''
};

Constant descriptions

kKCProtocolTypeFTP

Specifies the File Transfer Protocol.

kKCProtocolTypeFTPAccount

Specifies the File Transfer Protocol Account.

kKCProtocolTypeHTTP

Specifies the HyperText Transfer Protocol.

kKCProtocolTypeIRC

Specifies the Internet Relay Channel Protocol.

kKCProtocolTypeNNTP

Specifies the Network News Transfer Protocol.

kKCProtocolTypePOP3

Specifies the Post Office 3 Protocol.

kKCProtocolTypeSMTP

Specifies the Simple Mail Transfer Protocol.

kKCProtocolTypeSOCKS

Specifies the Secure Proxy Server Protocol.

kKCProtocolTypeIMAP

Specifies the Internet Message Access Protocol.

kKCProtocolTypeLDAP

Specifies the Lightweight Directory Access Protocol.

kKCProtocolTypeAppleTalk

Specifies the AppleTalk Protocol.

kKCProtocolTypeAFP

Specifies the AppleTalk File Protocol.

kKCProtocolTypeTelnet

Specifies the Telnet Protocol.

The KCProtocolType enumeration defines constants you can use to identify the type of authentication to use in storing and retrieving Internet passwords. You can pass a constant of this type in the protocol parameter of the functions KCAddInternetPassword, KCAddInternetPasswordWithPath, KCFindInternetPassword, and KCFindInternetPasswordWithPath.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)