public class KerberosApRep extends Object
| Constructor and Description |
|---|
KerberosApRep()
Default constructor
|
KerberosApRep(byte[] blob)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encodeApRep()
ASN.1 encode the Kerberos AP-REP
|
byte[] |
getEncryptedPart()
Return the encrypted data block
|
int |
getEncryptionType()
Return the encryption type
|
int |
getKeyVersion()
Return the encrypted part key version number, or -1 if not set
|
void |
parseResponseToken(byte[] respToken)
Parse a response token to get the AP-REP
|
void |
setEncryptedPart(int encType,
byte[] encData,
int encVno)
Set the encrypted AP-REP data
|
String |
toString()
Return the AP-REQ as a string
|
public KerberosApRep()
public KerberosApRep(byte[] blob)
throws IOException
byte[] - blobIOExceptionpublic final int getEncryptionType()
public final byte[] getEncryptedPart()
public final int getKeyVersion()
public final void setEncryptedPart(int encType,
byte[] encData,
int encVno)
int - encTypebyte[] - encBlobint - encVnopublic final void parseResponseToken(byte[] respToken)
throws IOException
byte[] - respTokenIOExceptionpublic final byte[] encodeApRep()
throws IOException
IOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.