sun.security.mule.krb5.internal
Class EncKrbPrivPart
java.lang.Object
sun.security.mule.krb5.internal.EncKrbPrivPart
public class EncKrbPrivPart
- extends Object
Implements the ASN.1 EncKrbPrivPart type.
EncKrbPrivPart ::= [APPLICATION 28] SEQUENCE {
user-data [0] OCTET STRING,
timestamp [1] KerberosTime OPTIONAL,
usec [2] Microseconds OPTIONAL,
seq-number [3] UInt32 OPTIONAL,
s-address [4] HostAddress -- sender's addr --,
r-address [5] HostAddress OPTIONAL -- recip's addr
}
This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.
|
Method Summary |
byte[] |
asn1Encode()
Encodes an EncKrbPrivPart object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userData
public byte[] userData
timestamp
public KerberosTime timestamp
usec
public Integer usec
seqNumber
public Integer seqNumber
sAddress
public HostAddress sAddress
rAddress
public HostAddress rAddress
EncKrbPrivPart
public EncKrbPrivPart(byte[] new_userData,
KerberosTime new_timestamp,
Integer new_usec,
Integer new_seqNumber,
HostAddress new_sAddress,
HostAddress new_rAddress,
Config kerberosConfig)
EncKrbPrivPart
public EncKrbPrivPart(byte[] data,
Config kerberosConfig)
throws Asn1Exception,
IOException
- Throws:
Asn1Exception
IOException
EncKrbPrivPart
public EncKrbPrivPart(sun.security.util.DerValue encoding,
Config kerberosConfig)
throws Asn1Exception,
IOException
- Throws:
Asn1Exception
IOException
asn1Encode
public byte[] asn1Encode()
throws Asn1Exception,
IOException
- Encodes an EncKrbPrivPart object.
- Returns:
- byte array of encoded EncKrbPrivPart 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.