if(!_neighborsCertificates.containsKey(lKey)||(_neighborsCertificates.get(lKey)==null)){//FIXME as long as the cert chain is not complete, it should not be seen as error -> raise CR
if(p_enforceSecurityCheck){
// Drop it
TERFactory.getInstance().logError("SecurityHelper.checkHeaderfields: Drop packet - Unknown HahedId8");
//TERFactory.getInstance().logError("SecurityHelper.checkHeaderfields: Drop packet - Unknown HahedId8");
if(subjectAttributes.read()!=0x21){// Subject Attribute: its aid ssp list (33)
TERFactory.getInstance().logError("SecurityHelper.decodeCertificate: Its aid ssp list expected - "+ByteHelper.byteArrayToString(cert.toByteArray()));
//TERFactory.getInstance().logError("SecurityHelper.decodeCertificate: Its aid ssp list expected - " + ByteHelper.byteArrayToString(cert.toByteArray()));
returnnull;
}
length=tls2size(subjectAttributes);
TERFactory.getInstance().logDebug("SecurityHelper.decodeCertificate: Its aid ssp length="+length);
//TERFactory.getInstance().logDebug("SecurityHelper.decodeCertificate: Its aid ssp length=" + length);