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.
Modifier and Type | Field and Description |
---|---|
private PrincipalName | |
private Realm | |
private KerberosTime | |
private Integer | |
private Checksum | |
private byte[] | |
private int | |
private String | |
private int | |
private PAData[] | |
private int | |
pack-priv static final long | |
private PrincipalName | |
private KerberosTime | |
private Integer |
Access | Constructor and Description |
---|---|
public | KRBError(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, PrincipalName new_cname, PrincipalName new_sname, String new_eText, byte[] new_eData)
|
public | KRBError(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, PrincipalName new_cname, PrincipalName new_sname, String new_eText, byte[] new_eData, Checksum new_eCksum)
|
public | |
public |
Modifier and Type | Method and Description |
---|---|
public byte[] | |
public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
public final Integer | |
public final Realm | |
public final KerberosTime | |
public final int | |
public final String | |
public final PAData[] | |
public final Integer | |
public final KerberosTime | |
public int | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void |
cname | back to summary |
---|---|
private PrincipalName cname |
crealm | back to summary |
---|---|
private Realm crealm |
cTime | back to summary |
---|---|
private KerberosTime cTime |
cuSec | back to summary |
---|---|
private Integer cuSec |
eCksum | back to summary |
---|---|
private Checksum eCksum |
eData | back to summary |
---|---|
private byte[] eData |
errorCode | back to summary |
---|---|
private int errorCode |
eText | back to summary |
---|---|
private String eText |
msgType | back to summary |
---|---|
private int msgType |
pa | back to summary |
---|---|
private PAData[] pa |
pvno | back to summary |
---|---|
private int pvno |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID |
sname | back to summary |
---|---|
private PrincipalName sname |
sTime | back to summary |
---|---|
private KerberosTime sTime |
suSec | back to summary |
---|---|
private Integer suSec |
KRBError | back to summary |
---|---|
public KRBError(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, PrincipalName new_cname, PrincipalName new_sname, String new_eText, byte[] new_eData) throws IOException, Asn1Exception |
KRBError | back to summary |
---|---|
public KRBError(APOptions new_apOptions, KerberosTime new_cTime, Integer new_cuSec, KerberosTime new_sTime, Integer new_suSec, int new_errorCode, PrincipalName new_cname, PrincipalName new_sname, String new_eText, byte[] new_eData, Checksum new_eCksum) throws IOException, Asn1Exception |
KRBError | back to summary |
---|---|
public KRBError(byte[] data) throws Asn1Exception, RealmException, KrbApErrException, IOException |
KRBError | back to summary |
---|---|
public KRBError(DerValue encoding) throws Asn1Exception, RealmException, KrbApErrException, IOException |
asn1Encode | back to summary |
---|---|
public byte[] asn1Encode() throws Asn1Exception, IOException Encodes an KRBError object.
|
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. |
getClientMicroSeconds | back to summary |
---|---|
public final Integer getClientMicroSeconds() |
getClientRealm | back to summary |
---|---|
public final Realm getClientRealm() |
getClientTime | back to summary |
---|---|
public final KerberosTime getClientTime() |
getErrorCode | back to summary |
---|---|
public final int getErrorCode() |
getErrorString | back to summary |
---|---|
public final String getErrorString() |
getPA | back to summary |
---|---|
public final PAData[] getPA() |
getServerMicroSeconds | back to summary |
---|---|
public final Integer getServerMicroSeconds() |
getServerTime | back to summary |
---|---|
public final KerberosTime getServerTime() |
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
|
init | back to summary |
---|---|
private void init(DerValue encoding) throws Asn1Exception, RealmException, KrbApErrException, IOException Initializes a KRBError object.
|
parseEData | back to summary |
---|---|
private void parseEData(byte[] data) throws IOException |
parsePAData | back to summary |
---|---|
private void parsePAData(byte[] data) throws IOException, Asn1Exception Try parsing the data as a sequence of PA-DATA.
|
readObject | back to summary |
---|---|
private void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException |
showDebug | back to summary |
---|---|
private void showDebug() For debug use only |
writeObject | back to summary |
---|---|
private void writeObject(ObjectOutputStream os) throws IOException |