sun.security.mule.krb5.internal
Class EncAPRepPart
java.lang.Object
sun.security.mule.krb5.internal.EncAPRepPart
public class EncAPRepPart
- extends Object
Implements the ASN.1 EncAPRepPart type.
EncAPRepPart ::= [APPLICATION 27] SEQUENCE {
ctime [0] KerberosTime,
cusec [1] Microseconds,
subkey [2] EncryptionKey OPTIONAL,
seq-number [3] UInt32 OPTIONAL
}
This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ctime
public KerberosTime ctime
cusec
public int cusec
EncAPRepPart
public EncAPRepPart(KerberosTime new_ctime,
int new_cusec,
EncryptionKey new_subKey,
Integer new_seqNumber,
Config kerberosConfig)
EncAPRepPart
public EncAPRepPart(byte[] data,
Config kerberosConfig)
throws Asn1Exception,
IOException
- Throws:
Asn1Exception
IOException
EncAPRepPart
public EncAPRepPart(sun.security.util.DerValue encoding,
Config kerberosConfig)
throws Asn1Exception,
IOException
- Throws:
Asn1Exception
IOException
asn1Encode
public byte[] asn1Encode()
throws Asn1Exception,
IOException
- Encodes an EncAPRepPart object.
- Returns:
- byte array of encoded EncAPRepPart object.
- Throws:
Asn1Exception - if an error occurs while decoding an ASN1 encoded data.
IOException - if an I/O error occurs while reading encoded data.
getSubKey
public final EncryptionKey getSubKey()
getSeqNumber
public final Integer getSeqNumber()
Copyright © 2013. All Rights Reserved.