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 transient PrincipalName | |
| private transient Realm | |
| private transient KerberosTime | |
| private transient Integer | |
| private transient Checksum | |
| private transient byte[] | |
| private transient int | |
| private transient String | |
| private transient int | |
| private transient PAData[] | |
| private transient int | |
| private static final long | |
| private transient PrincipalName | |
| private transient KerberosTime | |
| private transient 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 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 | readObject(ObjectInputStream
the is)ObjectInputStream from which data is readRestores the state of this object from the stream. |
| private void | |
| private void |
| cname | back to summary |
|---|---|
| private transient PrincipalName cname | |
| crealm | back to summary |
|---|---|
| private transient Realm crealm | |
| cTime | back to summary |
|---|---|
| private transient KerberosTime cTime | |
| cuSec | back to summary |
|---|---|
| private transient Integer cuSec | |
| eCksum | back to summary |
|---|---|
| private transient Checksum eCksum | |
| eData | back to summary |
|---|---|
| private transient byte[] eData | |
| errorCode | back to summary |
|---|---|
| private transient int errorCode | |
| eText | back to summary |
|---|---|
| private transient String eText | |
| msgType | back to summary |
|---|---|
| private transient int msgType | |
| pa | back to summary |
|---|---|
| private transient PAData[] pa | |
| pvno | back to summary |
|---|---|
| private transient int pvno | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID
| |
| sname | back to summary |
|---|---|
| private transient PrincipalName sname | |
| sTime | back to summary |
|---|---|
| private transient KerberosTime sTime | |
| suSec | back to summary |
|---|---|
| private transient 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 Restores the state of this object from the stream.
| |
| showDebug | back to summary |
|---|---|
| private void showDebug() For debug use only | |
| writeObject | back to summary |
|---|---|
private void writeObject(ObjectOutputStream os) throws IOException
| |