APIdia Launch Partner
Top Description Constructors Methods
sun.security.krb5.internal.ccache

public Class CCacheInputStream

extends KrbDataInputStream
implements FileCCacheConstants
Class Inheritance
All Implemented Interfaces
sun.security.krb5.internal.ccache.FileCCacheConstants
Imports
java.io.IOException, .InputStream, java.util.ArrayList, .List, .StringTokenizer, sun.security.krb5.*, sun.security.krb5.internal.*, sun.security.krb5.internal.util.KrbDataInputStream, sun.security.util.IOUtils

This class extends KrbDataInputStream. It is used for parsing FCC-format data from file to memory.
Author
Yanni Zhang

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
pack-priv HostAddress[]
pack-priv AuthorizationDataEntry[]
pack-priv Object

Returns:

the next cred or config entry, null if data unparseable. When data is unparseable, this method makes sure the correct number of bytes are consumed, so it's safe to start reading the next element.
readCred
(int version)

Reads the next cred or config entry in stream.

pack-priv byte[]
pack-priv boolean[]
pack-priv EncryptionKey
readKey(int version)

public PrincipalName
readPrincipal(int version)

pack-priv boolean
public Tag
pack-priv long[]
Inherited from sun.security.krb5.internal.util.KrbDataInputStream:
readreadLength4readVersionsetNativeByteOrder

Constructor Detail

CCacheInputStreamback to summary
public CCacheInputStream(InputStream is)

Method Detail

isRealmback to summary
pack-priv boolean isRealm(String str)
readAddrback to summary
pack-priv HostAddress[] readAddr() throws IOException, KrbApErrException
readAuthback to summary
pack-priv AuthorizationDataEntry[] readAuth() throws IOException
readCredback to summary
pack-priv Object readCred(int version) throws IOException, RealmException, KrbApErrException, Asn1Exception

Reads the next cred or config entry in stream.

Returns:Object

the next cred or config entry, null if data unparseable. When data is unparseable, this method makes sure the correct number of bytes are consumed, so it's safe to start reading the next element.

readDataback to summary
pack-priv byte[] readData() throws IOException
readFlagsback to summary
pack-priv boolean[] readFlags() throws IOException
readKeyback to summary
pack-priv EncryptionKey readKey(int version) throws IOException
readPrincipalback to summary
public PrincipalName readPrincipal(int version) throws IOException, RealmException
readskeyback to summary
pack-priv boolean readskey() throws IOException
readTagback to summary
public Tag readTag() throws IOException
readTimesback to summary
pack-priv long[] readTimes() throws IOException