public class DocsisCompiler extends TlvBuilder
END_OF_BYTE_ARRAY_INDEX, MAX_TLV_LENGTH, TLV_LENGTH_POS_OFFSET, TLV_ONE_BYTE_LENGTH, TLV_TYPE_LENGTH_OVERHEAD, TLV_TYPE_OVERHEADbTlvBuilder, miiTypeBytelength| Constructor and Description |
|---|
DocsisCompiler(java.lang.Integer iDocsisVersion) |
DocsisCompiler(java.lang.String sSharedSecretKey,
java.lang.Integer iDocsisVersion) |
DocsisCompiler(java.lang.String sSharedSecretKey,
java.lang.Integer iDocsisVersion,
int iExtCmtsHashTechnique,
HexString hsTopLevelTlvBitMAsk) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkSpecification(java.lang.Boolean boolReportStdOut) |
void |
commit()
When commit() is called this process will:
+ calculate the CM/CMTS MIC
+ Add EOF Marker
+ Add Null Pad so that the byte array is divisible by 4
|
byte[] |
getCmMIC(byte[] bTlvArray) |
int |
getDocsisVersion() |
void |
setSharedSecretKey(java.lang.String sSharedSecretKey) |
byte[] |
toByteArray()
Method toByteArray.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String sSeperation) |
add, add, add, add, add, add, add, add, add, add, add, clear, clone, cloneTlvBuffer, coupleMultipleTopLevelTlvValues, encapsulateTlv, encapsulateTlv, encapsulateTlv, fetchTlv, fetchTlv, findTLVIndex, findTLVIndex, findTLVIndex, getHexString, getMapTypeToByteLength, getTlvHexByType, getTlvHexByType, getTlvLength, getTlvValue, getTlvValue, getTlvValue, getTopLevelTlvList, getTopLevelTlvList, isEmpty, isTLVConstruct, isTLVConstruct, length, nextTLVIndex, nextTLVIndex, reorderTLV, sortByTopLevelTlv, sortByTopLevelTlv, stripTlv, stripTlv, stripZeroByteTLV, tlvDump, topLevelTlvToHexStringList, toStringArray, toStringSeperationpublic DocsisCompiler(java.lang.Integer iDocsisVersion)
iDocsisVersion - public DocsisCompiler(java.lang.String sSharedSecretKey,
java.lang.Integer iDocsisVersion)
sSharedSecretKey - iDocsisVersion - public DocsisCompiler(java.lang.String sSharedSecretKey,
java.lang.Integer iDocsisVersion,
int iExtCmtsHashTechnique,
HexString hsTopLevelTlvBitMAsk)
sSharedSecretKey - StringiDocsisVersion - IntegeriExtCmtsHashTechnique - inthsTopLevelTlvBitMAsk - HexStringpublic java.lang.String toString()
toString in class TlvBuilderpublic java.lang.String toString(java.lang.String sSeperation)
sSeperation - public byte[] toByteArray()
TlvBuildtoByteArray in interface TlvBuildtoByteArray in class TlvBuilderpublic int getDocsisVersion()
public void commit()
public boolean checkSpecification(java.lang.Boolean boolReportStdOut)
boolReportStdOut - public void setSharedSecretKey(java.lang.String sSharedSecretKey)
sSharedSecretKey - public byte[] getCmMIC(byte[] bTlvArray)
bTlvArray -