• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 11.0.1.137
Generic Security Service Application Program Interface constants.

Use these constants with the BlackBerry Dynamics programming interface for the Generic Security Service Application Program Interface (GSS-API). More...

Enumerations

enum  GssStatusCode {
  STATUS_GSS_S_COMPLETE,
  STATUS_GSS_S_CALL_INACCESSIBLE_READ,
  STATUS_GSS_S_CALL_INACCESSIBLE_WRITE,
  STATUS_GSS_S_CALL_BAD_STRUCTURE,
  STATUS_GSS_S_BAD_MECH,
  STATUS_GSS_S_BAD_NAME,
  STATUS_GSS_S_BAD_NAMETYPE,
  STATUS_GSS_S_BAD_BINDINGS,
  STATUS_GSS_S_BAD_STATUS,
  STATUS_GSS_S_BAD_SIG,
  STATUS_GSS_S_BAD_MIC,
  STATUS_GSS_S_NO_CRED,
  STATUS_GSS_S_NO_CONTEXT,
  STATUS_GSS_S_DEFECTIVE_TOKEN,
  STATUS_GSS_S_DEFECTIVE_CREDENTIAL,
  STATUS_GSS_S_CREDENTIALS_EXPIRED,
  STATUS_GSS_S_CONTEXT_EXPIRED,
  STATUS_GSS_S_FAILURE,
  STATUS_GSS_S_BAD_QOP,
  STATUS_GSS_S_UNAUTHORIZED,
  STATUS_GSS_S_UNAVAILABLE,
  STATUS_GSS_S_DUPLICATE_ELEMENT,
  STATUS_GSS_S_NAME_NOT_MN,
  STATUS_GSS_S_CONTINUE_NEEDED,
  STATUS_GSS_S_DUPLICATE_TOKEN,
  STATUS_GSS_S_OLD_TOKEN,
  STATUS_GSS_S_UNSEQ_TOKEN,
  STATUS_GSS_S_GAP_TOKEN,
  STATUS_UNKNOWN
}
 Generic Security Service Application Program Interface status code. More...
 
enum  NegotiateMechanism {
  NEGOTIATE_MECHANISM_SPNEGO,
  NEGOTIATE_MECHANISM_KRB5
}
 Generic Security Service Application Program Interface negotiation mechanisms (deprecated). More...
 

Detailed Description

Enumeration Type Documentation

◆ GssStatusCode

enum GssStatusCode
strong

This enumeration represents the status of a BlackBerry Dynamics GSS-API operation. The NegotiateScheme.getGssApiStatus getGssApiStatus() function returns one of these values.

Some GSS-API status codes are defined by the standard, see RFC 2743 - Generic Security Service Application Program Interface on the ietf.org website.

Codes that aren't defined in the standard have generally accepted meanings that can be found by searching the Internet. For example, the GSS-API page on the gnu.org website includes definitions in the context of each operation.

Enumerator
STATUS_GSS_S_COMPLETE 

GSS-API status code: GSS_S_COMPLETE.

STATUS_GSS_S_CALL_INACCESSIBLE_READ 

GSS-API status code: GSS_S_CALL_INACCESSIBLE_READ.

STATUS_GSS_S_CALL_INACCESSIBLE_WRITE 

GSS-API status code: GSS_S_CALL_INACCESSIBLE_WRITE.

STATUS_GSS_S_CALL_BAD_STRUCTURE 

GSS-API status code: GSS_S_CALL_BAD_STRUCTURE.

STATUS_GSS_S_BAD_MECH 

GSS-API status code: GSS_S_BAD_MECH.

STATUS_GSS_S_BAD_NAME 

GSS-API status code: GSS_S_BAD_NAME.

STATUS_GSS_S_BAD_NAMETYPE 

GSS-API status code: GSS_S_BAD_NAMETYPE.

STATUS_GSS_S_BAD_BINDINGS 

GSS-API status code: GSS_S_BAD_BINDINGS.

STATUS_GSS_S_BAD_STATUS 

GSS-API status code: GSS_S_BAD_STATUS.

STATUS_GSS_S_BAD_SIG 

GSS-API status code: GSS_S_BAD_SIG.

STATUS_GSS_S_BAD_MIC 

GSS-API status code: GSS_S_BAD_MIC.

STATUS_GSS_S_NO_CRED 

GSS-API status code: GSS_S_NO_CRED.

STATUS_GSS_S_NO_CONTEXT 

GSS-API status code: GSS_S_NO_CONTEXT.

STATUS_GSS_S_DEFECTIVE_TOKEN 

GSS-API status code: GSS_S_DEFECTIVE_TOKEN.

STATUS_GSS_S_DEFECTIVE_CREDENTIAL 

GSS-API status code: GSS_S_DEFECTIVE_CREDENTIAL.

STATUS_GSS_S_CREDENTIALS_EXPIRED 

GSS-API status code: GSS_S_CREDENTIALS_EXPIRED.

STATUS_GSS_S_CONTEXT_EXPIRED 

GSS-API status code: GSS_S_CONTEXT_EXPIRED.

STATUS_GSS_S_FAILURE 

GSS-API status code: GSS_S_FAILURE.

STATUS_GSS_S_BAD_QOP 

GSS-API status code: GSS_S_BAD_QOP.

STATUS_GSS_S_UNAUTHORIZED 

GSS-API status code: GSS_S_UNAUTHORIZED.

STATUS_GSS_S_UNAVAILABLE 

GSS-API status code: GSS_S_UNAVAILABLE.

STATUS_GSS_S_DUPLICATE_ELEMENT 

GSS-API status code: GSS_S_DUPLICATE_ELEMENT.

STATUS_GSS_S_NAME_NOT_MN 

GSS-API status code: GSS_S_NAME_NOT_MN.

STATUS_GSS_S_CONTINUE_NEEDED 

GSS-API status code: GSS_S_CONTINUE_NEEDED.

STATUS_GSS_S_DUPLICATE_TOKEN 

GSS-API status code: GSS_S_DUPLICATE_TOKEN.

STATUS_GSS_S_OLD_TOKEN 

GSS-API status code: GSS_S_OLD_TOKEN.

STATUS_GSS_S_UNSEQ_TOKEN 

GSS-API status code: GSS_S_UNSEQ_TOKEN.

STATUS_GSS_S_GAP_TOKEN 

GSS-API status code: GSS_S_GAP_TOKEN.

STATUS_UNKNOWN 

Initial value.

◆ NegotiateMechanism

enum NegotiateMechanism
strong
Deprecated:
This enumeration is deprecated and will be removed in a future release. It is no longer required.

This enumeration represents the negotiation mechanism in a BlackBerry Dynamics GSS-API operation.

Pass one of these values as the mechanism parameter of the NegotiateScheme.generateGssApiData(const char*,NegotiateMechanism,const char*,const bool) method.

Enumerator
NEGOTIATE_MECHANISM_SPNEGO 

Simple and Protected GSS-API Negotiation.

NEGOTIATE_MECHANISM_KRB5 

Raw Kerberos version 5 scheme.