public class

Krb5

extends Object
java.lang.Object
   ↳ sun.security.mule.krb5.internal.Krb5

Summary

Constants
int ADDRTYPE_APPLETALK
int ADDRTYPE_ATM
int ADDRTYPE_BAN
int ADDRTYPE_CCITT
int ADDRTYPE_CHAOS
int ADDRTYPE_DATAKIT
int ADDRTYPE_DECNET
int ADDRTYPE_DLI
int ADDRTYPE_ECMA
int ADDRTYPE_FIREFOX
int ADDRTYPE_HYLINK
int ADDRTYPE_IMPLINK
int ADDRTYPE_INET
int ADDRTYPE_INET6
int ADDRTYPE_IPX
int ADDRTYPE_ISO
int ADDRTYPE_LAT
int ADDRTYPE_NETBIOS
int ADDRTYPE_PUP
int ADDRTYPE_SNA
int ADDRTYPE_UNIX
int ADDRTYPE_VOICEVIEW
int ADDRTYPE_XNS
int ADDR_LEN_APPLETALK
int ADDR_LEN_CHAOS
int ADDR_LEN_DECNET
int ADDR_LEN_INET
int ADDR_LEN_OSI
int ADDR_LEN_XNS
int API_INVALID_ARG
boolean AP_EMPTY_ADDRESSES_ALLOWED
int AP_OPTS_MAX
int AP_OPTS_MUTUAL_REQUIRED
int AP_OPTS_RESERVED
int AP_OPTS_USE_SESSION_KEY
int ASN1_BAD_CLASS
int ASN1_BAD_FORMAT
int ASN1_BAD_ID
int ASN1_BAD_LENGTH
int ASN1_BAD_TAG
int ASN1_BAD_TIMEFORMAT
int ASN1_BAD_TYPE
int ASN1_CANNOT_ENCODE
int ASN1_MISPLACED_FIELD
int ASN1_MISSING_FIELD
int ASN1_OVERFLOW
int ASN1_OVERRUN
int ASN1_PARSE_ERROR
int ASN1_TYPE_MISMATCH
int ASN1_UNSUPPORTED_TYPE
int ATT_CHALLENGE_RESPONSE
int AUTHNETICATOR_VNO
int BITSTRING_BAD_LENGTH
int BITSTRING_INDEX_OUT_OF_BOUNDS
int BITSTRING_SIZE_INVALID
int DEFAULT_ALLOWABLE_CLOCKSKEW
boolean DEFAULT_FORWARDABLE_ALLOWED
int DEFAULT_MAXIMUM_RENEWABLE_LIFETIME
int DEFAULT_MAXIMUM_TICKET_LIFETIME
int DEFAULT_MINIMUM_LIFETIME
boolean DEFAULT_POSTDATE_ALLOWED
boolean DEFAULT_PROXIABLE_ALLOWED
boolean DEFAULT_RENEWABLE_ALLOWED
int DOMAIN_X500_COMPRESS
int KDC_ERR_BADOPTION
int KDC_ERR_BAD_PVNO
int KDC_ERR_CANNOT_POSTDATE
int KDC_ERR_CLIENT_NOTYET
int KDC_ERR_CLIENT_REVOKED
int KDC_ERR_C_OLD_MAST_KVNO
int KDC_ERR_C_PRINCIPAL_UNKNOWN
int KDC_ERR_ETYPE_NOSUPP
int KDC_ERR_KEY_EXPIRED
int KDC_ERR_NAME_EXP
int KDC_ERR_NEVER_VALID
int KDC_ERR_NONE
int KDC_ERR_NULL_KEY
int KDC_ERR_PADATA_TYPE_NOSUPP
int KDC_ERR_POLICY
int KDC_ERR_PREAUTH_FAILED
int KDC_ERR_PREAUTH_REQUIRED
int KDC_ERR_PRINCIPAL_NOT_UNIQUE
int KDC_ERR_SERVICE_EXP
int KDC_ERR_SERVICE_NOTYET
int KDC_ERR_SERVICE_REVOKED
int KDC_ERR_SUMTYPE_NOSUPP
int KDC_ERR_S_OLD_MAST_KVNO
int KDC_ERR_S_PRINCIPAL_UNKNOWN
int KDC_ERR_TGT_REVOKED
int KDC_ERR_TRTYPE_NOSUPP
int KDC_INET_DEFAULT_PORT
int KDC_OPTS_MAX
int KDC_RETRY_LIMIT
int KEYTYPE_AES
int KEYTYPE_ARCFOUR_HMAC
int KEYTYPE_DES
int KEYTYPE_DES3
int KEYTYPE_NULL
int KRB_AP_ERR_BADADDR
int KRB_AP_ERR_BADDIRECTION
int KRB_AP_ERR_BADKEYVER
int KRB_AP_ERR_BADMATCH
int KRB_AP_ERR_BADORDER
int KRB_AP_ERR_BADSEQ
int KRB_AP_ERR_BADVERSION
int KRB_AP_ERR_BAD_INTEGRITY
int KRB_AP_ERR_GEN_CRED
int KRB_AP_ERR_INAPP_CKSUM
int KRB_AP_ERR_METHOD
int KRB_AP_ERR_MODIFIED
int KRB_AP_ERR_MSG_TYPE
int KRB_AP_ERR_MUT_FAIL
int KRB_AP_ERR_NOKEY
int KRB_AP_ERR_NOREALM
int KRB_AP_ERR_NOT_US
int KRB_AP_ERR_REPEAT
int KRB_AP_ERR_REQ_OPTIONS
int KRB_AP_ERR_SKEW
int KRB_AP_ERR_TKT_EXPIRED
int KRB_AP_ERR_TKT_NYV
int KRB_AP_REP
int KRB_AP_REQ
int KRB_AS_REP
int KRB_AS_REQ
int KRB_AUTHENTICATOR
int KRB_CRED
int KRB_CRYPTO_NOT_SUPPORT
int KRB_ENC_AP_REP_PART
int KRB_ENC_AS_REP_PART
int KRB_ENC_KRB_CRED_PART
int KRB_ENC_KRB_PRIV_PART
int KRB_ENC_TGS_REP_PART
int KRB_ENC_TKT_PART
int KRB_ERROR
int KRB_ERR_FIELD_TOOLONG
int KRB_ERR_GENERIC
int KRB_ERR_RESPONSE_TOO_BIG
int KRB_FLAGS_MAX
int KRB_PRIV
int KRB_SAFE
int KRB_TGS_REP
int KRB_TGS_REQ
int KRB_TKT
int LRTYPE_NONE
int LRTYPE_TIME_OF_INITIAL_REQ
int LRTYPE_TIME_OF_INITIAL_TGT
int LRTYPE_TIME_OF_LAST_RENEWAL
int LRTYPE_TIME_OF_LAST_REQ
int LRTYPE_TIME_OF_NEWEST_TGT
int OSF_DCE
int PA_ENC_TIMESTAMP
int PA_ETYPE_INFO
int PA_ETYPE_INFO2
int PA_PW_SALT
int PA_TGS_REQ
int PVNO
int REALM_ILLCHAR
int REALM_NULL
int SESAME
int TICKET_VNO
int TKT_OPTS_DELEGATE
int TKT_OPTS_FORWARDABLE
int TKT_OPTS_FORWARDED
int TKT_OPTS_HW_AUTHENT
int TKT_OPTS_INITIAL
int TKT_OPTS_INVALID
int TKT_OPTS_MAX
int TKT_OPTS_MAY_POSTDATE
int TKT_OPTS_POSTDATED
int TKT_OPTS_PRE_AUTHENT
int TKT_OPTS_PROXIABLE
int TKT_OPTS_PROXY
int TKT_OPTS_RENEWABLE
int TKT_OPTS_RESERVED
Fields
public static final boolean DEBUG
private static Hashtable<Integer, String> errMsgList
public static final HexDumpEncoder hexDumper
Public Constructors
Krb5()
Public Methods
static String getErrorMessage(int i)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ADDRTYPE_APPLETALK

