Discuss this help topic in SecureBlackbox Forum

TElOCSPClient.Nonce

TElOCSPClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Contains nonce in order to prevent replay attacks

Declaration

[C#]
    byte[] Nonce;

[VB.NET]
    Property Nonce As Byte()

[Pascal]
    property Nonce: ByteArray;

[C++]
    void get_Nonce(std::vector<uint8_t> &OutResult);
    void set_Nonce(const std::vector<uint8_t> &Value);

[PHP]
    string get_Nonce()
    void set_Nonce(array of byte|string|NULL $Value)

[Java]
    byte[] getNonce();
    void setNonce(byte[] Value);

Description

    Use this property to prevent reply reply attacks.

    The following paragraph is taken from RFC RFC 2560, part 2.4.1:

    «The nonce cryptographically binds a request and a response to prevent replay attacks. The nonce is included as one of the requestExtensions in requests, while in responses it would be included as one of the responseExtensions. In both the request and the response, the nonce will be identified by the object identifier id-pkix-ocsp-nonce, while the extnValue is the value of the nonce.»

See also:     ReplyNonce    

Discuss this help topic in SecureBlackbox Forum