메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
Dom2 ( BigInteger f, BitString c ) : BitString | ||
Dom4 ( BigInteger f, BitString c ) : BitString | ||
GetSecretViaExtraRandomBits ( BigInteger N ) : BigInteger | ||
GetSecretViaTestingCandidates ( BigInteger N ) : BigInteger |
public EdDsa ( EntropyProviderTypes entropyType = EntropyProviderTypes.Random ) : System | ||
entropyType | EntropyProviderTypes | |
리턴 | System |
public GenerateDomainParameters ( EdDomainParametersGenerateRequest generateRequest ) : EdDomainParametersGenerateResult | ||
generateRequest | EdDomainParametersGenerateRequest | |
리턴 | EdDomainParametersGenerateResult |
public GenerateKeyPair ( EdDomainParameters domainParameters ) : EdKeyPairGenerateResult | ||
domainParameters | EdDomainParameters | |
리턴 | EdKeyPairGenerateResult |
public HashPrivate ( EdDomainParameters domainParameters, BitString d ) : System | ||
domainParameters | EdDomainParameters | |
d | BitString | |
리턴 | 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 | |
리턴 | EdSignatureResult |
public Sign ( EdDomainParameters domainParameters, EdKeyPair keyPair, BitString message, bool preHash = false ) : EdSignatureResult | ||
domainParameters | EdDomainParameters | |
keyPair | EdKeyPair | |
message | BitString | |
preHash | bool | |
리턴 | EdSignatureResult |
public ValidateDomainParameters ( EdDomainParametersValidateRequest domainParameters ) : EdDomainParametersValidateResult | ||
domainParameters | EdDomainParametersValidateRequest | |
리턴 | EdDomainParametersValidateResult |
public ValidateKeyPair ( EdDomainParameters domainParameters, EdKeyPair keyPair ) : EdKeyPairValidateResult | ||
domainParameters | EdDomainParameters | |
keyPair | EdKeyPair | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | EdVerificationResult |