메소드 | 설명 | |
---|---|---|
SignDataWithCurrentPublicKey ( byte originalData ) : byte[] |
A method is used to sign the data with current key-pairs. The signed data only pass the validation by using current public key.
|
|
SignDataWithOldPublicKey ( byte originalData ) : byte[] |
A method is used to sign the data with old key-pairs. The signed data only pass the validation by using old public key.
|
|
VerifySignedDataUsingCurrentKey ( byte signedData, byte originalData ) : bool |
A method is used to validate the signed data by using current public key.
|
|
VerifySignedDataUsingOldKey ( byte signedData, byte originalData ) : bool |
A method is used to validate the signed data by using old public key.
|
메소드 | 설명 | |
---|---|---|
SignData ( byte originalData, byte fullkeyBlob ) : byte[] |
A method is used to sign the data with specified key-pairs. The signed data only pass the validation by using the public key part of the specified key-pairs.
|
|
VerifySignedData ( byte signedData, byte originalData, byte publicKeyBlob ) : bool |
A method is used to validate the signed data by using specified public key.
|
public static SignDataWithCurrentPublicKey ( byte originalData ) : byte[] | ||
originalData | byte | A parameter represents the binaries data which will be signed with current key-pairs. |
리턴 | byte[] |
public static SignDataWithOldPublicKey ( byte originalData ) : byte[] | ||
originalData | byte | A parameter represents the binaries data which will be signed with old key-pairs. |
리턴 | byte[] |
public static VerifySignedDataUsingCurrentKey ( byte signedData, byte originalData ) : bool | ||
signedData | byte | A parameter represents the signed data which will be validate. |
originalData | byte | A parameter represents the original data which is used to execute the validation. |
리턴 | bool |
public static VerifySignedDataUsingOldKey ( byte signedData, byte originalData ) : bool | ||
signedData | byte | A parameter represents the signed data which will be validate. |
originalData | byte | A parameter represents the original data which is used to execute the validation. |
리턴 | bool |