Constant Value: 16 (0x00000010)

public static final int ADDRTYPE_ATM

Constant Value: 22 (0x00000016)

public static final int ADDRTYPE_BAN

Constant Value: 21 (0x00000015)

public static final int ADDRTYPE_CCITT

Constant Value: 10 (0x0000000a)

public static final int ADDRTYPE_CHAOS

Constant Value: 5 (0x00000005)

public static final int ADDRTYPE_DATAKIT

Constant Value: 9 (0x00000009)

public static final int ADDRTYPE_DECNET

Constant Value: 12 (0x0000000c)

public static final int ADDRTYPE_DLI

Constant Value: 13 (0x0000000d)

public static final int ADDRTYPE_ECMA

Constant Value: 8 (0x00000008)

public static final int ADDRTYPE_FIREFOX

Constant Value: 19 (0x00000013)

public static final int ADDRTYPE_HYLINK

Constant Value: 15 (0x0000000f)

public static final int ADDRTYPE_IMPLINK

Constant Value: 3 (0x00000003)

public static final int ADDRTYPE_INET

Constant Value: 2 (0x00000002)

public static final int ADDRTYPE_INET6

Constant Value: 24 (0x00000018)

public static final int ADDRTYPE_IPX

Constant Value: 6 (0x00000006)

