sun.security.mule.krb5.internal
Class EncKDCRepPart
java.lang.Object
sun.security.mule.krb5.internal.EncKDCRepPart
- Direct Known Subclasses:
- EncASRepPart, EncTGSRepPart
public class EncKDCRepPart
- extends Object
Implements the ASN.1 EncKDCRepPart type.
EncKDCRepPart ::= SEQUENCE {
key [0] EncryptionKey,
last-req [1] LastReq,
nonce [2] UInt32,
key-expiration [3] KerberosTime OPTIONAL,
flags [4] TicketFlags,
authtime [5] KerberosTime,
starttime [6] KerberosTime OPTIONAL,
endtime [7] KerberosTime,
renew-till [8] KerberosTime OPTIONAL,
srealm [9] Realm,
sname [10] PrincipalName,
caddr [11] HostAddresses OPTIONAL
}
This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.
|
Constructor Summary |
EncKDCRepPart(byte[] data,
int rep_type,
Config kerberosConfig)
|
EncKDCRepPart(Config kerberosConfig)
|
EncKDCRepPart(sun.security.util.DerValue encoding,
int rep_type,
Config kerberosConfig)
|
EncKDCRepPart(EncryptionKey new_key,
LastReq new_lastReq,
int new_nonce,
KerberosTime new_keyExpiration,
TicketFlags new_flags,
KerberosTime new_authtime,
KerberosTime new_starttime,
KerberosTime new_endtime,
KerberosTime new_renewTill,
Realm new_srealm,
PrincipalName new_sname,
HostAddresses new_caddr,
int new_msgType,
Config kerberosConfig)
|
|
Method Summary |
byte[] |
asn1Encode(int rep_type)
Encodes an EncKDCRepPart object. |
protected void |
init(sun.security.util.DerValue encoding,
int rep_type)
Initializes an EncKDCRepPart object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
public EncryptionKey key
lastReq
public LastReq lastReq
nonce
public int nonce
keyExpiration
public KerberosTime keyExpiration
flags
public TicketFlags flags
authtime
public KerberosTime authtime
starttime
public KerberosTime starttime
endtime
public KerberosTime endtime
renewTill
public KerberosTime renewTill
srealm
public Realm srealm
sname
public PrincipalName sname
caddr
public HostAddresses caddr
msgType
public int msgType
EncKDCRepPart
public EncKDCRepPart(EncryptionKey new_key,
LastReq new_lastReq,
int new_nonce,
KerberosTime new_keyExpiration,
TicketFlags new_flags,
KerberosTime new_authtime,
KerberosTime new_starttime,
KerberosTime new_endtime,
KerberosTime new_renewTill,
Realm new_srealm,
PrincipalName new_sname,
HostAddresses new_caddr,
int new_msgType,
Config kerberosConfig)
EncKDCRepPart
public EncKDCRepPart(Config kerberosConfig)
EncKDCRepPart
public EncKDCRepPart(byte[] data,
int rep_type,
Config kerberosConfig)
throws Asn1Exception,
IOException,
RealmException
- Throws:
Asn1Exception
IOException
RealmException
EncKDCRepPart
public EncKDCRepPart(sun.security.util.DerValue encoding,
int rep_type,
Config kerberosConfig)
throws Asn1Exception,
IOException,
RealmException
- Throws:
Asn1Exception
IOException
RealmException
init
protected void init(sun.security.util.DerValue encoding,
int rep_type)
throws Asn1Exception,
IOException,
RealmException
- Initializes an EncKDCRepPart object.
- Parameters:
encoding - a single DER-encoded value.rep_type - type of the encrypted reply message.
- 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 decoding an Realm object.
asn1Encode
public byte[] asn1Encode(int rep_type)
throws Asn1Exception,
IOException
- Encodes an EncKDCRepPart object.
- Parameters:
rep_type - type of encrypted reply message.
- Returns:
- byte array of encoded EncKDCRepPart object.
- Throws:
Asn1Exception - if an error occurs while decoding an ASN1 encoded data.
IOException - if an I/O error occurs while reading encoded data.
Copyright © 2013. All Rights Reserved.