Network Working Group M. Upadhyay Request for Comments: 5653 Google Obsoletes: 2853 S. Malkani Category: Standards Track ActivIdentity August 2009 Generic Security Service API Version 2: Java Bindings Update
Abstract
The Generic Security Services Application Program Interface (GSS-API) offers application programmers uniform access to curity rvices
atop a variety of underlying cryptographic mechanisms. This document updates the Java bindings for the GSS-API that are specified in
"Generic Security Service API Version 2 : Java Bindings" (RFC 2853). This document obsoletes RFC 2853 by making specific and incremental
clarifications and corrections to it in respon to identification of transcription errors and implementation experience.
The GSS-API is described at a language-independent conceptual level
社团名称
in "Generic Security Service Application Program Interface Version 2, Update 1" (RFC 2743). The GSS-API allows a caller application to
authenticate a principal identity, to delegate rights to a peer, and to apply curity rvices such as confidentiality and integrity on a per-message basis. Examples of curity mechanisms defined for GSS- API are "The Simple Public-Key GSS-API Mechanism" (RFC 2025) and "The Kerberos Version 5 Generic Security Service Application Program
Interface (GSS-API) Mechanism: Version 2" (RFC 4121).
Status of This Memo
This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for
improvements. Plea refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (c) 2009 IETF Trust and the persons identified as the
document authors. All rights rerved.
This document is subject to BCP 78 and the IETF Trust’s Legal
Provisions Relating to IETF Documents in effect on the date of
publication of this document (trustee.ietf/licen-info). Plea review the documents carefully, as they describe your rights and restrictions with respect to this document.
Upadhyay & Malkani Standards Track [Page 1]
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
曹志宏
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate licen from the person(s) controlling the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other than English.
Table of Contents
1. Introduction (6)
2. Conventions and Licens (7)
3. GSS-API Operational Paradigm (8)
4. Additional Controls (9)
4.1. Delegation (10)
4.2. Mutual Authentication (11)
4.3. Replay and Out-of-Sequence Detection (11)
4.4. Anonymous Authentication (12)
4.5. Confidentiality (13)
4.6. Inter-process Context Transfer (13)
4.7. The U of Incomplete Contexts (14)
5. Calling Conventions (15)
5.1. Package Name (15)
5.2. Provider Framework (15)
5.3. Integer Types (16)
5.4. Opaque Data Types (16)
5.5. Strings (16)
5.6. Object Identifiers (16)
5.7. Object Identifier Sets (17)
5.8. Credentials (17)
5.9. Contexts (19)
5.10. Authentication Tokens (19)
5.11. Inter-Process Tokens (20)
5.12. Error Reporting (20)
5.12.1. GSS Status Codes (21)
5.12.2. Mechanism-Specific Status Codes (23)
5.12.3. Supplementary Status Codes (23)
5.13. Names (24)
5.14. Channel Bindings (26)
5.15. Stream Objects (27)
5.16. Optional Parameters (28)
6. Introduction to GSS-API Class and Interfaces (28)
6.1. GSSManager Class (28)
6.2. GSSName Interface (29)
Upadhyay & Malkani Standards Track [Page 2]
我是你的情人6.3. GSSCredential Interface (30)
6.4. GSSContext Interface (30)
6.5. MessageProp Class (31)
6.6. GSSException Class (32)
6.7. Oid Class (32)
6.8. ChannelBinding Class (32)
7. Detailed GSS-API Class Description (33)
7.1. public abstract class GSSManager (33)
7.1.1. Example Code (34)
7.1.2. getInstance (34)
7.1.3. getMechs (35)
7.1.4. getNamesForMech (35)
7.1.5. getMechsForName (35)
7.1.6. createName (35)
7.1.7. createName (36)
7.1.8. createName (36)
7.1.9. createName (37)
7.1.10. createCredential (38)
7.1.11. createCredential (38)
7.1.12. createCredential (39)
7.1.13. createContext (39)
7.1.14. createContext (40)
7.1.15. createContext (40)
7.1.16. addProviderAtFront (41)
7.1.17. Example Code (41)
7.1.18. addProviderAtEnd (42)
7.1.19. Example Code (43)
7.2. public interface GSSName (44)
信赖是什么7.2.1. Example Code (44)
7.2.2. Static Constants (45)
7.2.3. equals (46)
7.2.4. equals (46)
7.2.5. canonicalize (46)
7.2.6. export (47)
7.2.7. toString (47)
7.2.8. getStringNameType (47)
7.2.9. isAnonymous (47)
炸元宵怎么炸7.2.10. isMN (47)
7.3. public interface GSSCredential implements Cloneable (47)
7.3.1. Example Code (49)经营婚姻
7.3.2. Static Constants (49)
7.3.3. dispo (50)
7.3.4. getName (50)
7.3.5. getName (50)
7.3.6. getRemainingLifetime (50)
7.3.7. getRemainingInitLifetime (51)
7.3.8. getRemainingAcceptLifetime (51)
7.3.9. getUsage (51)
Upadhyay & Malkani Standards Track [Page 3]
7.3.11. getMechs (52)
7.3.12. add (52)
7.3.13. equals (53)
7.4. public interface GSSContext (53)
什么是处理器
7.4.1. Example Code (54)
7.4.2. Static Constants (56)
7.4.3. initSecContext (56)
7.4.4. Example Code (57)
7.4.5. initSecContext (58)
7.4.6. Example Code (58)
7.4.7. acceptSecContext (59)
7.4.8. Example Code (60)
7.4.9. acceptSecContext (61)
7.4.10. Example Code (61)
7.4.11. isEstablished (62)
7.4.12. dispo (62)
7.4.13. getWrapSizeLimit (63)
7.4.14. wrap (63)
7.4.15. wrap (64)
7.4.16. unwrap (65)
7.4.17. unwrap (66)
7.4.18. getMIC (67)
7.4.19. getMIC (68)
7.4.20. verifyMIC (68)
7.4.21. verifyMIC (69)
7.4.22. export (70)
7.4.23. requestMutualAuth (71)
7.4.24. requestReplayDet (71)
7.4.25. requestSequenceDet (71)
7.4.26. requestCredDeleg (71)
7.4.27. requestAnonymity (72)
7.4.28. requestConf (72)
7.4.29. requestInteg (72)
7.4.30. requestLifetime (73)
7.4.31. tChannelBinding (73)
7.4.32. getCredDelegState (73)
7.4.33. getMutualAuthState (73)
7.4.34. getReplayDetState (74)
7.4.35. getSequenceDetState (74)
7.4.36. getAnonymityState (74)
7.4.37. isTransferable (74)
7.4.38. isProtReady (74)
7.4.39. getConfState (75)
7.4.40. getIntegState (75)
7.4.41. getLifetime (75)
7.4.42. getSrcName (75)
7.4.43. getTargName (75)
Upadhyay & Malkani Standards Track [Page 4]
7.4.45. getDelegCred (76)
7.4.46. isInitiator (76)
7.5. public class MessageProp (76)
7.5.1. Constructors (77)
7.5.2. getQOP (77)
7.5.3. getPrivacy (77)
7.5.4. getMinorStatus (77)
7.5.5. getMinorString (77)
7.5.6. tQOP (78)
7.5.7. tPrivacy (78)
7.5.8. isDuplicateToken (78)
7.5.9. isOldToken (78)
7.5.10. isUnqToken (78)
7.5.11. isGapToken (78)
7.5.12. tSupplementaryStates (79)
7.6. public class ChannelBinding (79)
7.6.1. Constructors (80)
7.6.2. getInitiatorAddress (80)
7.6.3. getAcceptorAddress (80)
7.6.4. getApplicationData (81)
7.6.5. equals (81)
7.7. public class Oid (81)
7.7.1. Constructors (81)
7.7.2. toString (82)
7.7.3. equals (82)
7.7.4. getDER (82)
7.7.5. containedIn (83)
7.8. public class GSSException extends Exception (83)
7.8.1. Static Constants (83)
7.8.2. Constructors (86)
7.8.3. getMajor (86)
7.8.4. getMinor (86)
7.8.5. getMajorString (87)
7.8.6. getMinorString (87)
饮茶的好处
7.8.7. tMinor (87)
7.8.8. toString (87)
7.8.9. getMessage (87)
8. Sample Applications (88)
8.1. Simple GSS Context Initiator (88)
8.2. Simple GSS Context Acceptor (92)
9. Security Considerations (96)
10. Acknowledgments (96)
11. Changes since RFC 2853 (97)
12. References (98)
12.1. Normative References (98)
12.2. Informative References (98)
Upadhyay & Malkani Standards Track [Page 5]