public static final int ADDRTYPE_ISO

Constant Value: 7 (0x00000007)

public static final int ADDRTYPE_LAT

Constant Value: 14 (0x0000000e)

public static final int ADDRTYPE_NETBIOS

Constant Value: 17 (0x00000011)

public static final int ADDRTYPE_PUP

Constant Value: 4 (0x00000004)

public static final int ADDRTYPE_SNA

Constant Value: 11 (0x0000000b)

public static final int ADDRTYPE_UNIX

Constant Value: 1 (0x00000001)

public static final int ADDRTYPE_VOICEVIEW

Constant Value: 18 (0x00000012)

public static final int ADDRTYPE_XNS

Constant Value: 6 (0x00000006)

public static final int ADDR_LEN_APPLETALK

Constant Value: 3 (0x00000003)

public static final int ADDR_LEN_CHAOS

Constant Value: 2 (0x00000002)

public static final int ADDR_LEN_DECNET

Constant Value: 2 (0x00000002)

public static final int ADDR_LEN_INET

Constant Value: 4 (0x00000004)

public static final int ADDR_LEN_OSI

Constant Value: 0 (0x00000000)

public static final int ADDR_LEN_XNS

Constant Value: 6 (0x00000006)

public static final int API_INVALID_ARG

Constant Value: 400 (0x00000190)

public static final boolean AP_EMPTY_ADDRESSES_ALLOWED

Constant Value: true

public static final int AP_OPTS_MAX

Constant Value: 31 (0x0000001f)

public static final int AP_OPTS_MUTUAL_REQUIRED

Constant Value: 2 (0x00000002)

public static final int AP_OPTS_RESERVED

Constant Value: 0 (0x00000000)

public static final int AP_OPTS_USE_SESSION_KEY

Constant Value: 1 (0x00000001)

public static final int ASN1_BAD_CLASS

Constant Value: 910 (0x0000038e)

public static final int ASN1_BAD_FORMAT

Constant Value: 908 (0x0000038c)

public static final int ASN1_BAD_ID

Constant Value: 906 (0x0000038a)

public static final int ASN1_BAD_LENGTH

Constant Value: 907 (0x0000038b)

public static final int ASN1_BAD_TAG

Constant Value: 912 (0x00000390)

public static final int ASN1_BAD_TIMEFORMAT

Constant Value: 900 (0x00000384)

public static final int ASN1_BAD_TYPE

Constant Value: 911 (0x0000038f)

public static final int ASN1_CANNOT_ENCODE

Constant Value: 914 (0x00000392)

public static final int ASN1_MISPLACED_FIELD

Constant Value: 902 (0x00000386)

public static final int ASN1_MISSING_FIELD

Constant Value: 901 (0x00000385)

public static final int ASN1_OVERFLOW

Constant Value: 904 (0x00000388)

public static final int ASN1_OVERRUN

Constant Value: 905 (0x00000389)

public static final int ASN1_PARSE_ERROR

Constant Value: 909 (0x0000038d)

