Méthode | Description | |
---|---|---|
EnrollCandidate ( |
Enroll a candidate a to Factom. A new chain is created and the candidate data is packed and split into entries for that chain. This operation is irreversable.
|
|
FullVerifyFromChain ( byte chainId, string password, SourceAFIS.Simple.Fingerprint fp, |
Fully verify a user from a chain. Full verify includes fingerprint, password and signature check
|
|
GenerateExtIDs ( byte packedCandidate ) : byte[][] |
Generates the ExtIDs for a packed candidate
|
|
GetCandidateChainHistory ( byte chainId, |
Get all the chains used by a candidate (Follows OldVersionRecords and UpdatedRecords)
|
|
GetCandidateUpdatedRecords ( byte chainId, |
Get all Candidate update records in a chain
|
|
GetOldVersionRecords ( byte chainId, |
|
|
GetPackedCandidate ( byte chainId ) : byte[] |
Gets the candidates packed bytes from the specified chain
|
|
Pack ( |
Pack a candidate object into storable data
|
|
Unpack ( byte packed, string password, |
Unpack a candidate object from storable data
|
|
UpdateCandidate ( |
- Verifies that we are allowed to update this chain - Enrolls a new candidate chain with a CandidateOldVersionRecord referencing the old chain - Adds a OldVersionRecord to the old chain referencing the new chain - Adds a ChainUpdateRecord to the chain requesting update, forwarding it to the new chain. This operation is irreversable.
|
|
VerifyFingerprint ( |
Verify a candidates fingerprint
|
|
VerifySignature ( byte packed, |
Verify the signature of packed candidate data
|
public static EnrollCandidate ( |
||
c | The candidate to enroll | |
password | string | The password provided by the candidate |
privKey | The private key to pack the data with | |
Résultat | byte[] |
public static FullVerifyFromChain ( byte chainId, string password, SourceAFIS.Simple.Fingerprint fp, |
||
chainId | byte | The id of the chain to verify |
password | string | The candidates password |
fp | SourceAFIS.Simple.Fingerprint | The candidates fingerprint |
publicKey | The public key to verify the data with | |
Résultat | float |
public static GenerateExtIDs ( byte packedCandidate ) : byte[][] | ||
packedCandidate | byte | The packed candidate to generate for |
Résultat | byte[][] |
public static GetCandidateChainHistory ( byte chainId, |
||
chainId | byte | The id of a chain owned by the candidate |
pubKey | The public key to verify the data with | |
Résultat | List |
public static GetCandidateUpdatedRecords ( byte chainId, |
||
chainId | byte | |
pubKey | The public key to verify the data with | |
Résultat | List |
public static GetOldVersionRecords ( byte chainId, |
||
chainId | byte | |
pubKey | The public key to verify the data with | |
Résultat | List |
public static GetPackedCandidate ( byte chainId ) : byte[] | ||
chainId | byte | The id of the chain to get the candidate data from |
Résultat | byte[] |
public static Pack ( |
||
c | The candidate object to pack | |
password | string | The password provided by the candidate |
privKey | The private key to sign the data with | |
Résultat | byte[] |
public static Unpack ( byte packed, string password, |
||
packed | byte | The packed candidate data |
password | string | The password provided by the candidate |
pubKey | The public key to verify the data with | |
Résultat |
public static UpdateCandidate ( |
||
newCandidate | The updated candidate information | |
password | string | The password provided by the candidate |
fp | SourceAFIS.Simple.Fingerprint | The fingerprint to verify against |
privKey | The private key to pack the data with | |
chainToUpdate | byte | The chain ID of the chain to be updated |
Résultat | byte[] |
public static VerifyFingerprint ( |
||
c | The candidate to compare against | |
fp | SourceAFIS.Simple.Fingerprint | The provided fingerprint |
Résultat | float |
public static VerifySignature ( byte packed, |
||
packed | byte | The packed candidate data |
pubKey | The public key to verify with | |
Résultat | bool |