| java.lang.Object |
| ↳ |
sun.security.mule.krb5.internal.KrbCredInfo |
Class Overview
Implements the ASN.1 KrbCredInfo type.
KrbCredInfo ::= SEQUENCE {
key [0] EncryptionKey,
prealm [1] Realm OPTIONAL,
pname [2] PrincipalName OPTIONAL,
flags [3] TicketFlags OPTIONAL,
authtime [4] KerberosTime OPTIONAL,
starttime [5] KerberosTime OPTIONAL,
endtime [6] KerberosTime OPTIONAL,
renew-till [7] KerberosTime OPTIONAL,
srealm [8] Realm OPTIONAL,
sname [9] PrincipalName OPTIONAL,
caddr [10] HostAddresses OPTIONAL
}
This definition reflects the Network Working Group RFC 4120
specification available at
http://www.ietf.org/rfc/rfc4120.txt.
Summary
| Public Constructors |
|
|
KrbCredInfo(EncryptionKey new_key, Realm new_prealm, PrincipalName new_pname, TicketFlags new_flags, KerberosTime new_authtime, KerberosTime new_starttime, KerberosTime new_endtime, KerberosTime new_renewTill, Realm new_srealm, PrincipalName new_sname, HostAddresses new_caddr, Config kerberosConfig)
|
|
|
KrbCredInfo(DerValue encoding)
Constructs a KrbCredInfo object.
|
| Public Methods |
|
byte[]
|
asn1Encode()
Encodes an KrbCredInfo object.
|
|
Object
|
clone()
|
|
[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)
|
|
Fields
Public Constructors
Parameters
| new_key
| |
| new_prealm
| |
| new_pname
| |
| new_flags
| |
| new_authtime
| |
| new_starttime
| |
| new_endtime
| |
| new_renewTill
| |
| new_srealm
| |
| new_sname
| |
| new_caddr
| |
| kerberosConfig
| |
public
KrbCredInfo
(DerValue encoding)
Constructs a KrbCredInfo object.
Parameters
| encoding
| A Der-encoded data. |
Throws
| Asn1Exception
| if an error occurs while decoding an ASN1 encoded data. |
| IOException
| if an I/O error occurs while reading encoded data. |
| RealmException
| if an error occurs while parsing a Realm object.
|
Public Methods
public
byte[]
asn1Encode
()
Encodes an KrbCredInfo object.
Returns
- the byte array of encoded KrbCredInfo object.
Throws
| Asn1Exception
| if an error occurs while decoding an ASN1 encoded data. |
| IOException
| if an I/O error occurs while reading encoded data.
|