public static final int ASN1_TYPE_MISMATCH

Constant Value: 903 (0x00000387)

public static final int ASN1_UNSUPPORTED_TYPE

Constant Value: 913 (0x00000391)

public static final int ATT_CHALLENGE_RESPONSE

Constant Value: 64 (0x00000040)

public static final int AUTHNETICATOR_VNO

Constant Value: 5 (0x00000005)

public static final int BITSTRING_BAD_LENGTH

Constant Value: 502 (0x000001f6)

public static final int BITSTRING_INDEX_OUT_OF_BOUNDS

Constant Value: 501 (0x000001f5)

public static final int BITSTRING_SIZE_INVALID

Constant Value: 500 (0x000001f4)

public static final int DEFAULT_ALLOWABLE_CLOCKSKEW

Constant Value: 300 (0x0000012c)

public static final boolean DEFAULT_FORWARDABLE_ALLOWED

Constant Value: true

public static final int DEFAULT_MAXIMUM_RENEWABLE_LIFETIME

Constant Value: 604800 (0x00093a80)

public static final int DEFAULT_MAXIMUM_TICKET_LIFETIME

Constant Value: 86400 (0x00015180)

public static final int DEFAULT_MINIMUM_LIFETIME

Constant Value: 300 (0x0000012c)

public static final boolean DEFAULT_POSTDATE_ALLOWED

Constant Value: true

public static final boolean DEFAULT_PROXIABLE_ALLOWED

Constant Value: true

public static final boolean DEFAULT_RENEWABLE_ALLOWED

Constant Value: true

public static final int DOMAIN_X500_COMPRESS

Constant Value: 1 (0x00000001)

public static final int KDC_ERR_BADOPTION

Constant Value: 13 (0x0000000d)

public static final int KDC_ERR_BAD_PVNO

Constant Value: 3 (0x00000003)

public static final int KDC_ERR_CANNOT_POSTDATE

Constant Value: 10 (0x0000000a)

public static final int KDC_ERR_CLIENT_NOTYET

Constant Value: 21 (0x00000015)

public static final int KDC_ERR_CLIENT_REVOKED

Constant Value: 18 (0x00000012)

public static final int KDC_ERR_C_OLD_MAST_KVNO

Constant Value: 4 (0x00000004)

public static final int KDC_ERR_C_PRINCIPAL_UNKNOWN

Constant Value: 6 (0x00000006)

public static final int KDC_ERR_ETYPE_NOSUPP

Constant Value: 14 (0x0000000e)

public static final int KDC_ERR_KEY_EXPIRED

Constant Value: 23 (0x00000017)

public static final int KDC_ERR_NAME_EXP

Constant Value: 1 (0x00000001)

public static final int KDC_ERR_NEVER_VALID

Constant Value: 11 (0x0000000b)

public static final int KDC_ERR_NONE

Constant Value: 0 (0x00000000)

public static final int KDC_ERR_NULL_KEY

Constant Value: 9 (0x00000009)

public static final int KDC_ERR_PADATA_TYPE_NOSUPP

Constant Value: 16 (0x00000010)

public static final int KDC_ERR_POLICY

Constant Value: 12 (0x0000000c)

public static final int KDC_ERR_PREAUTH_FAILED

Constant Value: 24 (0x00000018)

public static final int KDC_ERR_PREAUTH_REQUIRED

Constant Value: 25 (0x00000019)

public static final int KDC_ERR_PRINCIPAL_NOT_UNIQUE

Constant Value: 8 (0x00000008)

public static final int KDC_ERR_SERVICE_EXP

Constant Value: 2 (0x00000002)

public static final int KDC_ERR_SERVICE_NOTYET

Constant Value: 22 (0x00000016)

public static final int KDC_ERR_SERVICE_REVOKED

Constant Value: 19 (0x00000013)

public static final int KDC_ERR_SUMTYPE_NOSUPP

Constant Value: 15 (0x0000000f)

public static final int KDC_ERR_S_OLD_MAST_KVNO

Constant Value: 5 (0x00000005)

public static final int KDC_ERR_S_PRINCIPAL_UNKNOWN

Constant Value: 7 (0x00000007)

