在測驗時我發現錯誤項回傳的數字與規范不一致,但開發說failureinfo是bit string型別,數字表示的是第幾位。我表示不理解,懇請大牛解答。個人認為是像回應碼的意思。
規范:
PKIFailureInfo ::= BIT STRING {
badAlg (0),
-- unrecognized or unsupported Algorithm Identifier
badRequest (2),
-- transaction not permitted or supported
badDataFormat (5),
-- the data submitted has the wrong format
timeNotAvailable (14),
-- the TSA's time source is not available
unacceptedPolicy (15),
uj5u.com熱心網友回復:
學習一下asn1中的bit string的定義就能明白了,開發說的是對的轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/62327.html
標籤:其他開發語言
上一篇:MATLAB
