Discuss this help topic in SecureBlackbox Forum

TSBSRPCredentialPrimeLen

Declared in     


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


Defines possible values of length (in bits) of the prime numbers used in SRP protocol.

Declaration

[C#]
    public enum TSBSRPCredentialPrimeLen { srppl1024 = 0, srpp1536 = 1, srpp2048 = 2, srpp3072 = 3, srpp4096 = 4, srpp6144 = 5, srpp8192 = 6 };

[VB.NET]
    Enum TSBSRPCredentialPrimeLen
        srppl1024 = 0
        srpp1536 = 1
        srpp2048 = 2
        srpp3072 = 3
        srpp4096 = 4
        srpp6144 = 5
        srpp8192 = 6
    End Enum

[Pascal]
    TSBSRPCredentialPrimeLen = (srppl1024, srpp1536, srpp2048, srpp3072, srpp4096, srpp6144, srpp8192);

[C++]
    typedef uint8_t TSBSRPCredentialPrimeLenRaw;
    typedef enum { srppl1024 = 0, srpp1536 = 1, srpp2048 = 2, srpp3072 = 3, srpp4096 = 4, srpp6144 = 5, srpp8192 = 6 } TSBSRPCredentialPrimeLen;

[PHP]
    class TSBSRPCredentialPrimeLen extends TSBBaseEnum {
        const srppl1024 = 0;
        const srpp1536 = 1;
        const srpp2048 = 2;
        const srpp3072 = 3;
        const srpp4096 = 4;
        const srpp6144 = 5;
        const srpp8192 = 6;
    }

[Java]
    public enum TSBSRPCredentialPrimeLen { srppl1024, srpp1536, srpp2048, srpp3072, srpp4096, srpp6144, srpp8192 }

Values:

Declared in

.NET:
  • Namespace: SBSRP
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBSRP
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sbsrp.h

Discuss this help topic in SecureBlackbox Forum