public static final int KDC_ERR_TGT_REVOKED

Constant Value: 20 (0x00000014)

public static final int KDC_ERR_TRTYPE_NOSUPP

Constant Value: 17 (0x00000011)

public static final int KDC_INET_DEFAULT_PORT

Constant Value: 88 (0x00000058)

public static final int KDC_OPTS_MAX

Constant Value: 31 (0x0000001f)

public static final int KDC_RETRY_LIMIT

Constant Value: 3 (0x00000003)

public static final int KEYTYPE_AES

Constant Value: 3 (0x00000003)

public static final int KEYTYPE_ARCFOUR_HMAC

Constant Value: 4 (0x00000004)

public static final int KEYTYPE_DES

Constant Value: 1 (0x00000001)

public static final int KEYTYPE_DES3

Constant Value: 2 (0x00000002)

public static final int KEYTYPE_NULL

Constant Value: 0 (0x00000000)

public static final int KRB_AP_ERR_BADADDR

Constant Value: 38 (0x00000026)

public static final int KRB_AP_ERR_BADDIRECTION

Constant Value: 47 (0x0000002f)

public static final int KRB_AP_ERR_BADKEYVER

Constant Value: 44 (0x0000002c)

public static final int KRB_AP_ERR_BADMATCH

Constant Value: 36 (0x00000024)

public static final int KRB_AP_ERR_BADORDER

Constant Value: 42 (0x0000002a)

public static final int KRB_AP_ERR_BADSEQ

Constant Value: 49 (0x00000031)

public static final int KRB_AP_ERR_BADVERSION

Constant Value: 39 (0x00000027)

public static final int KRB_AP_ERR_BAD_INTEGRITY

Constant Value: 31 (0x0000001f)

public static final int KRB_AP_ERR_GEN_CRED

Constant Value: 63 (0x0000003f)

public static final int KRB_AP_ERR_INAPP_CKSUM

Constant Value: 50 (0x00000032)

public static final int KRB_AP_ERR_METHOD

Constant Value: 48 (0x00000030)

public static final int KRB_AP_ERR_MODIFIED

Constant Value: 41 (0x00000029)

public static final int KRB_AP_ERR_MSG_TYPE

Constant Value: 40 (0x00000028)

public static final int KRB_AP_ERR_MUT_FAIL

Constant Value: 46 (0x0000002e)

public static final int KRB_AP_ERR_NOKEY

Constant Value: 45 (0x0000002d)

public static final int KRB_AP_ERR_NOREALM

Constant Value: 62 (0x0000003e)

public static final int KRB_AP_ERR_NOT_US

Constant Value: 35 (0x00000023)

public static final int KRB_AP_ERR_REPEAT

Constant Value: 34 (0x00000022)

public static final int KRB_AP_ERR_REQ_OPTIONS

Constant Value: 101 (0x00000065)

public static final int KRB_AP_ERR_SKEW

Constant Value: 37 (0x00000025)

public static final int KRB_AP_ERR_TKT_EXPIRED

Constant Value: 32 (0x00000020)

public static final int KRB_AP_ERR_TKT_NYV

Constant Value: 33 (0x00000021)

public static final int KRB_AP_REP

Constant Value: 15 (0x0000000f)

public static final int KRB_AP_REQ

Constant Value: 14 (0x0000000e)

public static final int KRB_AS_REP

Constant Value: 11 (0x0000000b)

public static final int KRB_AS_REQ

Constant Value: 10 (0x0000000a)

public static final int KRB_AUTHENTICATOR

Constant Value: 2 (0x00000002)

public static final int KRB_CRED

Constant Value: 22 (0x00000016)

public static final int KRB_CRYPTO_NOT_SUPPORT

Constant Value: 100 (0x00000064)

public static final int KRB_ENC_AP_REP_PART

Constant Value: 27 (0x0000001b)

public static final int KRB_ENC_AS_REP_PART

Constant Value: 25 (0x00000019)

public static final int KRB_ENC_KRB_CRED_PART

Constant Value: 29 (0x0000001d)

public static final int KRB_ENC_KRB_PRIV_PART

Constant Value: 28 (0x0000001c)

