Package nts.NTSKERecords
Class NTSKERecordFactory
java.lang.Object
nts.NTSKERecords.NTSKERecordFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NTSKERecordstatic NTSKERecordstatic NTSKERecordgetErrorRecord(Constants.ErrorCodes errorCode) static NTSKERecordstatic NTSKERecordgetWarningRecord(int warningCode) static NTSKERecordparseRecord(byte[] raw_record) Factory method to create an NTSKEBaseRecord from a raw byte array.
-
Constructor Details
-
NTSKERecordFactory
public NTSKERecordFactory()
-
-
Method Details
-
parseRecord
Factory method to create an NTSKEBaseRecord from a raw byte array.- Parameters:
raw_record- the raw byte array containing the record data.- Returns:
- an instance of NTSKEBaseRecord or its subclass based on the record type.
-
getEndOfMessageRecord
-
getNTSNextProtocolNegotiationRecord
-
getErrorRecord
-
getWarningRecord
-
getAEADAlgorithmNegotiationRecord
-