public class EncryptedData extends KrbSequenceType
EncryptedData ::= SEQUENCE {
etype [0] Int32 -- EncryptionType --,
kvno [1] UInt32 OPTIONAL,
cipher [2] OCTET STRING -- ciphertext
}
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EncryptedData.EncryptedDataField
The possible fields
|
| Constructor and Description |
|---|
EncryptedData()
Creates an instance of EncryptedData
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getCipher() |
EncryptionType |
getEType() |
int |
getKvno() |
int |
hashCode() |
void |
setCipher(byte[] cipher)
Sets the Cipher in this instance
|
void |
setEType(EncryptionType eType)
Sets the
EncryptionType value |
void |
setKvno(int kvno)
Sets the instance's KVNO
|
getFieldAsInt, getFieldAsTime, setField, setFieldAsString, setFieldAsTimedecodeBody, dumpWith, encodeBody, encodingBodyLength, getFieldAs, getFieldAsAny, getFieldAsInteger, getFieldAsObjId, getFieldAsOctets, getFieldAsString, setAnyFieldValueType, setFieldAs, setFieldAsAny, setFieldAsInt, setFieldAsInt, setFieldAsObjId, setFieldAsOctetsgetValue, setValue, toStringdecode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, isDefinitiveLength, isDER, isImplicit, isPrimitive, resetBodyLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitiveisAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNopublic EncryptionType getEType()
EncryptionType of this instancepublic void setEType(EncryptionType eType)
EncryptionType valueeType - the EncryptionType value to storepublic int getKvno()
public void setKvno(int kvno)
kvno - The KVNO for this instancepublic byte[] getCipher()
public void setCipher(byte[] cipher)
cipher - The Cipher to storepublic boolean equals(Object o)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.