public static final int KRB_ENC_TGS_REP_PART

Constant Value: 26 (0x0000001a)

public static final int KRB_ENC_TKT_PART

Constant Value: 3 (0x00000003)

public static final int KRB_ERROR

Constant Value: 30 (0x0000001e)

public static final int KRB_ERR_FIELD_TOOLONG

Constant Value: 61 (0x0000003d)

public static final int KRB_ERR_GENERIC

Constant Value: 60 (0x0000003c)

public static final int KRB_ERR_RESPONSE_TOO_BIG

Constant Value: 52 (0x00000034)

public static final int KRB_FLAGS_MAX

Constant Value: 31 (0x0000001f)

public static final int KRB_PRIV

Constant Value: 21 (0x00000015)

public static final int KRB_SAFE

Constant Value: 20 (0x00000014)

public static final int KRB_TGS_REP

Constant Value: 13 (0x0000000d)

public static final int KRB_TGS_REQ

Constant Value: 12 (0x0000000c)

public static final int KRB_TKT

Constant Value: 1 (0x00000001)

public static final int LRTYPE_NONE

Constant Value: 0 (0x00000000)

public static final int LRTYPE_TIME_OF_INITIAL_REQ

Constant Value: 2 (0x00000002)

public static final int LRTYPE_TIME_OF_INITIAL_TGT

Constant Value: 1 (0x00000001)

public static final int LRTYPE_TIME_OF_LAST_RENEWAL

Constant Value: 4 (0x00000004)

public static final int LRTYPE_TIME_OF_LAST_REQ

Constant Value: 5 (0x00000005)

public static final int LRTYPE_TIME_OF_NEWEST_TGT

Constant Value: 3 (0x00000003)

public static final int OSF_DCE

Constant Value: 64 (0x00000040)

public static final int PA_ENC_TIMESTAMP

Constant Value: 2 (0x00000002)

public static final int PA_ETYPE_INFO

Constant Value: 11 (0x0000000b)

public static final int PA_ETYPE_INFO2

Constant Value: 19 (0x00000013)

public static final int PA_PW_SALT

Constant Value: 3 (0x00000003)

public static final int PA_TGS_REQ

Constant Value: 1 (0x00000001)

public static final int PVNO

Constant Value: 5 (0x00000005)

public static final int REALM_ILLCHAR

Constant Value: 600 (0x00000258)

public static final int REALM_NULL

Constant Value: 601 (0x00000259)

public static final int SESAME

Constant Value: 65 (0x00000041)

public static final int TICKET_VNO

Constant Value: 5 (0x00000005)

public static final int TKT_OPTS_DELEGATE

Constant Value: 13 (0x0000000d)

public static final int TKT_OPTS_FORWARDABLE

Constant Value: 1 (0x00000001)

public static final int TKT_OPTS_FORWARDED

Constant Value: 2 (0x00000002)

public static final int TKT_OPTS_HW_AUTHENT

Constant Value: 11 (0x0000000b)

public static final int TKT_OPTS_INITIAL

Constant Value: 9 (0x00000009)

public static final int TKT_OPTS_INVALID

Constant Value: 7 (0x00000007)

public static final int TKT_OPTS_MAX

Constant Value: 31 (0x0000001f)

public static final int TKT_OPTS_MAY_POSTDATE

Constant Value: 5 (0x00000005)

public static final int TKT_OPTS_POSTDATED

Constant Value: 6 (0x00000006)

public static final int TKT_OPTS_PRE_AUTHENT

Constant Value: 10 (0x0000000a)

public static final int TKT_OPTS_PROXIABLE

Constant Value: 3 (0x00000003)

public static final int TKT_OPTS_PROXY

Constant Value: 4 (0x00000004)

public static final int TKT_OPTS_RENEWABLE

Constant Value: 8 (0x00000008)

public static final int TKT_OPTS_RESERVED

Constant Value: 0 (0x00000000)

Fields

public static final boolean DEBUG

private static Hashtable<Integer, String> errMsgList

public static final HexDumpEncoder hexDumper

Public Constructors

public Krb5 ()

Public Methods

public static String getErrorMessage (int i)

Parameters
i