| java.lang.Object |
| ↳ |
sun.security.mule.krb5.internal.KRBError |
Class Overview
Implements the ASN.1 KRBError type.
KRB-ERROR ::= [APPLICATION 30] SEQUENCE {
pvno [0] INTEGER (5),
msg-type [1] INTEGER (30),
ctime [2] KerberosTime OPTIONAL,
cusec [3] Microseconds OPTIONAL,
stime [4] KerberosTime,
susec [5] Microseconds,
error-code [6] Int32,
crealm [7] Realm OPTIONAL,
cname [8] PrincipalName OPTIONAL,
realm [9] Realm -- service realm --,
sname [10] PrincipalName -- service name --,
e-text [11] KerberosString OPTIONAL,
e-data [12] OCTET STRING OPTIONAL
}
METHOD-DATA ::= SEQUENCE OF PA-DATA
TYPED-DATA ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
data-type [0] Int32,
data-value [1] OCTET STRING OPTIONAL
}
This definition reflects the Network Working Group RFC 4120
specification available at
http://www.ietf.org/rfc/rfc4120.txt.
Summary
| Public Constructors |
|
|
KRBError(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, Realm new_crealm, PrincipalName new_cname, Realm new_realm, PrincipalName new_sname, String new_eText, byte[] new_eData, Config kerberosConfig)
|
|
|
KRBError(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, Realm new_crealm, PrincipalName new_cname, Realm new_realm, PrincipalName new_sname, String new_eText, byte[] new_eData, Checksum new_eCksum, Config kerberosConfig)
|
|
|
KRBError(byte[] data, Config kerberosConfig)
|
|
|
KRBError(DerValue encoding, Config kerberosConfig)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Constants
static
final
long
serialVersionUID
Constant Value:
3643809337475284503
(0x3291694965773e17)
Fields
private
static
boolean
DEBUG
Public Constructors
public
KRBError
(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, Realm new_crealm, PrincipalName new_cname, Realm new_realm, PrincipalName new_sname, String new_eText, byte[] new_eData, Config kerberosConfig)
Parameters
| new_apOptions
| |
| new_cTime
| |
| new_cuSec
| |
| new_sTime
| |
| new_suSec
| |
| new_errorCode
| |
| new_crealm
| |
| new_cname
| |
| new_realm
| |
| new_sname
| |
| new_eText
| |
| new_eData
| |
| kerberosConfig
| |
public
KRBError
(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, Realm new_crealm, PrincipalName new_cname, Realm new_realm, PrincipalName new_sname, String new_eText, byte[] new_eData, Checksum new_eCksum, Config kerberosConfig)
Parameters
| new_apOptions
| |
| new_cTime
| |
| new_cuSec
| |
| new_sTime
| |
| new_suSec
| |
| new_errorCode
| |
| new_crealm
| |
| new_cname
| |
| new_realm
| |
| new_sname
| |
| new_eText
| |
| new_eData
| |
| new_eCksum
| |
| kerberosConfig
| |
public
KRBError
(byte[] data, Config kerberosConfig)
public
KRBError
(DerValue encoding, Config kerberosConfig)
Public Methods
public
byte[]
asn1Encode
()
Encodes an KRBError object.
Returns
- the byte array of encoded KRBError object.
Throws
| Asn1Exception
| if an error occurs while decoding an ASN1 encoded data. |
| IOException
| if an I/O error occurs while reading encoded data.
|
public
boolean
equals
(Object obj)
public
final
Integer
getClientMicroSeconds
()
public
final
int
getEType
()
public
final
int
getErrorCode
()
public
final
String
getErrorString
()
public
final
byte[]
getParams
()
public
final
byte[]
getSalt
()
public
final
Integer
getServerMicroSeconds
()