Method | Description | |
---|---|---|
AddEntropy ( BigInteger entropy ) : void | ||
EdDsa ( EntropyProviderTypes entropyType = EntropyProviderTypes.Random ) : System | ||
GenerateDomainParameters ( EdDomainParametersGenerateRequest generateRequest ) : EdDomainParametersGenerateResult | ||
GenerateKeyPair ( EdDomainParameters domainParameters ) : EdKeyPairGenerateResult | ||
HashPrivate ( EdDomainParameters domainParameters, BitString d ) : System |
Hashs private key and formats both the prefix (used in signing) and A (used in generating the public key)
|
|
Sign ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, BitString context, bool preHash = false ) : EdSignatureResult | ||
Sign ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, bool preHash = false ) : EdSignatureResult | ||
ValidateDomainParameters ( EdDomainParametersValidateRequest domainParameters ) : EdDomainParametersValidateResult | ||
ValidateKeyPair ( EdDomainParameters domainParameters, EdKeyPair keyPair ) : EdKeyPairValidateResult | ||
Verify ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, EdSignature signature, BitString context, bool preHash = false ) : EdVerificationResult | ||
Verify ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, EdSignature signature, bool preHash = false ) : EdVerificationResult |
Method | Description | |
---|---|---|
Dom2 ( BigInteger f, BitString c ) : BitString | ||
Dom4 ( BigInteger f, BitString c ) : BitString | ||
GetSecretViaExtraRandomBits ( BigInteger N ) : BigInteger | ||
GetSecretViaTestingCandidates ( BigInteger N ) : BigInteger |
public AddEntropy ( BigInteger entropy ) : void | ||
entropy | BigInteger | |
return | void |
public EdDsa ( EntropyProviderTypes entropyType = EntropyProviderTypes.Random ) : System | ||
entropyType | EntropyProviderTypes | |
return | System |
public GenerateDomainParameters ( EdDomainParametersGenerateRequest generateRequest ) : EdDomainParametersGenerateResult | ||
generateRequest | EdDomainParametersGenerateRequest | |
return | EdDomainParametersGenerateResult |
public GenerateKeyPair ( EdDomainParameters domainParameters ) : EdKeyPairGenerateResult | ||
domainParameters | EdDomainParameters | |
return | EdKeyPairGenerateResult |
public HashPrivate ( EdDomainParameters domainParameters, BitString d ) : System | ||
domainParameters | EdDomainParameters | |
d | BitString | |
return | System |
public Sign ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, BitString context, bool preHash = false ) : EdSignatureResult | ||
domainParameters | EdDomainParameters | |
keyPair | EdKeyPair | |
message | BitString | |
context | BitString | |
preHash | bool | |
return | EdSignatureResult |
public Sign ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, bool preHash = false ) : EdSignatureResult | ||
domainParameters | EdDomainParameters | |
keyPair | EdKeyPair | |
message | BitString | |
preHash | bool | |
return | EdSignatureResult |
public ValidateDomainParameters ( EdDomainParametersValidateRequest domainParameters ) : EdDomainParametersValidateResult | ||
domainParameters | EdDomainParametersValidateRequest | |
return | EdDomainParametersValidateResult |
public ValidateKeyPair ( EdDomainParameters domainParameters, EdKeyPair keyPair ) : EdKeyPairValidateResult | ||
domainParameters | EdDomainParameters | |
keyPair | EdKeyPair | |
return | EdKeyPairValidateResult |
public Verify ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, EdSignature signature, BitString context, bool preHash = false ) : EdVerificationResult | ||
domainParameters | EdDomainParameters | |
keyPair | EdKeyPair | |
message | BitString | |
signature | EdSignature | |
context | BitString | |
preHash | bool | |
return | EdVerificationResult |
public Verify ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, EdSignature signature, bool preHash = false ) : EdVerificationResult | ||
domainParameters | EdDomainParameters | |
keyPair | EdKeyPair | |
message | BitString | |
signature | EdSignature | |
preHash | bool | |
return | EdVerificationResult |