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
blob
- byte[]IOException
public final int getEncryptionType()
public final byte[] getEncryptedPart()
public final int getKeyVersion()
public final void setEncryptedPart(int encType, byte[] encData, int encVno)
encType
- intencData
- byte[]encVno
- intpublic final void parseResponseToken(byte[] respToken) throws IOException
respToken
- byte[]IOException
public final byte[] encodeApRep() throws IOException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.