C# 클래스 GSF.Security.Authentication.SrpUserCredential

An individual server side user credential
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Iterations int
Salt byte[]
ServerEncryptionkey byte[]
ServerHMACKey byte[]
ServerKeyName System.Guid
SrpStrength SrpStrength
UserName string
UsernameBytes byte[]
Verification byte[]
VerificationInteger Org.BouncyCastle.Math.BigInteger

공개 메소드들

메소드 설명
Load ( ) : void
Save ( ) : void
SrpUserCredential ( string username, byte verification, byte salt, int iterations, SrpStrength srpStrength ) : System

Creates user credentials

SrpUserCredential ( string username, string password, SrpStrength strength = SrpStrength.Bits1024, int saltSize = 32, int iterations = 4000 ) : System

Creates a user credential from the provided data.

메소드 상세

Load() 공개 메소드

public Load ( ) : void
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

SrpUserCredential() 공개 메소드

Creates user credentials
public SrpUserCredential ( string username, byte verification, byte salt, int iterations, SrpStrength srpStrength ) : System
username string
verification byte
salt byte
iterations int
srpStrength SrpStrength
리턴 System

SrpUserCredential() 공개 메소드

Creates a user credential from the provided data.
public SrpUserCredential ( string username, string password, SrpStrength strength = SrpStrength.Bits1024, int saltSize = 32, int iterations = 4000 ) : System
username string
password string
strength SrpStrength
saltSize int
iterations int
리턴 System

프로퍼티 상세

Iterations 공개적으로 프로퍼티

The number of SHA512 iterations using PBKDF2
public int Iterations
리턴 int

Salt 공개적으로 프로퍼티

The salt used to compute the password bytes (x)
public byte[] Salt
리턴 byte[]

ServerEncryptionkey 공개적으로 프로퍼티

Session Resume Encryption Key
public byte[] ServerEncryptionkey
리턴 byte[]

ServerHMACKey 공개적으로 프로퍼티

Session Resume HMAC key
public byte[] ServerHMACKey
리턴 byte[]

ServerKeyName 공개적으로 프로퍼티

Session Resume Key Name
public Guid,System ServerKeyName
리턴 System.Guid

SrpStrength 공개적으로 프로퍼티

The bit strength of the SRP algorithm.
public SrpStrength SrpStrength
리턴 SrpStrength

UserName 공개적으로 프로퍼티

The normalized name of the user
public string UserName
리턴 string

UsernameBytes 공개적으로 프로퍼티

public byte[] UsernameBytes
리턴 byte[]

Verification 공개적으로 프로퍼티

The Srp server verification bytes. (Computed as g^x % N)
public byte[] Verification
리턴 byte[]

VerificationInteger 공개적으로 프로퍼티

Verification as a BigInteger.
public BigInteger,Org.BouncyCastle.Math VerificationInteger
리턴 Org.BouncyCastle.Math.BigInteger