본문 바로가기

ASN.16

[ASN.1] 메시지 디코딩오류 objsys에서 구입한 프로그램을 통해 생성된 라이브러리는 asn.1 파일을 이용해서 메시지를 인,디코딩 할 수 있게 해준다. 메시지 구조가 동일해도 메시지 순서가 다르면 디코딩 오류가 발생한다. 송신자의 ASN.1 내용은 ABC{ A octectString , B TLVObject , C octectString } 라는 순서로 있을때 수신자가 사용하는 파일 중 ASN.1 에 기입된 내용의 순서가 다르면 디코딩 오류가 발생하거나, 수신자가 해독한 내용이 송신자와 의도한 내용과 달라질 수 있다. 수신자의 ASN.1 내용이 송신자와 다른게 아래처럼 작성 되있는 경우. ABC{ A octectString , C octectString , B structObject } ( 오류 발생 O, 디코딩 오류 발생) A.. 2022. 9. 21.
ASN 패킷 BER 디코딩 뷰어 개편2 https://pendine.tistory.com/36?category=967064 ASN 패킷 BER 디코딩 뷰어 개편 https://pendine.tistory.com/17 위글을 보완하기 위해 작성함 https://pendine.tistory.com/manage/newpost/17?type=post&returnURL=https%3A%2F%2Fpendine.tistory.com%2Fmanage%2Fposts%2F%3Fcategory%3D-3%26p.. pendine.tistory.com 이글에서 작성한 미비한 부분을 추가했음. 수정사항 1. longform 인지 아닌지 구분을 해줬어야 했는데 길이byte를 계산해서 나온 값으로 구분해서 1바이트 이내에서 처리 가능하지만 0x80보다 큰 것들을 처리할때.. 2021. 12. 16.
ASN 패킷 BER 디코딩 뷰어 개편 https://pendine.tistory.com/43?category=967064 윗글도 봐주세여 ↑ ASN 패킷 BER 디코딩 뷰어 개편2 https://pendine.tistory.com/36?category=967064 ASN 패킷 BER 디코딩 뷰어 개편 https://pendine.tistory.com/17 위글을 보완하기 위해 작성함 https://pendine.tistory.com/manage/newpost/17?type=post&return.. pendine.tistory.com ----------------------------------------------- https://pendine.tistory.com/17 위글을 보완하기 위해 작성함 https://pendine.tistory.. 2021. 11. 2.
ASN.1 정리 ㄱㄱ | E | Send(**.**.***.***) : [305E800101815530538000810101820100A300A447A245800C544553545F434C49454E5400810C544553545F534552564552008209746573745F757365728309746573745F70617373A4040602510185012886010A8701018802100082028E80] | ASNPacketCodec | D | [(36 | 0-36)30 22 80 01 01 81 19 30 17 80 00 81 01 00 82 01 01 A3 00 A4 0B A9 09 80 01 01 A1 04 80 02 51 01 82 02 A3 3E ] | ASNPacketCodec | received Pa.. 2021. 9. 30.