문제

[ 편집 : 여기를보십시오 ]

안녕하세요!

RFC3161을 기반으로 신뢰할 수있는 타임 스탬프에 대한 서비스를 필사적으로 작성하려고합니다. zeitstempel.dfn.de 에서 무료 신뢰할 수있는 타임 스탬프 서비스를 사용하기로 결정했습니다.

내 질문은 유효한 응답을 받기 위해이 서비스에 연락하는 방법입니다.요청 형식과 관련하여 RFC는 다음과 같습니다.

TimeStampReq ::= SEQUENCE  {
   version                      INTEGER  { v1(1) },
   messageImprint               MessageImprint,
     --a hash algorithm OID and the hash value of the data to be

     --time-stamped
   reqPolicy             TSAPolicyId              OPTIONAL,
   nonce                 INTEGER                  OPTIONAL,
   certReq               BOOLEAN                  DEFAULT FALSE,
   extensions            [0] IMPLICIT Extensions  OPTIONAL  }
.

여기서

   MessageImprint ::= SEQUENCE  {
        hashAlgorithm                AlgorithmIdentifier,
        hashedMessage                OCTET STRING  }
.

클라이언트 조금 도움이되었습니다. 그럼에도 불구하고, 나는 아직도 내가 타임 스탬프 서비스에 대한 요청을 구축 해야하는지 알지 못한다.

감사!

도움이 되었습니까?

해결책

I'm glad that you find our software helpful. But you refer to our old service. Please visit www.ntp.org.pl - you'll find there the latest version of timestamping client and a lot of other useful free software related to time topic.

I'm not sure what you want to do. Maybe if you give a few more details, I'd be able to help you better. Anyway, I'll give you some hints, where to find some precious information.

Firs of all, you should look at OpenSSL project: http://www.openssl.org/docs/apps/ts.html# There is an example, how to create TSRequest. The request is stored in file, so you can read it's content. Later, you can send request to the server using this: http://www.openssl.org/docs/apps/tsget.html#

Antoher trick you can do is to install some sniffer (for example Wireshark - www.wireshark.org/ ), start our client from www.ntp.org.pl , send request, then find proper packet in wireshark to see what it contains.

Feel free to ask, if you have some additional questions. Please, give some more information about your service.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top