SYMBOL INDEX (6421 symbols across 627 files) FILE: Documentation/common/schema/validate_schema.py function main (line 15) | def main(): FILE: Documentation/conf.py function detect_language (line 21) | def detect_language(): FILE: Documentation/documents.py function get (line 258) | def get(doc, meta, language): function print_table_header (line 262) | def print_table_header(): function print_document (line 276) | def print_document(doc, lang='et'): FILE: Documentation/en/backendlogs/create_rst.py function rstescape (line 14) | def rstescape(txt): function parse_structs (line 21) | def parse_structs(file_content): function output_section_common (line 55) | def output_section_common(common_modules, rst, h2_common, h3_common, text): function output_section_unique (line 79) | def output_section_unique(unique_modules, rst, h2_unique, h3_unique): function output_intro (line 99) | def output_intro(rst, h1, content_file): function categorize_event (line 114) | def categorize_event(pkg, evt, item, exclusions, events_dicts): function analyze_src (line 131) | def analyze_src(src_dir, target_file, exclusions=None): function remove_common (line 160) | def remove_common(events): FILE: Documentation/podl/podl.py class Translator (line 33) | class Translator: method __init__ (line 35) | def __init__(self, api, source, target, force): method translate (line 41) | def translate(self, source_msg): function process_file (line 51) | def process_file(filename, translator, fuzzy): FILE: auditor/src/main/java/ee/ivxv/audit/Audit.java class Audit (line 5) | public class Audit { method main (line 7) | public static void main(String[] args) { FILE: auditor/src/main/java/ee/ivxv/audit/AuditApp.java class AuditApp (line 19) | class AuditApp extends App { method AuditApp (line 21) | AuditApp() { method createTools (line 25) | private static List> createTools() { method createContext (line 33) | @Override FILE: auditor/src/main/java/ee/ivxv/audit/AuditContext.java class AuditContext (line 8) | public class AuditContext extends AppContext { method AuditContext (line 10) | public AuditContext(InitialContext i, Conf conf, CommonArgs args) { FILE: auditor/src/main/java/ee/ivxv/audit/Msg.java type Msg (line 7) | @BaseName("i18n.audit-msg") method Msg (line 68) | Msg() { method Msg (line 72) | Msg(String shortName) { method getShortName (line 76) | @Override method getName (line 81) | @Override method getKey (line 86) | @Override FILE: auditor/src/main/java/ee/ivxv/audit/model/PlainBallotBox.java method PlainBallotBox (line 17) | @JsonCreator method computeByDistrict (line 26) | public Map> computeByDistrict() { FILE: auditor/src/main/java/ee/ivxv/audit/model/Tally.java class Tally (line 16) | public class Tally { method Tally (line 23) | @JsonCreator Tally(@JsonProperty("election") String election, method getElection (line 36) | public String getElection() { method getByParish (line 44) | public Map>> getByParish() { method getByDistrict (line 52) | public Map> getByDistrict() { method computeByDistrict (line 56) | public Map> computeByDistrict() { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/ByteTree.java class ByteTree (line 24) | public class ByteTree { method getLength (line 25) | public int getLength() { method getEncodedLength (line 29) | public int getEncodedLength() { method getEncoded (line 33) | public byte[] getEncoded() { method writeEncoded (line 37) | public void writeEncoded(OutputStream out) throws IOException { method isLeaf (line 41) | public boolean isLeaf() { method getPrefix (line 45) | public String getPrefix() { method toString (line 49) | public String toString(int indent) { method toString (line 53) | @Override class Node (line 61) | public static class Node extends ByteTree { method Node (line 71) | public Node(ByteTree[] nodes) { method Node (line 80) | public Node(BigInteger[] ints) { method Node (line 92) | public Node(GroupElement[] elements) { method Node (line 112) | public Node(ProductGroupElement element) { method Node (line 133) | public Node(ECGroupElement ec) { method getNodes (line 151) | public ByteTree[] getNodes() { method getLength (line 160) | @Override method getEncodedLength (line 170) | @Override method getEncoded (line 184) | @Override method writeEncoded (line 204) | @Override method isLeaf (line 216) | @Override method parse (line 228) | public static Node parse(byte[] b, int offset) { method parse (line 250) | public static Node parse(DataInputStream is) throws IOException { method getPrefix (line 263) | @Override method toString (line 274) | @Override method ecFieldElementToLeaf (line 295) | private byte[] ecFieldElementToLeaf(final int fieldSize, final ECFie... class Leaf (line 316) | public static class Leaf extends ByteTree { method Leaf (line 325) | public Leaf(byte[] value) { method Leaf (line 334) | public Leaf(String value) { method Leaf (line 349) | public Leaf(BigInteger value) { method Leaf (line 358) | public Leaf(GroupElement value) { method getValue (line 375) | public byte[] getValue() { method getString (line 384) | public String getString() { method getBigInteger (line 393) | public BigInteger getBigInteger() { method getLength (line 402) | @Override method getEncodedLength (line 412) | @Override method getEncoded (line 422) | @Override method writeEncoded (line 437) | @Override method getEncoded (line 444) | private byte[] getEncoded(ModPGroupElement value) { method getEncoded (line 454) | private byte[] getEncoded(ECGroupElement v) { method isLeaf (line 461) | @Override method parse (line 473) | public static Leaf parse(byte[] b, int offset) { method parse (line 489) | public static Leaf parse(DataInputStream is) throws IOException { method getPrefix (line 504) | @Override method toString (line 514) | @Override method parse (line 530) | public static ByteTree parse(byte[] b, int offset) { method parse (line 556) | public static ByteTree parse(DataInputStream is) throws IOException { method parse (line 575) | public static ByteTree parse(byte[] b) { method parse (line 591) | public static ByteTree parse(Path path) throws IOException { method parse_int (line 605) | private static int parse_int(byte[] b, int offset) { method parse_int_fullbytes (line 612) | private static int parse_int_fullbytes(byte[] b, int offset) { method parse_from_int (line 617) | private static byte[] parse_from_int(int v) { method read_length (line 621) | private static int read_length(DataInputStream is) throws IOException { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/DataParser.java class DataParser (line 21) | public class DataParser { method unmarshalGroup (line 42) | public static ByteTree[] unmarshalGroup(String pgroup) throws ShuffleE... method parseECGroupGenerator (line 75) | public static ECGroupElement parseECGroupGenerator(ByteTree groupRoot) method parseECGroup (line 96) | public static ECGroup parseECGroup(ByteTree groupRoot) method parseModPGroupGenerator (line 112) | public static ModPGroupElement parseModPGroupGenerator(ByteTree groupR... method parseModPGroup (line 146) | public static ModPGroup parseModPGroup(ByteTree groupRoot) throws Shuf... method parseGroupGenerator (line 161) | public static GroupElement parseGroupGenerator(String pgroup) throws S... method getAsElement (line 194) | public static GroupElement getAsElement(Group group, ByteTree bt) method getAsElement (line 221) | public static GroupElement getAsElement(Group group, ByteTree bt, int ... method getAsElement (line 241) | public static ModPGroupElement getAsElement(ModPGroup group, ByteTree bt) method getAsElement (line 258) | public static ECGroupElement getAsElement(ECGroup group, ByteTree bt) { method getAsElement (line 276) | public static ProductGroupElement getAsElement(ProductGroup group, Byt... method getAsElementArray (line 303) | public static GroupElement[] getAsElementArray(Group group, ByteTree bt) method getAsElementArray (line 335) | public static GroupElement[] getAsElementArray(ProductGroup group, Byt... method getAsElementArray (line 368) | public static GroupElement[] getAsElementArray(Group group, ByteTree b... method getAsInteger (line 387) | public static BigInteger getAsInteger(ByteTree bt, int index) throws I... method getAsIntegerArray (line 410) | public static BigInteger[] getAsIntegerArray(ByteTree bt, int index) method getAsScalar (line 444) | public static BigInteger[] getAsScalar(Group group, ByteTree bt, int i... method getHash (line 475) | public static MessageDigest getHash(String hashname) throws IllegalArg... method toArray (line 496) | public static ProductGroupElement toArray(GroupElement[] elements) method toArray (line 517) | public static ProductGroupElement toArray(ProductGroupElement[] elemen... method toArray_first (line 525) | private static ProductGroupElement toArray_first(ProductGroupElement i... method toArray_second (line 540) | private static void toArray_second(ProductGroupElement out, ProductGro... FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/PRNG.java class PRNG (line 10) | public class PRNG { method PRNG (line 23) | PRNG(String hashname, byte[] seed) { method read (line 36) | public void read(byte[] out) { method refill (line 49) | private void refill() { method init_hash (line 65) | static MessageDigest init_hash(String hashname, byte[] seed) { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/ProtocolInformation.java class ProtocolInformation (line 19) | public class ProtocolInformation { method ProtocolInformation (line 44) | public ProtocolInformation(String version, String sid, String name, St... method ProtocolInformation (line 67) | public ProtocolInformation(Path protinfo) throws ShuffleException { method get_element (line 117) | private static String get_element(Element node, String name) { method get_version (line 138) | public String get_version() { method get_sid (line 142) | public String get_sid() { method get_auxsid (line 146) | public String get_auxsid() { method get_name (line 150) | public String get_name() { method get_pgroup (line 154) | public String get_pgroup() { method get_parsed_pgroup (line 158) | public Group get_parsed_pgroup() { method get_parsed_generator (line 162) | public GroupElement get_parsed_generator() { method get_keywidth (line 166) | public int get_keywidth() { method get_vbitlenro (line 170) | public int get_vbitlenro() { method get_ebitlenro (line 174) | public int get_ebitlenro() { method get_prg (line 178) | public String get_prg() { method get_rohash (line 182) | public String get_rohash() { method get_width (line 186) | public int get_width() { method get_statdist (line 190) | public int get_statdist() { method get_type (line 194) | public String get_type() { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/RO.java class RO (line 11) | public class RO extends OutputStream { method RO (line 23) | public RO(String hashname, byte[] seed) { method RO (line 37) | public RO(String hashname) { method flush (line 46) | public void flush() { method setAmount (line 59) | public void setAmount(int amount) { method readOut (line 66) | private void readOut(byte[] out) { method read (line 88) | public void read(byte[] out, int amount) { method write (line 110) | @Override method write (line 125) | @Override method write (line 141) | @Override FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/ShuffleConsole.java class ShuffleConsole (line 11) | public class ShuffleConsole { method ShuffleConsole (line 14) | public ShuffleConsole(I18nConsole console) { method enter (line 18) | public void enter(ShuffleStep step) { method enter (line 34) | public Progress enter(ShuffleStep step, long length) { type ShuffleStep (line 39) | public static enum ShuffleStep { method ShuffleStep (line 60) | ShuffleStep(Translatable msg) { method ShuffleStep (line 66) | ShuffleStep(String msg) { method ShuffleStep (line 72) | ShuffleStep(ShuffleStep parent, Translatable msg) { method getDepth (line 79) | int getDepth() { method appendSubStep (line 89) | void appendSubStep(ShuffleStep substep) { method subStepCount (line 93) | int subStepCount() { method nextSubStep (line 97) | int nextSubStep() { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/ShuffleException.java class ShuffleException (line 3) | @SuppressWarnings("serial") method ShuffleException (line 5) | public ShuffleException(Throwable t) { method ShuffleException (line 9) | public ShuffleException(String msg) { method ShuffleException (line 13) | public ShuffleException(String msg, Throwable t) { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/ShuffleParameters.java class ShuffleParameters (line 9) | public class ShuffleParameters { method ShuffleParameters (line 21) | ShuffleParameters(String version, String auxsid, int width, String typ... method ShuffleParameters (line 35) | ShuffleParameters(Path proofdir) throws IOException { method read_parameters (line 47) | private static String read_parameters(Path loc) throws IOException { method get_version (line 55) | public String get_version() { method get_auxsid (line 59) | public String get_auxsid() { method get_width (line 63) | public int get_width() { method get_type (line 67) | public String get_type() { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/ShuffleProof.java class ShuffleProof (line 19) | public class ShuffleProof { method ShuffleProof (line 68) | public ShuffleProof(ProtocolInformation prot, PermutationCommitment pc... method ShuffleProof (line 90) | public ShuffleProof(ProtocolInformation prot, PermutationCommitment pc... method ShuffleProof (line 121) | public ShuffleProof(Path protpath, Path proofdir, ShuffleConsole conso... method get_ProtocolInformation (line 156) | public ProtocolInformation get_ProtocolInformation() { method get_PermutationCommitment (line 160) | public PermutationCommitment get_PermutationCommitment() { method get_PoSCommitment (line 164) | public PoSCommitment get_PoSCommitment() { method get_PoSReply (line 168) | public PoSReply get_PoSReply() { method get_ciphertexts (line 172) | public GroupElement[] get_ciphertexts() { method get_shuffled_ciphertexts (line 176) | public GroupElement[] get_shuffled_ciphertexts() { method get_publickey (line 180) | public GroupElement get_publickey() { method get_ciphertext_group (line 184) | private static ProductGroup get_ciphertext_group(ProtocolInformation p... class PermutationCommitment (line 193) | public static class PermutationCommitment { method PermutationCommitment (line 201) | PermutationCommitment(ProtocolInformation prot, byte[] bt) { method PermutationCommitment (line 214) | PermutationCommitment(ProtocolInformation prot, Path path) throws IO... method get_u (line 218) | public GroupElement[] get_u() { class PoSCommitment (line 226) | public static class PoSCommitment { method PoSCommitment (line 236) | PoSCommitment(ProtocolInformation prot, byte[] bt) { method PoSCommitment (line 255) | PoSCommitment(ProtocolInformation prot, Path path) throws IOException { method get_A_prim (line 259) | public GroupElement get_A_prim() { method get_C_prim (line 263) | public GroupElement get_C_prim() { method get_D_prim (line 267) | public GroupElement get_D_prim() { method get_B (line 271) | public GroupElement[] get_B() { method get_B_prim (line 275) | public GroupElement[] get_B_prim() { method get_F_prim (line 279) | public ProductGroupElement get_F_prim() { class PoSReply (line 287) | public static class PoSReply { method PoSReply (line 297) | PoSReply(ProtocolInformation prot, byte[] bt) { method PoSReply (line 316) | PoSReply(ProtocolInformation prot, Path path) throws IOException { method get_kA (line 320) | public BigInteger get_kA() { method get_kC (line 324) | public BigInteger get_kC() { method get_kD (line 328) | public BigInteger get_kD() { method get_kB (line 332) | public BigInteger[] get_kB() { method get_kE (line 336) | public BigInteger[] get_kE() { method get_kF (line 340) | public BigInteger[] get_kF() { FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/ThreadedVerifier.java class ThreadedVerifier (line 22) | public class ThreadedVerifier extends Verifier { method ThreadedVerifier (line 28) | public ThreadedVerifier(ShuffleConsole console, ShuffleProof proof, in... method compute_A_threaded (line 34) | public GroupElement compute_A_threaded(Progress progress, BigInteger[] e) method compute_F_threaded (line 40) | public GroupElement compute_F_threaded(Progress progress, BigInteger[] e) method verify_A_threaded (line 45) | public boolean verify_A_threaded(Progress progress, BigInteger v, Grou... method verify_B_threaded (line 53) | public boolean verify_B_threaded(Progress progress, BigInteger v, Grou... method verify_F_threaded (line 62) | public boolean verify_F_threaded(Progress progress, BigInteger v, Grou... method verify_all (line 70) | public boolean verify_all() throws ShuffleException, MathException { method compute_A (line 136) | private GroupElement compute_A(Progress progress, GroupElement[] u, Bi... method get_compute_A_worker (line 159) | private static Callable get_compute_A_worker(Progress pr... method compute_F (line 176) | public GroupElement compute_F(Progress progress, GroupElement[] w, Big... method get_compute_F_worker (line 199) | private static Callable get_compute_F_worker(Progress pr... method verify_A (line 216) | private boolean verify_A(Progress progress, BigInteger v, GroupElement... method get_verify_A_worker (line 245) | private static Callable get_verify_A_worker(Progress pro... method verify_B (line 261) | private boolean verify_B(Progress progress, BigInteger v, GroupElement... method get_verify_B_worker (line 294) | private static Callable get_verify_B_worker(Progress progress... method verify_F (line 317) | private boolean verify_F(Progress progress, BigInteger v, GroupElement... method get_verify_F_worker (line 357) | private static Callable get_verify_F_worker(Progress pro... FILE: auditor/src/main/java/ee/ivxv/audit/shuffle/Verifier.java class Verifier (line 20) | public class Verifier { method Verifier (line 30) | public Verifier(ShuffleProof proof) { method Verifier (line 35) | public Verifier(ShuffleConsole console, ShuffleProof proof) { method get_proof (line 40) | public ShuffleProof get_proof() { method compute_rho (line 50) | public byte[] compute_rho() { method compute_RO_seed (line 77) | public byte[] compute_RO_seed(byte[] rho, GroupElement[] h) { method compute_e (line 125) | public BigInteger[] compute_e(byte[] s) { method compute_h (line 149) | public GroupElement[] compute_h(byte[] rho) { method compute_v (line 205) | public BigInteger compute_v(byte[] rho, byte[] s) { method compute_A (line 254) | public GroupElement compute_A(Progress progress, BigInteger[] e) throw... method compute_C (line 274) | public GroupElement compute_C(Progress progress, GroupElement[] h) method compute_D (line 309) | public GroupElement compute_D(Progress progress, GroupElement[] h, Big... method compute_F (line 346) | public GroupElement compute_F(Progress progress, BigInteger[] e) throw... method verify_A (line 371) | public boolean verify_A(Progress progress, BigInteger v, GroupElement ... method verify_B (line 400) | public boolean verify_B(Progress progress, BigInteger v, GroupElement[... method verify_C (line 430) | public boolean verify_C(Progress progress, BigInteger v, GroupElement ... method verify_D (line 451) | public boolean verify_D(Progress progress, BigInteger v, GroupElement ... method verify_F (line 472) | public boolean verify_F(Progress progress, BigInteger v, GroupElement ... method verify_all (line 518) | public boolean verify_all() throws ShuffleException, MathException { method verify_all (line 565) | public boolean verify_all(boolean throwexception) { FILE: auditor/src/main/java/ee/ivxv/audit/tools/ConvertTool.java class ConvertTool (line 36) | public class ConvertTool implements Tool.Runner { class ConvertArgs (line 37) | public static class ConvertArgs extends Args { method ConvertArgs (line 44) | public ConvertArgs() { method ConvertTool (line 59) | public ConvertTool(AuditContext ctx) { method run (line 66) | @Override method verifyPublickey (line 99) | public static boolean verifyPublickey(ElGamalPublicKey pk, ShuffleProo... method verifyBallotboxToBytetree (line 110) | public static boolean verifyBallotboxToBytetree(ElGamalPublicKey pk, A... method verifyBytetreeToBallotbox (line 137) | public static boolean verifyBytetreeToBallotbox(ElGamalPublicKey pk, S... method convertBallotboxToBytetree (line 199) | private static GroupElement[] convertBallotboxToBytetree(ElGamalPublic... method convertStringToProductGroupElement (line 222) | private static ProductGroupElement convertStringToProductGroupElement(... method convertBytetreeToBallotbox (line 237) | private static AnonymousBallotBox convertBytetreeToBallotbox(ElGamalPu... method convertProductGroupElementToString (line 291) | private static String convertProductGroupElementToString(ElGamalPublic... method convertPublickeyToBytetree (line 301) | private static GroupElement convertPublickeyToBytetree(ElGamalPublicKe... FILE: auditor/src/main/java/ee/ivxv/audit/tools/DecryptTool.java class DecryptTool (line 46) | public class DecryptTool implements Tool.Runner { method DecryptTool (line 53) | public DecryptTool(AuditContext ctx) { method run (line 59) | @Override method getYesNoMessage (line 225) | private Msg getYesNoMessage(boolean success) { method printFailure (line 230) | private void printFailure() { method isAnonBBEmpty (line 236) | private boolean isAnonBBEmpty(AnonymousBallotBox abb) { method getDiscardedCiphers (line 260) | private Bag getDiscardedCiphers(Path path) throws Exception { method processVerification (line 292) | private boolean processVerification(Proof proofs, ElGamalPublicKey pub... method verifyPlaintexts (line 330) | private boolean verifyPlaintexts(ElGamalPublicKey pub, AnonymousBallot... method verifyTally (line 393) | private boolean verifyTally(PlainBallotBox pbb, Path tallyPath) throws... method isValidChoice (line 459) | private boolean isValidChoice(Plaintext pt, String district, Candidate... method verifyDecryption (line 493) | private InvalidDecProofs verifyDecryption(Proof input, ElGamalPublicKe... method getVerifyConsumer (line 520) | private Consumer getVerifyConsumer(ElGamalPublicKey pub, method verifyCiphersInBb (line 553) | private boolean verifyCiphersInBb(AnonymousBallotBox abb, Bag ... method verifyInvalidConsistency (line 580) | private boolean verifyInvalidConsistency(Bag discardedCiphers,... method logMissingBallots (line 600) | private void logMissingBallots(Collection b64CTs) { method verifyValidConsistency (line 617) | private boolean verifyValidConsistency(ElGamalPublicKey pub, Proof pro... method verifyInputFiles (line 663) | private boolean verifyInputFiles(DecryptArgs args) { class DecryptArgs (line 688) | public static class DecryptArgs extends Args { method DecryptArgs (line 701) | public DecryptArgs() { class WorkManager (line 717) | private class WorkManager implements Callable { method WorkManager (line 723) | WorkManager(Proof in, Consumer consumer, ExecutorSe... method call (line 731) | @Override FILE: auditor/src/main/java/ee/ivxv/audit/tools/IntegrityTool.java class IntegrityTool (line 31) | public class IntegrityTool implements Tool.Runner { method IntegrityTool (line 49) | public IntegrityTool(AuditContext ctx) { method run (line 54) | @Override method getYesNoMessage (line 165) | private Msg getYesNoMessage(boolean success) { method getBallots (line 170) | private List getBallots(IntegrityArgs args) { method getBallotContainerId (line 215) | private static String getBallotContainerId(String fileName) throws Exc... method getValidInvalidSums (line 234) | private BbDigests getValidInvalidSums(List bb, method getBallotDigestsFromLog (line 312) | private List getBallotDigestsFromLog(Path path) throws Excepti... method getErroredBallotsNames (line 335) | private Set getErroredBallotsNames(Path path) throws Exception { method sumHashes (line 353) | private static BigInteger sumHashes(List hashes) { method sumBbHashes (line 363) | private static BigInteger sumBbHashes(List bb) { method getAnonBbDigests (line 373) | private AnonBbDigests getAnonBbDigests(AnonymousBallotBox bb) { method matchHashesToBb (line 400) | private boolean matchHashesToBb(List digests, List { class MixerArgs (line 24) | public static class MixerArgs extends Args { method MixerArgs (line 29) | public MixerArgs() { method MixerTool (line 37) | public MixerTool(AuditContext ctx) { method run (line 42) | @Override FILE: auditor/src/main/java/ee/ivxv/audit/util/DiscardedBallot.java class DiscardedBallot (line 9) | public class DiscardedBallot { method DiscardedBallot (line 14) | @JsonCreator method getDiscarded (line 22) | public List getDiscarded() { method getCount (line 26) | @JsonIgnore class VoteJson (line 31) | public static class VoteJson { method VoteJson (line 37) | @JsonCreator method getVote (line 49) | public byte[] getVote() { FILE: auditor/src/main/java/ee/ivxv/audit/util/InvalidDecProofs.java class InvalidDecProofs (line 15) | public class InvalidDecProofs { method InvalidDecProofs (line 26) | public InvalidDecProofs(String electionName) { method getResultWorker (line 35) | public InvalidProofHandler getResultWorker() { method setEot (line 42) | public void setEot() { method addInvalidProof (line 51) | public void addInvalidProof(ElGamalDecryptionProof proof) { method getCount (line 60) | public int getCount() { method outputFailedProofsOfValidity (line 70) | public void outputFailedProofsOfValidity(Path outDir) throws Exception { method outputFailedProofsOfInvalidity (line 80) | public void outputFailedProofsOfInvalidity(Path outDir) throws Excepti... class InvalidProofHandler (line 84) | private class InvalidProofHandler implements Callable { method call (line 86) | @Override FILE: auditor/src/main/java/ee/ivxv/audit/util/RawBallotWithDigest.java class RawBallotWithDigest (line 6) | public class RawBallotWithDigest { method RawBallotWithDigest (line 13) | public RawBallotWithDigest(byte[] ballot, String id) { method getId (line 19) | public String getId() { method getBallot (line 23) | public byte[] getBallot() { method getRawDigest (line 27) | public byte[] getRawDigest() { FILE: choices/cmd/choiceimp/log_desc.go constant _CHOICES_VERSION_FROM_DB (line 4) | _CHOICES_VERSION_FROM_DB = "Cannot fetch choices list version ... constant _CHOICES_LIST_BDOC_OPEN (line 5) | _CHOICES_LIST_BDOC_OPEN = "Failed to open choices list BDOC c... constant _CHOICES_LIST_BDOC_NO_SIG (line 6) | _CHOICES_LIST_BDOC_NO_SIG = "No signatures found in choices lis... constant _CHOICES_LIST_BDOC_SIG_INFO (line 7) | _CHOICES_LIST_BDOC_SIG_INFO = "Choices list BDOC container signat... constant _CHOICES_LIST_BDOC_SIG_TO_JSON (line 8) | _CHOICES_LIST_BDOC_SIG_TO_JSON = "Failed to JSON marshal choices lis... constant _CHOICES_LIST_BDOC_HAS_MANY_FILES (line 9) | _CHOICES_LIST_BDOC_HAS_MANY_FILES = "Choices list BDOC container should... constant _CHOICES_LIST_READ (line 10) | _CHOICES_LIST_READ = "Reading choices list" constant _CHOICES_LIST_TO_DB_UPLOAD (line 11) | _CHOICES_LIST_TO_DB_UPLOAD = "Failed to upload choices list to d... constant _CHOICES_LIST_INVALID_JSON (line 12) | _CHOICES_LIST_INVALID_JSON = "Choices list has an invalid JSON f... constant _CHOICES_LIST_ID_MISMATCH (line 13) | _CHOICES_LIST_ID_MISMATCH = "Choices list ID doesn't match the ... constant _CHOICES_LIST_PREPARE_UPLOAD_TO_DB (line 14) | _CHOICES_LIST_PREPARE_UPLOAD_TO_DB = "Choices list is ready to uploaded ... constant _CHOICES_LIST_UPLOAD_TO_DB_FAIL (line 15) | _CHOICES_LIST_UPLOAD_TO_DB_FAIL = "Unable to upload choices list to d... FILE: choices/cmd/choiceimp/main.go constant usage (line 26) | usage = `choiceimp loads choice lists into the collector's storage servi... function main (line 38) | func main() { function choiceimpmain (line 45) | func choiceimpmain() (code int) { type choicelist (line 130) | type choicelist struct function choiceimp (line 137) | func choiceimp(ctx context.Context, until int, c *conf.C, s *storage.Cli... FILE: choices/cmd/districtimp/district_test.go function testDistrictsLookupFormatError (line 10) | func testDistrictsLookupFormatError(t *testing.T, id string) { function TestDistrictsLookupFormatError (line 20) | func TestDistrictsLookupFormatError(t *testing.T) { function TestDistrictsLookupMultipleCodes (line 27) | func TestDistrictsLookupMultipleCodes(t *testing.T) { function assertDistricts (line 45) | func assertDistricts(t *testing.T, districts map[string][]byte, function TestDistrictsLookup (line 61) | func TestDistrictsLookup(t *testing.T) { FILE: choices/cmd/districtimp/log_desc.go constant _DISTRICTS_VERSION_FROM_DB (line 4) | _DISTRICTS_VERSION_FROM_DB = "Cannot fetch dist... constant _DISTRICTS_LIST_BDOC_OPEN (line 5) | _DISTRICTS_LIST_BDOC_OPEN = "Failed to open di... constant _DISTRICTS_LIST_BDOC_NO_SIG (line 6) | _DISTRICTS_LIST_BDOC_NO_SIG = "No signatures fou... constant _DISTRICTS_LIST_BDOC_SIG_INFO (line 7) | _DISTRICTS_LIST_BDOC_SIG_INFO = "Districts list BD... constant _DISTRICTS_LIST_BDOC_SIG_TO_JSON (line 8) | _DISTRICTS_LIST_BDOC_SIG_TO_JSON = "Failed to JSON ma... constant _DISTRICTS_LIST_BDOC_HAS_MANY_FILES (line 9) | _DISTRICTS_LIST_BDOC_HAS_MANY_FILES = "Districts list BD... constant _DISTRICTS_LIST_READ (line 10) | _DISTRICTS_LIST_READ = "Reading districts... constant _DISTRICTS_LIST_TO_DB_UPLOAD (line 11) | _DISTRICTS_LIST_TO_DB_UPLOAD = "Failed to upload ... constant _DISTRICTS_LIST_INVALID_JSON (line 12) | _DISTRICTS_LIST_INVALID_JSON = "Choices list has ... constant _DISTRICTS_LIST_ID_MISMATCH (line 13) | _DISTRICTS_LIST_ID_MISMATCH = "Choices list ID d... constant _DISTRICTS_LIST_INVALID_COUNTIES_JSON (line 14) | _DISTRICTS_LIST_INVALID_COUNTIES_JSON = "District list has... constant _DISTRICTS_LIST_PREPARE_UPLOAD_TO_DB (line 15) | _DISTRICTS_LIST_PREPARE_UPLOAD_TO_DB = "Choices list is r... constant _DISTRICTS_LIST_UPLOAD_TO_DB_FAIL (line 16) | _DISTRICTS_LIST_UPLOAD_TO_DB_FAIL = "Unable to upload ... constant _DISTRICTS_LIST_INVALID_DISTRICT_ID (line 17) | _DISTRICTS_LIST_INVALID_DISTRICT_ID = "District ID has a... constant _DISTRICTS_LIST_PARISH_CONTAINS_SAME_DISTRICT_CODES (line 18) | _DISTRICTS_LIST_PARISH_CONTAINS_SAME_DISTRICT_CODES = "Only 1 district c... FILE: choices/cmd/districtimp/main.go constant usage (line 27) | usage = `districtimp loads district lists into the collector's storage s... function main (line 39) | func main() { function districtimpmain (line 46) | func districtimpmain() (code int) { type districtlist (line 131) | type districtlist struct type district (line 137) | type district struct function districtimp (line 144) | func districtimp(ctx context.Context, until int, c *conf.C, s *storage.C... function districtsLookup (line 191) | func districtsLookup(list districtlist) (map[string][]byte, error) { FILE: choices/cmd/voterimp/container.go function openContainer (line 18) | func openContainer(opener container.Opener, path string) ( type zipContainer (line 60) | type zipContainer struct method Close (line 66) | func (z zipContainer) Close() error { method Signatures (line 71) | func (z zipContainer) Signatures() []container.Signature { method Data (line 76) | func (z zipContainer) Data() map[string][]byte { function containerVersion (line 85) | func containerVersion(cnt container.Container) (string, error) { FILE: choices/cmd/voterimp/log_desc.go constant _VOTERS_LIST_OPEN_ZIP_CONTAINER (line 4) | _VOTERS_LIST_OPEN_ZIP_CONTAINER = "Failed to open .zip contai... constant _VOTERS_LIST_OPEN_ZIPPED_FILE (line 5) | _VOTERS_LIST_OPEN_ZIPPED_FILE = "Cannot open a file from .z... constant _VOTERS_LIST_READ_ZIPPED_FILE (line 6) | _VOTERS_LIST_READ_ZIPPED_FILE = "Failed to read a file from... constant _VOTERS_LIST_UNABLE_TO_EXTRACT_ZIP_VERSION (line 7) | _VOTERS_LIST_UNABLE_TO_EXTRACT_ZIP_VERSION = ".zip container doesn't hav... constant _VOTERS_LIST_VERSION_FROM_DB (line 8) | _VOTERS_LIST_VERSION_FROM_DB = "Cannot fetch voters list v... constant _VOTERS_LIST_VERSION_TO_JSON (line 9) | _VOTERS_LIST_VERSION_TO_JSON = "Cannot JSON marshal voters... constant _VOTERS_LIST_BDOC_OPEN (line 10) | _VOTERS_LIST_BDOC_OPEN = "Failed to open voters list... constant _VOTERS_LIST_BDOC_NO_SIG (line 11) | _VOTERS_LIST_BDOC_NO_SIG = "No signatures found in vot... constant _VOTERS_LIST_BDOC_SIG_INFO (line 12) | _VOTERS_LIST_BDOC_SIG_INFO = "Districts list BDOC contai... constant _VOTERS_LIST_BDOC_SIG_TO_JSON (line 13) | _VOTERS_LIST_BDOC_SIG_TO_JSON = "Failed to JSON marshal vot... constant _VOTERS_LIST_BDOC_INVALID_DATA (line 14) | _VOTERS_LIST_BDOC_INVALID_DATA = "Voters list BDOC container... constant _VOTERS_LIST_UTF_AND_SIG_VERIFY (line 15) | _VOTERS_LIST_UTF_AND_SIG_VERIFY = ".sig signature doesn't cor... constant _VOTERS_LIST_CURRENT_VERSION (line 16) | _VOTERS_LIST_CURRENT_VERSION = "Fetched from a database cu... constant _VOTERS_LIST_CREATE_MAP_OF_ALL_CHANGES (line 17) | _VOTERS_LIST_CREATE_MAP_OF_ALL_CHANGES = "Failed to construct a map ... constant _VOTERS_LIST_TO_DB_UPLOAD (line 18) | _VOTERS_LIST_TO_DB_UPLOAD = "Uploading voters list to d... constant _VOTERS_LIST_TO_DB_UPLOAD_FAIL (line 19) | _VOTERS_LIST_TO_DB_UPLOAD_FAIL = "Failed to upload voters li... constant _VOTERS_LIST_BDOC_HAS_MORE_THAN_2_FILES (line 20) | _VOTERS_LIST_BDOC_HAS_MORE_THAN_2_FILES = "Voters list BDOC container... constant _VOTERS_LIST_NO_UTF_FILE (line 21) | _VOTERS_LIST_NO_UTF_FILE = "Voters list BDOC container... constant _VOTERS_LIST_NO_SIG_FILE (line 22) | _VOTERS_LIST_NO_SIG_FILE = "Voters list BDOC container... constant _VOTERS_LIST_PUB_KEY_INVALID_PEM (line 23) | _VOTERS_LIST_PUB_KEY_INVALID_PEM = "Voters list public key is ... constant _VOTERS_LIST_PUB_KEY_INVALID_PKIX (line 24) | _VOTERS_LIST_PUB_KEY_INVALID_PKIX = "Voters list public key, af... constant _VOTERS_LIST_PUB_KEY_INVALID_ECDSA (line 25) | _VOTERS_LIST_PUB_KEY_INVALID_ECDSA = "Voters list public key alg... constant _VOTERS_LIST_ASN1_SIG_ASN1_UNMARSHAL (line 26) | _VOTERS_LIST_ASN1_SIG_ASN1_UNMARSHAL = "Cannot ASN.1 unmarshal .si... constant _VOTERS_LIST_SIG_VERIFY_FAIL (line 27) | _VOTERS_LIST_SIG_VERIFY_FAIL = "Failed to verify .sig cont... constant _VOTERS_LIST_READ (line 28) | _VOTERS_LIST_READ = "Reading voters list" constant _VOTERS_LIST_READ_CTX_CANCEL (line 29) | _VOTERS_LIST_READ_CTX_CANCEL = "Context has been cancelled... constant _VOTERS_LIST_UTF_INVALID_COLUMNS_COUNT (line 30) | _VOTERS_LIST_UTF_INVALID_COLUMNS_COUNT = ".utf has invalid columns c... constant _VOTERS_LIST_UTF_UNKNOWN_COLUMN (line 31) | _VOTERS_LIST_UTF_UNKNOWN_COLUMN = ".utf contains unknown column" constant _VOTERS_LIST_READING_ERRORS (line 32) | _VOTERS_LIST_READING_ERRORS = "Report of all errors occur... constant _VOTERS_LIST_READING_ERRORS_COUNT (line 33) | _VOTERS_LIST_READING_ERRORS_COUNT = "Report errors count during... constant _VOTERS_LIST_READ_UTF_FORMAT_VERSION (line 34) | _VOTERS_LIST_READ_UTF_FORMAT_VERSION = "Failed to read .utf format... constant _VOTERS_LIST_UTF_FORMAT_VERSION (line 35) | _VOTERS_LIST_UTF_FORMAT_VERSION = "Invalid .utf format version" constant _VOTERS_LIST_READ_UTF_ELECTION_ID (line 36) | _VOTERS_LIST_READ_UTF_ELECTION_ID = "Failed to read .utf electi... constant _VOTERS_LIST_UTF_ELECTION_ID (line 37) | _VOTERS_LIST_UTF_ELECTION_ID = ".utf election ID doesn't m... constant _VOTERS_LIST_READ_UTF_VOTERS_LIST_VERSION (line 38) | _VOTERS_LIST_READ_UTF_VOTERS_LIST_VERSION = "Failed to read .utf voters... constant _VOTERS_LIST_UTF_VOTERS_LIST_VERSION (line 39) | _VOTERS_LIST_UTF_VOTERS_LIST_VERSION = ".utf voters list version i... constant _VOTERS_LIST_UTF_VOTERS_LIST_VERSION_0 (line 40) | _VOTERS_LIST_UTF_VOTERS_LIST_VERSION_0 = "Current .utf voters list t... constant _VOTERS_LIST_INITIAL_NOT_UPLOADED_YET (line 41) | _VOTERS_LIST_INITIAL_NOT_UPLOADED_YET = "Voters list with version 0... constant _VOTERS_LIST_UPLOAD_OLD_VERSION (line 42) | _VOTERS_LIST_UPLOAD_OLD_VERSION = "Trying to upload old voter... constant _VOTERS_LIST_READ_ELECTION_FROM_PERIOD (line 43) | _VOTERS_LIST_READ_ELECTION_FROM_PERIOD = "Failed to read .utf electi... constant _VOTERS_LIST_ELECTION_FROM_PERIOD (line 44) | _VOTERS_LIST_ELECTION_FROM_PERIOD = ".utf election 'from' value... constant _VOTERS_LIST_READ_ELECTION_TO_PERIOD (line 45) | _VOTERS_LIST_READ_ELECTION_TO_PERIOD = "Failed to read .utf electi... constant _VOTERS_LIST_ELECTION_TO_PERIOD (line 46) | _VOTERS_LIST_ELECTION_TO_PERIOD = ".utf election 'to' value i... constant _VOTERS_LIST_UTF_VOTER_ID_EMPTY (line 47) | _VOTERS_LIST_UTF_VOTER_ID_EMPTY = ".utf voters list contains ... constant _VOTERS_LIST_UTF_INITIAL_ACTION (line 48) | _VOTERS_LIST_UTF_INITIAL_ACTION = ".utf voters list initial a... constant _VOTERS_LIST_UTF_ADMIN_CODE_EMPTY (line 49) | _VOTERS_LIST_UTF_ADMIN_CODE_EMPTY = ".utf voters list contains ... constant _VOTERS_LIST_UTF_DISTRICT_EMPTY (line 50) | _VOTERS_LIST_UTF_DISTRICT_EMPTY = ".utf voters list contains ... constant _VOTERS_LIST_UTF_ADD_SAME_VOTER (line 51) | _VOTERS_LIST_UTF_ADD_SAME_VOTER = ".utf voters list attempts ... constant _VOTERS_LIST_MODIFY_WITH_PREVIOUS_ERRORS (line 52) | _VOTERS_LIST_MODIFY_WITH_PREVIOUS_ERRORS = "Trying to process next lin... constant _VOTERS_LIST_GET_VOTER_FROM_DB (line 53) | _VOTERS_LIST_GET_VOTER_FROM_DB = "Cannot fetch voter ID from... constant _VOTERS_LIST_NON_EXISTING_VOTER (line 54) | _VOTERS_LIST_NON_EXISTING_VOTER = "Voter doesn't exist in a d... constant _VOTERS_LIST_DELETE_JUST_ADDED_VOTER (line 55) | _VOTERS_LIST_DELETE_JUST_ADDED_VOTER = "Voters list has 'lisamine'... constant _VOTERS_LIST_UNKNOWN_ACTION (line 56) | _VOTERS_LIST_UNKNOWN_ACTION = "Voters list contains unkno... constant _VOTERS_LIST_READ_FILE_PROGRESS (line 57) | _VOTERS_LIST_READ_FILE_PROGRESS = "Reading voters file progre... constant _VOTERS_LIST_READ_LINE_ERROR (line 58) | _VOTERS_LIST_READ_LINE_ERROR = "Cannot read voters file line" constant _VOTERS_LIST_UTF_COLUMNS_COUNT (line 59) | _VOTERS_LIST_UTF_COLUMNS_COUNT = "Voters file has invalid co... FILE: choices/cmd/voterimp/main.go constant usage (line 39) | usage = `voterimp loads voter lists into the collector's storage service... function main (line 57) | func main() { function voterimpmain (line 64) | func voterimpmain() (code int) { function containerData (line 198) | func containerData(data map[string][]byte) (list, signature []byte, err ... function verifyECDSA (line 237) | func verifyECDSA(pub string, data, sig []byte) error { constant delim (line 266) | delim = '\n' constant sep (line 267) | sep = '\t' type linefunc (line 275) | type linefunc function preprocess (line 280) | func preprocess(ctx context.Context, list []byte, version, election stri... function header (line 358) | func header(b *bytes.Buffer, election, oldver string) (newver string, lf... function initial (line 441) | func initial(_ context.Context, voter, action, adminCode, district string, function changes (line 482) | func changes(ctx context.Context, voter, action, adminCode, district str... function stepadd (line 564) | func stepadd(ctx context.Context, add status.Add, count, step uint64) { function next (line 573) | func next(b *bytes.Buffer) (action, voter, adminCode, district string, e... function report (line 608) | func report(ctx context.Context, entry log.ErrorEntry) { function readString (line 616) | func readString(b *bytes.Buffer, delim byte) (string, error) { FILE: choices/cmd/voterimp/voterimp_test.go function TestZIPVersion (line 5) | func TestZIPVersion(t *testing.T) { FILE: choices/internal/client/sessionstatus/rpc/client.go constant Empty (line 16) | Empty = "" constant AuthenticateStatus (line 19) | AuthenticateStatus = "RPC.AuthenticateStatus" constant Token (line 22) | Token = "RPC.Token" constant VoterChoices (line 25) | VoterChoices = "RPC.VoterChoices" constant exitCodeOK (line 28) | exitCodeOK = 0 type RPC (line 30) | type RPC struct method Verify (line 49) | func (r *RPC) Verify(dto interface{}) (bool, error) { method verifyAndUpdateSessionStatus (line 80) | func (r *RPC) verifyAndUpdateSessionStatus(serviceMethod string, h ser... function NewClient (line 36) | func NewClient(c *command.C) (client.Verifier, int) { function verifyStatusReadResp (line 202) | func verifyStatusReadResp(r *api.StatusReadResp, function voterChoicesHandler (line 209) | func voterChoicesHandler(r *api.StatusReadResp) (bool, error) { FILE: choices/internal/client/sessionstatus/rpc/log_desc.go constant _SESSIONSTATUS_CAST_ANY_TO_VERIFYREQ (line 4) | _SESSIONSTATUS_CAST_ANY_TO_VERIFYREQ = "Cannot cast any to Veri... constant _SESSIONSTATUS_CAST_VERIFYREQ_TO_SERVERHEADER (line 5) | _SESSIONSTATUS_CAST_VERIFYREQ_TO_SERVERHEADER = "Cannot cast VerifyReq t... constant _SESSIONSTATUS_SEND_UPDATE_REQ_AND_VERIFY_IT (line 6) | _SESSIONSTATUS_SEND_UPDATE_REQ_AND_VERIFY_IT = "SessionID verification ... constant _SESSIONSTATUS_AUTHMETHOD_FROM_CTX (line 7) | _SESSIONSTATUS_AUTHMETHOD_FROM_CTX = "Unable to parse server.... constant _SESSIONSTATUS_AUTHMETHOD_EMPTY (line 8) | _SESSIONSTATUS_AUTHMETHOD_EMPTY = "server.AuthMethod parse... constant _SESSIONSTATUS_TLS_DIAL (line 9) | _SESSIONSTATUS_TLS_DIAL = "TLS dial to sessionstat... constant _SESSIONSTATUS_RESP_VERIFY (line 10) | _SESSIONSTATUS_RESP_VERIFY = "Sessionstatus service r... constant _SESSIONSTATUS_IDCARD (line 11) | _SESSIONSTATUS_IDCARD = "Empty server.AuthMethod... constant _SESSIONSTATUS_UPDATE_FAIL (line 12) | _SESSIONSTATUS_UPDATE_FAIL = "Sessionstatus service h... constant _SESSIONSTATUS_MALFORMED_SESSION_ID (line 13) | _SESSIONSTATUS_MALFORMED_SESSION_ID = "SessionID has been atte... FILE: choices/service/choices/log_desc.go constant _CHOICES_CHOICESREQ (line 4) | _CHOICES_CHOICESREQ = "RPC.ChoicesReq" constant _CHOICES_ADMIN_CODE (line 5) | _CHOICES_ADMIN_CODE = "Unable to fetch admin code from data... constant _CHOICES_NO_FOR_VOTER (line 6) | _CHOICES_NO_FOR_VOTER = "No choices for this voter ID" constant _CHOICES_FROM_DB (line 7) | _CHOICES_FROM_DB = "Unable to fetch choices for this vot... constant _CHOICES_CHOICESRESP (line 8) | _CHOICES_CHOICESRESP = "RPC.ChoicesResp" constant _CHOICES_VOTERCHOICESREQ (line 9) | _CHOICES_VOTERCHOICESREQ = "RPC.VoterChoicesReq" constant _CHOICES_VOTER_NO_AUTH (line 10) | _CHOICES_VOTER_NO_AUTH = "Voter has not been authenticated" constant _CHOICES_SESSION_ID (line 11) | _CHOICES_SESSION_ID = "Malformed SessionID" constant _CHOICES_SESSION_ID_EXPIRED (line 12) | _CHOICES_SESSION_ID_EXPIRED = "SessionID has been expired" constant _CHOICES_NO_VOTER_IN_VOTERS_LIST (line 13) | _CHOICES_NO_VOTER_IN_VOTERS_LIST = "No such voter ID in a voters list" constant _CHOICES_DB (line 14) | _CHOICES_DB = "Successfully got choices for this vo... constant _CHOICES_CHECK_VOTED (line 15) | _CHOICES_CHECK_VOTED = "Unable to get a response from databa... constant _CHOICES_VOTERCHOICESRESP (line 16) | _CHOICES_VOTERCHOICESRESP = "RPC.VoterChoicesResp" constant _CHOICES_START (line 17) | _CHOICES_START = "Failed to transform service start ti... constant _CHOICES_STOP (line 18) | _CHOICES_STOP = "Failed to transform service stop tim... constant _CHOICES_AUTH (line 19) | _CHOICES_AUTH = "Failed to parse authentication confi... constant _CHOICES_SERVER (line 20) | _CHOICES_SERVER = "Failed to parse server configuration... constant _CHOICES_SERVER_SERVE (line 21) | _CHOICES_SERVER_SERVE = "Failed to serve choices service to c... FILE: choices/service/choices/main.go type RPC (line 27) | type RPC struct method Choices (line 58) | func (r *RPC) Choices(args ChoicesArgs, resp *Response) (err error) { method VoterChoices (line 82) | func (r *RPC) VoterChoices(args VoterArgs, resp *Response) (err error) { type ChoicesArgs (line 35) | type ChoicesArgs struct type VoterArgs (line 43) | type VoterArgs struct type Response (line 48) | type Response struct function main (line 154) | func main() { function choicesmain (line 160) | func choicesmain() (code int) { FILE: collector-admin/ivxv_admin/agent_daemon.py function main_loop (line 55) | def main_loop(): function generate_state_data (line 124) | def generate_state_data(): function get_cfg_applying_state (line 175) | def get_cfg_applying_state(cfg_key, state): function get_agent_metadata (line 204) | def get_agent_metadata(): function apply_cfg (line 211) | def apply_cfg(state) -> typing.Set[subprocess.Popen]: function apply_cfg_for_services (line 235) | def apply_cfg_for_services(cfg_type, cfg_key, state) -> subprocess.Popen... function ping_service (line 275) | def ping_service(service_id, service_data): function generate_stats_data (line 328) | def generate_stats_data(force=False): function normalize_stats (line 377) | def normalize_stats(stats_data): function query_logmon_stats (line 414) | def query_logmon_stats(address): function check_management_db (line 460) | def check_management_db(): function get_collector_data (line 479) | def get_collector_data(): function get_logmon_data (line 500) | def get_logmon_data(): function register_collector_state (line 516) | def register_collector_state(db): function is_db_accessible (line 534) | def is_db_accessible(check_value): FILE: collector-admin/ivxv_admin/cli_utils/__init__.py function init_cli_util (line 18) | def init_cli_util(docstr, allow_root=False): function ask_user_confirmation (line 50) | def ask_user_confirmation(question): FILE: collector-admin/ivxv_admin/cli_utils/admin_storage_utils.py function ivxv_create_data_dirs_util (line 31) | def ivxv_create_data_dirs_util(): function ivxv_collector_init_util (line 58) | def ivxv_collector_init_util(): function database_util (line 93) | def database_util(): function database_dump_util (line 123) | def database_dump_util(): function database_reset_util (line 143) | def database_reset_util(): function init_data_directories (line 177) | def init_data_directories(): function init_management_database (line 203) | def init_management_database(): function init_management_datafiles (line 212) | def init_management_datafiles(): FILE: collector-admin/ivxv_admin/cli_utils/backup_utils.py function insert_backup_crontab (line 20) | def insert_backup_crontab(data: str, crontab: str) -> str: function __get_backup_crontab_block (line 35) | def __get_backup_crontab_block(data: str) -> (str, bool): function remove_backup_crontab (line 75) | def remove_backup_crontab(data: str) -> str: function backup_crontab_generator_util (line 89) | def backup_crontab_generator_util(): function backup_util (line 175) | def backup_util(): function exec_backup_service_cmd (line 268) | def exec_backup_service_cmd(backup_service, *cmd): function backup_management_cfg (line 281) | def backup_management_cfg(backup_service): FILE: collector-admin/ivxv_admin/cli_utils/config_utils/command_load.py function main (line 38) | def main(): function register_cfg (line 152) | def register_cfg( function register_cfg_in_fs (line 252) | def register_cfg_in_fs(cmd_type, function check_cmd_loading_state (line 303) | def check_cmd_loading_state(cmd_type): function check_signer_permissions (line 333) | def check_signer_permissions(cmd_type, filename): function register_user_permissions (line 365) | def register_user_permissions(db, user_cn, roles): function validate_lists_consistency (line 375) | def validate_lists_consistency(cmd_type, cmd_filepath): FILE: collector-admin/ivxv_admin/cli_utils/config_utils/config_apply.py function main (line 23) | def main(): function get_cfg_data (line 95) | def get_cfg_data(db): function load_tech_cfg (line 139) | def load_tech_cfg(tech_cfg_ver, election_cfg_ver, has_election_cfg): function prepare_service_list (line 171) | def prepare_service_list(services, service_ids): function apply_cfg (line 197) | def apply_cfg(cfg_types, services, tech_cfg, cfg_data): function apply_cfg_to_services (line 236) | def apply_cfg_to_services(services, cfg_type, tech_cfg, cfg_data): function aggregate_results (line 357) | def aggregate_results(results): FILE: collector-admin/ivxv_admin/cli_utils/config_utils/config_validate.py function main (line 12) | def main(): function validate_cfg_consistency (line 61) | def validate_cfg_consistency( function validate_cfg_election_id (line 102) | def validate_cfg_election_id(validated_cfg): function validate_cfg_files (line 133) | def validate_cfg_files(cfg_files, plain): function validate_voters_lists_consistency (line 149) | def validate_voters_lists_consistency(cfg_objects): function validate_lists_consistency (line 220) | def validate_lists_consistency(cfg_objects, voterforeignehak): function validate_choices_consistency (line 252) | def validate_choices_consistency(districts, choices_cfg): function validate_voters_consistency (line 274) | def validate_voters_consistency( FILE: collector-admin/ivxv_admin/cli_utils/config_utils/load_secret_data_file.py function main (line 19) | def main(): function validate_secret_file (line 143) | def validate_secret_file(secret_type, file_content, service_id): FILE: collector-admin/ivxv_admin/cli_utils/config_utils/voter_list_download.py function main (line 23) | def main(): function write_voter_list_zip (line 187) | def write_voter_list_zip(content, version, output_filepath): function register_voter_list (line 207) | def register_voter_list(filepath, timestamp, version): FILE: collector-admin/ivxv_admin/cli_utils/service_utils.py function export_votes_util (line 52) | def export_votes_util(): function export_votes (line 75) | def export_votes(must_consolidate, output_filename): function generate_processor_input_util (line 133) | def generate_processor_input_util(): function generate_processor_check_cfg (line 161) | def generate_processor_check_cfg(): function generate_processor_input (line 240) | def generate_processor_input(election_id, processor_check_cfg, output_fi... function copy_logs_to_logmon_util (line 357) | def copy_logs_to_logmon_util(): function copy_logs_from_host_to_logmon (line 441) | def copy_logs_from_host_to_logmon(hostname, logmon_account): function update_software_pkg_util (line 477) | def update_software_pkg_util(): function manage_service (line 585) | def manage_service(): function voterstats_util (line 643) | def voterstats_util(): function import_voterstats (line 727) | def import_voterstats(stats_type, service, filepath, log_level): function export_voterstats (line 755) | def export_voterstats(stats_type, filepath): function voting_sessions_util (line 793) | def voting_sessions_util(): function import_voting_sessions (line 853) | def import_voting_sessions( function remove_ivxv_admin_crontab (line 883) | def remove_ivxv_admin_crontab(): function generate_detail_stats_crontab (line 890) | def generate_detail_stats_crontab(cfg: dict): function detail_stats_crontab_editor (line 924) | def detail_stats_crontab_editor() -> int: function remove_detail_stats_crontab (line 984) | def remove_detail_stats_crontab(data: str) -> str: function insert_detail_stats_crontab (line 998) | def insert_detail_stats_crontab(data: str, crontab: str) -> str: function __get_detail_stats_crontab_block (line 1013) | def __get_detail_stats_crontab_block(data: str) -> (str, bool): function install_detail_stats_crontab (line 1053) | def install_detail_stats_crontab(): function generate_voting_facts_crontab (line 1059) | def generate_voting_facts_crontab(cfg: dict): function voting_facts_crontab_editor (line 1093) | def voting_facts_crontab_editor() -> int: function remove_voting_facts_crontab (line 1153) | def remove_voting_facts_crontab(data: str) -> str: function insert_voting_facts_crontab (line 1167) | def insert_voting_facts_crontab(data: str, crontab: str) -> str: function __get_voting_facts_crontab_block (line 1182) | def __get_voting_facts_crontab_block(data: str) -> (str, bool): function install_voting_facts_crontab (line 1222) | def install_voting_facts_crontab(): function voting_facts_util (line 1228) | def voting_facts_util(): function create_voter_list_download_crontab (line 1325) | def create_voter_list_download_crontab(cfg: dict): FILE: collector-admin/ivxv_admin/cli_utils/status_utils.py function users_list_util (line 14) | def users_list_util(): function status_util (line 36) | def status_util(): function cfg_state_filters (line 117) | def cfg_state_filters(filters, state): FILE: collector-admin/ivxv_admin/collector_state.py function generate_collector_state (line 27) | def generate_collector_state(db): function detect_collector_state (line 89) | def detect_collector_state(state): function generate_voter_list_state (line 140) | def generate_voter_list_state(state): function generate_election_state (line 175) | def generate_election_state(state): FILE: collector-admin/ivxv_admin/command_file.py function load_collector_cmd_file (line 30) | def load_collector_cmd_file(cmd_type, filename, plain=False): function load_cfg_file_content (line 102) | def load_cfg_file_content(cmd_type, cfg_filename, cmd_filename): function ck_json_dict_key_uniqueness (line 175) | def ck_json_dict_key_uniqueness(args): function load_plain_cfg_file (line 188) | def load_plain_cfg_file(cmd_type, dirpath, filename): function get_command_filename (line 216) | def get_command_filename(cmd_type, filenames_in_bdoc): function check_cmd_signature (line 266) | def check_cmd_signature(cmd_type, filename): function exec_container_verifier (line 344) | def exec_container_verifier(trust_container_filepath, filepath): function log_cfg_validation_errors (line 381) | def log_cfg_validation_errors(items, prefix="/"): function load_yaml_file (line 390) | def load_yaml_file(fp): FILE: collector-admin/ivxv_admin/config.py function cfg_path (line 74) | def cfg_path(cfg_path_name, filename): FILE: collector-admin/ivxv_admin/config_validator/choices_list.py class ChoicesListSchema (line 13) | class ChoicesListSchema(Model): method validate (line 18) | def validate(self, partial=False, convert=True, app_data=None, **kwargs): FILE: collector-admin/ivxv_admin/config_validator/districts_list.py class DistrictsListSchema (line 12) | class DistrictsListSchema(Model): class DistrictSchema (line 15) | class DistrictSchema(Model): class RegionSchema (line 20) | class RegionSchema(Model): FILE: collector-admin/ivxv_admin/config_validator/election_conf.py class ElectionConfigSchema (line 25) | class ElectionConfigSchema(Model): class ElectionVerificationSchema (line 30) | class ElectionVerificationSchema(Model): class ElectionVotingSchema (line 38) | class ElectionVotingSchema(Model): method validate_ratelimitminutes (line 43) | def validate_ratelimitminutes(self, data, value): class ElectionPeriodSchema (line 56) | class ElectionPeriodSchema(Model): class VoterListSchema (line 68) | class VoterListSchema(Model): class VisSchema (line 74) | class VisSchema(Model): class XroadSchema (line 83) | class XroadSchema(Model): class BallotSchema (line 90) | class BallotSchema(Model): class AuthSchema (line 98) | class AuthSchema(Model): class TicketAuthSchema (line 102) | class TicketAuthSchema(Model): class TLSAuthSchema (line 107) | class TLSAuthSchema(Model): class AgeSchema (line 120) | class AgeSchema(Model): class MIDSchema (line 130) | class MIDSchema(Model): method validate_phonerequired (line 147) | def validate_phonerequired(self, data, value): class SmartIDSchema (line 159) | class SmartIDSchema(Model): class StatsSchema (line 185) | class StatsSchema(Model): class DetailStatsSchema (line 187) | class DetailStatsSchema(Model): class SchedulerSchema (line 188) | class SchedulerSchema(Model): class CronSchema (line 189) | class CronSchema(Model): class VotingFactsSchema (line 200) | class VotingFactsSchema(Model): class SchedulerSchema (line 201) | class SchedulerSchema(Model): class CronSchema (line 202) | class CronSchema(Model): method validate_questions (line 215) | def validate_questions(self, data, value): method validate_period (line 221) | def validate_period(self, data, value): FILE: collector-admin/ivxv_admin/config_validator/fields.py class ElectionIdType (line 15) | class ElectionIdType(StringType): method validate (line 18) | def validate(self, value, context=None): class CertificateType (line 33) | class CertificateType(StringType): method validate (line 36) | def validate(self, value, context=None): class PublicKeyType (line 49) | class PublicKeyType(StringType): method validate (line 52) | def validate(self, value, context=None): FILE: collector-admin/ivxv_admin/config_validator/schemas.py function protocol_cfg (line 18) | def protocol_cfg(mapping, **kwargs): class DummySchema (line 52) | class DummySchema(Model): class OCSPSchema (line 57) | class OCSPSchema(Model): class OCSPSchemaNoURL (line 67) | class OCSPSchemaNoURL(Model): class TSPSchema (line 74) | class TSPSchema(Model): class TSPSchemaNoURL (line 84) | class TSPSchemaNoURL(Model): class BDocSchema (line 92) | class BDocSchema(Model): method validate_tsp (line 104) | def validate_tsp(self, data, value): class ContainerSchema (line 114) | class ContainerSchema(Model): FILE: collector-admin/ivxv_admin/config_validator/tech_conf.py class ServicesSchema (line 17) | class ServicesSchema(Model): class BackupServiceSchema (line 20) | class BackupServiceSchema(Model): class ServiceSchema (line 25) | class ServiceSchema(Model): class CollectorTechnicalConfigSchema (line 46) | class CollectorTechnicalConfigSchema(Model): class FilterSchema (line 51) | class FilterSchema(Model): class TLSFilterSchema (line 54) | class TLSFilterSchema(Model): class CodecFilterSchema (line 76) | class CodecFilterSchema(Model): class SegmentSchema (line 86) | class SegmentSchema(Model): class LogServerSchema (line 93) | class LogServerSchema(Model): class StatusServerSchema (line 100) | class StatusServerSchema(Model): class SessionServiceSchema (line 102) | class SessionServiceSchema(Model): class FileStorageServiceSchema (line 113) | class FileStorageServiceSchema(Model): class EtcdStorageServiceSchema (line 117) | class EtcdStorageServiceSchema(Model): class BackupTimeType (line 135) | class BackupTimeType(StringType): method validate (line 138) | def validate(self, value, context=None): FILE: collector-admin/ivxv_admin/config_validator/trust_conf.py class TrustRootSchema (line 12) | class TrustRootSchema(Model): FILE: collector-admin/ivxv_admin/config_validator/user_management.py class UserManagementCommandSchema (line 13) | class UserManagementCommandSchema(Model): method validate (line 19) | def validate(self, partial=False, convert=True, app_data=None, **kwargs): FILE: collector-admin/ivxv_admin/config_validator/validator_util.py function validate_cfg (line 19) | def validate_cfg(cfg, schema_name): FILE: collector-admin/ivxv_admin/config_validator/voters_list.py class VoterListChangesetSkipSchema (line 15) | class VoterListChangesetSkipSchema(Model): function parse_voters_list (line 23) | def parse_voters_list(list_content): function validate_voter_record (line 93) | def validate_voter_record(fields, is_original_list): FILE: collector-admin/ivxv_admin/db.py class IVXVManagerDb (line 105) | class IVXVManagerDb: method __init__ (line 117) | def __init__(self, for_update=False, retries=30, retry_delay=0.1): method __enter__ (line 133) | def __enter__(self, mode=None): method __exit__ (line 160) | def __exit__(self, *args): method get_value (line 165) | def get_value(self, key): method set_value (line 169) | def set_value(self, key, value, safe=False): method rm_value (line 243) | def rm_value(self, key): method get_all_values (line 250) | def get_all_values(self, section=None): method reset (line 277) | def reset(cls): method dump (line 289) | def dump(self, filter_keys=None): method keys (line 300) | def keys(self): function check_db_dir (line 305) | def check_db_dir(): FILE: collector-admin/ivxv_admin/event_log.py function init_event_log (line 15) | def init_event_log(): function register_service_event (line 24) | def register_service_event(event, level='INFO', service=None, params=None): function event_log_dump_util (line 40) | def event_log_dump_util(): FILE: collector-admin/ivxv_admin/http_daemon.py function index (line 24) | def index(): function upload_cmd_file (line 34) | def upload_cmd_file(): function download_ballots (line 67) | def download_ballots(): function download_voter_stats (line 96) | def download_voter_stats(): function download_processor_input (line 123) | def download_processor_input(): function download_voting_sessions (line 158) | def download_voting_sessions(): function skip_voters_lists (line 199) | def skip_voters_lists(): function daemon (line 224) | def daemon(): FILE: collector-admin/ivxv_admin/lib/__init__.py class IvxvError (line 28) | class IvxvError(Exception): function register_tech_cfg_items (line 32) | def register_tech_cfg_items(cfg, cfg_version): function register_removed_services (line 48) | def register_removed_services(db, cfg, cfg_version): function reset_list_loading_state (line 107) | def reset_list_loading_state(db, list_type, list_descr, log_msg): function gen_service_record_defaults (line 152) | def gen_service_record_defaults(db, cfg): function set_tech_cfg_service_cond_values (line 196) | def set_tech_cfg_service_cond_values(db, cfg): function manage_db_cond_value (line 213) | def manage_db_cond_value(db, service_id, key, set_value, value=None): function manage_db_mobileid_fields (line 228) | def manage_db_mobileid_fields(db): function manage_db_tsp_fields (line 249) | def manage_db_tsp_fields(db): function gen_host_record_defaults (line 268) | def gen_host_record_defaults(db, cfg): function gen_logmon_data (line 297) | def gen_logmon_data(db, logging_params): function cfg_type_verbose (line 307) | def cfg_type_verbose(cfg_type): function get_services (line 315) | def get_services(db=None, function clean_dir (line 381) | def clean_dir(path): function populate_user_permissions (line 389) | def populate_user_permissions(db): function get_current_voter_list_changeset_no (line 414) | def get_current_voter_list_changeset_no(db): function get_loaded_cfg_file_path (line 428) | def get_loaded_cfg_file_path(cfg_type): FILE: collector-admin/ivxv_admin/lib/lockfile.py class PidLocker (line 22) | class PidLocker: method __init__ (line 38) | def __init__(self, pidfile_name, timeout=0): method acquire_lock_with_timeout (line 51) | def acquire_lock_with_timeout(self, to): method rm_pid (line 78) | def rm_pid(self): method get_pidfile_path (line 88) | def get_pidfile_path(cls, pidfile_name): method pidfile_exists (line 94) | def pidfile_exists(cls, pidfile_name): method rm_stale_pidfile (line 100) | def rm_stale_pidfile(cls, pidfile_name): function main (line 122) | def main(): FILE: collector-admin/ivxv_admin/service/__init__.py function get_service_cfg_state (line 13) | def get_service_cfg_state(db, cfg): function generate_service_list (line 93) | def generate_service_list(service_networks, service_id_filter=None): function generate_service_hints (line 133) | def generate_service_hints(services): FILE: collector-admin/ivxv_admin/service/backup_service.py function install_backup_crontab (line 7) | def install_backup_crontab(): FILE: collector-admin/ivxv_admin/service/logging.py class ServiceLogger (line 10) | class ServiceLogger(logging.LoggerAdapter): method process (line 17) | def process(self, msg, kwargs): method log (line 24) | def log(self, level, msg, *args, **kwargs): FILE: collector-admin/ivxv_admin/service/remote_exec.py function exec_remote_cmd (line 9) | def exec_remote_cmd(cmd, **kw): FILE: collector-admin/ivxv_admin/service/service.py class Service (line 39) | class Service: method __init__ (line 47) | def __init__(self, service_id, service_data): method __enter__ (line 64) | def __enter__(self): method __exit__ (line 67) | def __exit__(self, *args): method __repr__ (line 70) | def __repr__(self): method close (line 74) | def close(self): method hostname (line 79) | def hostname(self): method service_type (line 84) | def service_type(self): method service_account_name (line 89) | def service_account_name(self): method service_systemctl_id (line 98) | def service_systemctl_id(self): method service_data_dir (line 103) | def service_data_dir(self): method deb_pkg_name (line 108) | def deb_pkg_name(self): method get_db_key (line 112) | def get_db_key(self, name): method register_event (line 116) | def register_event(self, event, params, level='INFO'): method register_bg_info (line 121) | def register_bg_info(self, bg_info): method remove_root_access (line 129) | def remove_root_access(self): method install_service (line 153) | def install_service(self): method install_service_pkg (line 196) | def install_service_pkg(self, is_update=False, package=None): method update_ivxv_common_pkg (line 255) | def update_ivxv_common_pkg(self): method init_service (line 284) | def init_service(self): method init_service_host (line 310) | def init_service_host(self): method install_ivxv_common_pkg (line 383) | def install_ivxv_common_pkg(self, pkg_path, remote_path): method remove_service_pkg (line 413) | def remove_service_pkg(self): method restart_service (line 462) | def restart_service(self): method stop_service (line 503) | def stop_service(self): method configure_logging (line 522) | def configure_logging(self, tech_cfg): method load_apply_state (line 591) | def load_apply_state(self, filepath, attempt_no=0): method update_apply_state (line 611) | def update_apply_state(self, **kw): method apply_tech_cfg (line 620) | def apply_tech_cfg(self, cfg_ver, tech_cfg): method apply_election_cfg (line 692) | def apply_election_cfg(self, cfg_ver): method apply_list (line 743) | def apply_list(self, list_type, changeset_no=None): method load_secret_file (line 785) | def load_secret_file(self, secret_type, filepath, checksum): method copy_cfg_to_service (line 837) | def copy_cfg_to_service(self, cfg_type, changeset_no=None): method register_cfg_version (line 888) | def register_cfg_version(self, cfg_type, cfg_ver, service_state): method register_state (line 902) | def register_state(self, db, state, bg_info=None): method ping (line 930) | def ping(self): method _get_cfg_versions_from_service (line 996) | def _get_cfg_versions_from_service(self): method _verify_cfg_version (line 1082) | def _verify_cfg_version(self): method scp (line 1152) | def scp(self, method ssh (line 1195) | def ssh(self, cmd, account=None, fwd_auth_agent=False, **kw): method get_log_buffer (line 1217) | def get_log_buffer(self): FILE: collector-admin/ivxv_admin/wsgi.py function abort (line 41) | def abort(code=500, text='Unknown Error.'): function log_query (line 53) | def log_query(): function context (line 63) | def context(): function fwd_request (line 145) | def fwd_request(): function upload_cfg (line 174) | def upload_cfg(): function eventlog (line 213) | def eventlog(): function get_ballot_box_state (line 239) | def get_ballot_box_state(): FILE: collector-admin/site/js/config.js function loadPageData (line 10) | function loadPageData() { function display_cfg_panel (line 81) | function display_cfg_panel(id_prefix, state, cfg, title) { function toggle_apply_log (line 177) | function toggle_apply_log(toggle_button) { function refresh_log (line 191) | function refresh_log(logbox, filename) { function reset_upload_form (line 210) | function reset_upload_form() { function prepareUpload (line 221) | function prepareUpload(event) { function uploadFiles (line 230) | function uploadFiles(event) { FILE: collector-admin/site/js/downloads.js function loadPageData (line 10) | function loadPageData() { function downloadBallot (line 122) | function downloadBallot(consolidate) { FILE: collector-admin/site/js/index.js function loadPageData (line 10) | function loadPageData() { FILE: collector-admin/site/js/ivxv.js function getContextData (line 14) | function getContextData() { function showErrorMessage (line 82) | function showErrorMessage(msg, retain_content) { function hideErrorMessage (line 97) | function hideErrorMessage() { function userHasPermission (line 110) | function userHasPermission(permission) { function copyObjectToHtml (line 120) | function copyObjectToHtml(object_val, targetPrefix) { function formatTime (line 134) | function formatTime(dateTime, offset) { function outputCmdVersion (line 155) | function outputCmdVersion(selector, cfg_type, cfg) { function fillVoterListStateCounters (line 196) | function fillVoterListStateCounters(list_state) { function sanitizeJSON (line 218) | function sanitizeJSON(context) { function sanitizePrimitive (line 240) | function sanitizePrimitive(context) { FILE: collector-admin/site/js/lists.js function loadPageData (line 10) | function loadPageData() { function reset_upload_form (line 99) | function reset_upload_form() { function prepareUpload (line 110) | function prepareUpload(event) { function uploadFiles (line 119) | function uploadFiles(event) { FILE: collector-admin/site/js/log.js function loadPageData (line 10) | function loadPageData() { FILE: collector-admin/site/js/services.js function loadPageData (line 10) | function loadPageData() { FILE: collector-admin/site/js/stats.js function loadPageData (line 10) | function loadPageData() { FILE: collector-admin/site/js/users.js function loadPageData (line 10) | function loadPageData() { function reset_upload_form (line 61) | function reset_upload_form() { function prepareUpload (line 72) | function prepareUpload(event) { function uploadFiles (line 81) | function uploadFiles(event) { FILE: common/collector/age/age.go type Method (line 22) | type Method constant EstPIC (line 26) | EstPIC Method = "estpic" type Getter (line 31) | type Getter function Register (line 42) | func Register(m Method, g Getter) { type Conf (line 49) | type Conf struct type Checker (line 57) | type Checker struct method Check (line 83) | func (c *Checker) Check(voter string) (err error) { function New (line 65) | func New(c *Conf) (checker *Checker, err error) { function estpic (line 108) | func estpic(voter string) (dob time.Time, err error) { FILE: common/collector/age/age_test.go function TestCheck (line 11) | func TestCheck(t *testing.T) { function TestEstPIC (line 62) | func TestEstPIC(t *testing.T) { FILE: common/collector/age/log_desc.go constant _AGE_CHECKER_UNKNOWN (line 4) | _AGE_CHECKER_UNKNOWN = "Unknown voter age checking utility" constant _AGE_TZ (line 5) | _AGE_TZ = "Failed to parse timezone from configuration file" constant _AGE_DOF (line 6) | _AGE_DOF = "Unable to calculate voter date of birth from vot... constant _AGE_YOUNG (line 7) | _AGE_YOUNG = "Voter is too young" constant _AGE_ID (line 8) | _AGE_ID = "Non-Estonian voter ID" constant _AGE_DOF_FORMAT (line 9) | _AGE_DOF_FORMAT = "Invalid format of voter date of birth" FILE: common/collector/auth/auth.go type Type (line 16) | type Type constant Dummy (line 20) | Dummy Type = "dummy" constant TLS (line 21) | TLS Type = "tls" constant Ticket (line 22) | Ticket Type = "ticket" type Verifier (line 45) | type Verifier interface type VoteIdentifier (line 64) | type VoteIdentifier interface type TokenData (line 72) | type TokenData interface type NewFunc (line 78) | type NewFunc function Register (line 88) | func Register(t Type, n NewFunc) { type Conf (line 98) | type Conf type Auther (line 101) | type Auther method Verify (line 136) | func (a Auther) Verify(ctx context.Context, t Type, token []byte) ( method Data (line 155) | func (a Auther) Data(t Type, token []byte) (data []byte, err error) { function Configure (line 105) | func Configure(c Conf) (a Auther, err error) { FILE: common/collector/auth/dummy/dummy.go function init (line 22) | func init() { type Conf (line 33) | type Conf struct method Verify (line 40) | func (c *Conf) Verify(_ context.Context, token []byte) (name *pkix.Nam... FILE: common/collector/auth/dummy/dummy_test.go constant authenticatedDN (line 11) | authenticatedDN = "\x30\x1f\x31\x1d\x30\x1b\x06\x03\x55\x04\x03\x13" + constant unauthenticatedDN (line 15) | unauthenticatedDN = "\x30\x21\x31\x1f\x30\x1d\x06\x03\x55\x04\x03" + function TestVerify (line 20) | func TestVerify(t *testing.T) { FILE: common/collector/auth/log_desc.go constant _AUTH_MALFORMED (line 4) | _AUTH_MALFORMED = "Wraps errors which are cause by malformed authentica... constant _AUTH_CERT (line 5) | _AUTH_CERT = "Wraps errors which are cause by invalid authenticati... constant _AUTH_AUTHORIZED (line 6) | _AUTH_AUTHORIZED = "Wraps errors where authentication succeeded, but the... constant _AUTH_UNKNOWN (line 7) | _AUTH_UNKNOWN = "Unknown authentication method" constant _AUTH_CFG (line 8) | _AUTH_CFG = "Failed to configure authentication utility" FILE: common/collector/auth/ticket/log_desc.go constant _TICKET_NEW_COOKIE (line 4) | _TICKET_NEW_COOKIE = "Failed to create new cookie from provided AES key" constant _TICKET_KEY (line 5) | _TICKET_KEY = "Failed to read AES key file from file system" constant _TICKET_NEW (line 6) | _TICKET_NEW = "Failed to create authentication ticket (cookie)" constant _TICKET_VOTEID (line 7) | _TICKET_VOTEID = "Failed to create vote ID (16-byte random value)" constant _TICKET_JSON (line 8) | _TICKET_JSON = "Failed to JSON marshal authentication ticket content" constant _TICKET_VERIFY (line 9) | _TICKET_VERIFY = "Failed to verify authentication ticket passed by a... constant _TICKET_UJSON (line 10) | _TICKET_UJSON = "Failed to JSON unmarshal authentication ticket con... FILE: common/collector/auth/ticket/ticket.go function init (line 28) | func init() { type Conf (line 36) | type Conf struct type T (line 41) | type T struct method Create (line 83) | func (t *T) Create(subject pkix.Name) (ticket []byte, err error) { method Verify (line 100) | func (t *T) Verify(_ context.Context, token []byte) (name *pkix.Name, ... method VoteIdentifier (line 113) | func (t *T) VoteIdentifier(token []byte) (voteID []byte, err error) { method CreateData (line 123) | func (t *T) CreateData(plain []byte) (ticket []byte, err error) { method TokenData (line 130) | func (t *T) TokenData(token []byte) (data []byte, err error) { method open (line 134) | func (t *T) open(token []byte) (ticket tt, err error) { method openplain (line 151) | func (t *T) openplain(token []byte) (plain []byte, err error) { function New (line 46) | func New(key cookie.Key) (t *T, err error) { function NewFromSystem (line 56) | func NewFromSystem() (t *T, err error) { function NewFromSystemAsCookie (line 69) | func NewFromSystemAsCookie() (*cookie.C, error) { type tt (line 77) | type tt struct FILE: common/collector/auth/tls/log_desc.go constant _TLS_CFG (line 4) | _TLS_CFG = "Cannot YAML parse TLS authentication confi... constant _TLS_NEW (line 5) | _TLS_NEW = "Failed to configure TLS authentication uti... constant _TLS_CA (line 6) | _TLS_CA = "No CA certificate that would verify client... constant _TLS_CA_PARSE (line 7) | _TLS_CA_PARSE = "Failed to parse CA certificate" constant _TLS_INTERMEDIATE_CA_PARSE (line 8) | _TLS_INTERMEDIATE_CA_PARSE = "Failed to parse intermediate CA certificate" constant _TLS_OCSP (line 9) | _TLS_OCSP = "Failed to configure OCSP client for voter ... constant _TLS_TICKET (line 10) | _TLS_TICKET = "TLS authenticated client should not suppor... constant _TLS_CERT (line 11) | _TLS_CERT = "Voter hasn't provided certificates on TLS ... constant _TLS_CERT_VERIFY (line 12) | _TLS_CERT_VERIFY = "Voter certificate verification failed" constant _TLS_CERT_VERIFY_OCSP (line 13) | _TLS_CERT_VERIFY_OCSP = "Voter certificate OCSP verification failed" constant _TLS_CERT_VERIFY_OCSP_BAD (line 14) | _TLS_CERT_VERIFY_OCSP_BAD = "Voter certificate OCSP status is not good" FILE: common/collector/auth/tls/tls.go function init (line 27) | func init() { type Conf (line 42) | type Conf struct type V (line 49) | type V struct method Verify (line 81) | func (v *V) Verify(ctx context.Context, token []byte) (*pkix.Name, err... function New (line 56) | func New(c *Conf) (v *V, err error) { FILE: common/collector/cmd/verifier/main.go function main (line 17) | func main() { function verifierMain (line 25) | func verifierMain() (int, error) { FILE: common/collector/command/command.go function mkflag (line 21) | func mkflag(name, value, desc string) *string { function mkusage (line 28) | func mkusage(usage string, args ...string) func() { constant CheckTrust (line 53) | CheckTrust = iota constant CheckConf (line 54) | CheckConf constant CheckVersion (line 55) | CheckVersion constant CheckInput (line 56) | CheckInput constant Execute (line 57) | Execute type C (line 61) | type C struct method Cleanup (line 241) | func (c *C) Cleanup(code int) int { method Error (line 256) | func (c *C) Error(code int, err log.ErrorEntry, a ...interface{}) int { function New (line 106) | func New(tag string, usage string, args ...string) (c *C) { function NewWithoutStorage (line 113) | func NewWithoutStorage(tag string, usage string, args ...string) (c *C) { function newC (line 117) | func newC(tag string, usage string, withStorage bool, args ...string) (c... FILE: common/collector/command/exit/exit.go constant OK (line 12) | OK = 0 constant Usage (line 17) | Usage = 64 constant DataErr (line 21) | DataErr = 65 constant NoInput (line 26) | NoInput = 66 constant NoUser (line 30) | NoUser = 67 constant NoHost (line 34) | NoHost = 68 constant Unavailable (line 40) | Unavailable = 69 constant Software (line 45) | Software = 70 constant OSErr (line 52) | OSErr = 71 constant OSFile (line 57) | OSFile = 72 constant CantCreate (line 60) | CantCreate = 73 constant IOErr (line 63) | IOErr = 74 constant TempFail (line 69) | TempFail = 75 constant Protocol (line 73) | Protocol = 76 constant NoPerm (line 79) | NoPerm = 77 constant Config (line 81) | Config = 78 FILE: common/collector/command/log_desc.go constant _COMMAND_START (line 4) | _COMMAND_START = "Logger for the command-line application has been co... constant _COMMAND_OS (line 5) | _COMMAND_OS = "OS killed application with either SIGINT or SIGTERM" constant _COMMAND_CFG (line 6) | _COMMAND_CFG = "Failed to read application configuration file" constant _COMMAND_INSTANCE (line 7) | _COMMAND_INSTANCE = "Application is being loaded on an instance which id... constant _COMMAND_STORAGE (line 8) | _COMMAND_STORAGE = "Failed to configure storage service client for the ... constant _COMMAND_STOP (line 9) | _COMMAND_STOP = "Application is being stopped, cleanup in progress" FILE: common/collector/command/status/isatty_linux.go function isatty (line 11) | func isatty(fd uintptr) bool { FILE: common/collector/command/status/isatty_other.go function isatty (line 5) | func isatty(fd uintptr) bool { FILE: common/collector/command/status/status.go type Line (line 22) | type Line struct method Redraw (line 35) | func (l *Line) Redraw() { method redraw (line 44) | func (l *Line) redraw() { method setLine (line 48) | func (l *Line) setLine(s string) { method Static (line 65) | func (l *Line) Static(s string) { method Updatable (line 81) | func (l *Line) Updatable(initial string, redraw bool) Update { method Count (line 119) | func (l *Line) Count(total uint64, redraw bool) Add { method Percent (line 158) | func (l *Line) Percent(total uint64, redraw bool) Add { method push (line 201) | func (l *Line) push(stringer fmt.Stringer) { method Pop (line 206) | func (l *Line) Pop() { method Hide (line 221) | func (l *Line) Hide() { method Show (line 235) | func (l *Line) Show() { method Keep (line 251) | func (l *Line) Keep() { function New (line 30) | func New() *Line { type Update (line 76) | type Update type updatable (line 92) | type updatable struct method update (line 98) | func (u *updatable) update(s string) string { method String (line 109) | func (u updatable) String() string { return u.s } type Add (line 113) | type Add type count (line 134) | type count struct method add (line 141) | func (c *count) add(count uint64) uint64 { method String (line 151) | func (c count) String() string { return fmt.Sprintf(c.format, c.curren... type percent (line 174) | type percent struct method add (line 184) | func (p *percent) add(count uint64) uint64 { method String (line 199) | func (p percent) String() string { return fmt.Sprintf("%3d%%", p.perce... FILE: common/collector/conf/conf.go type C (line 36) | type C struct method trust (line 282) | func (c *C) trust(ctx context.Context, path string) (code int, err err... method parse (line 342) | func (c *C) parse(ctx context.Context, path, key string, v interface{}) ( type Election (line 44) | type Election struct method ServiceStartTime (line 117) | func (e Election) ServiceStartTime() (time.Time, error) { method ElectionStartTime (line 122) | func (e Election) ElectionStartTime() (time.Time, error) { method ElectionStopTime (line 127) | func (e Election) ElectionStopTime() (time.Time, error) { method ServiceStopTime (line 132) | func (e Election) ServiceStopTime() (time.Time, error) { method VerificationStopTime (line 137) | func (e Election) VerificationStopTime() (time.Time, error) { method VoterForeignEHAKDefault (line 143) | func (e Election) VoterForeignEHAKDefault() string { type Technical (line 151) | type Technical struct method Services (line 183) | func (t Technical) Services(network string) *Services { method Service (line 201) | func (t Technical) Service(id string) (network string, service *Servic... type Services (line 169) | type Services struct type Service (line 193) | type Service struct function Sensitive (line 219) | func Sensitive(id string) string { function TLS (line 225) | func TLS(sensitive string) (cert, key string) { function New (line 251) | func New(ctx context.Context, trust, election, technical string) (c *C, ... function unmarshal (line 381) | func unmarshal(key string, data map[string][]byte, v interface{}) (err e... FILE: common/collector/conf/conf_test.go function TestNew (line 12) | func TestNew(t *testing.T) { FILE: common/collector/conf/log_desc.go constant _CONF_START (line 4) | _CONF_START = "Starting to parse configuration .bdoc conta... constant _CONF_TRUST (line 5) | _CONF_TRUST = "Failed to parse trust configuration .bdoc c... constant _CONF_ELECTION (line 6) | _CONF_ELECTION = "Failed to parse election configuration .bdo... constant _CONF_TECH (line 7) | _CONF_TECH = "Failed to parse technical configuration .bd... constant _CONF_TRUST_READ (line 8) | _CONF_TRUST_READ = "Failed to read trust configuration .bdoc co... constant _CONF_TRUST_BDOC_EXT (line 9) | _CONF_TRUST_BDOC_EXT = "trust configuration container doesn't have ... constant _CONF_TRUST_OPEN (line 10) | _CONF_TRUST_OPEN = "Failed to open trust configuration .bdoc co... constant _CONF_TRUST_CONF (line 11) | _CONF_TRUST_CONF = "Failed to read trust configuration file" constant _CONF_BDOC_OPENER (line 12) | _CONF_BDOC_OPENER = "Configure container opener based on a trust... constant _CONF_REWIND (line 13) | _CONF_REWIND = "Rewind (back to beginning) trust configurat... constant _CONF_BDOC_VERIFY (line 14) | _CONF_BDOC_VERIFY = "Failed to verify .bdoc container" constant _CONF_TRUST_NO_SIG (line 15) | _CONF_TRUST_NO_SIG = "No signatures found in trust configuration ... constant _CONF_TRUST_BDOC_SIG_INFO (line 16) | _CONF_TRUST_BDOC_SIG_INFO = "Summary info of trust configuration .bdoc c... constant _CONF_BDOC_READ (line 17) | _CONF_BDOC_READ = "Unable to read .bdoc container" constant _CONF_BDOC_NO_SIG (line 18) | _CONF_BDOC_NO_SIG = "No signatures found in .bdoc container" constant _CONF_BDOC_SIG_INFO (line 19) | _CONF_BDOC_SIG_INFO = "Summary info of .bdoc container" constant _CONF_BDOC_DATA (line 20) | _CONF_BDOC_DATA = "Failed to read .bdoc container data" constant _CONF_YAML_READ (line 21) | _CONF_YAML_READ = "Failed to unmarshal YAML data from a .bdoc ... constant _CONF_YAML_NO_DATA (line 22) | _CONF_YAML_NO_DATA = "No such data in a .bdoc container" FILE: common/collector/conf/version/log_desc.go constant _VERSION_JSON (line 4) | _VERSION_JSON = "Failed to JSON marshal signature as { > getFilesystems() { method hex (line 80) | @JsonIgnore method DummyCardService (line 101) | public DummyCardService(Console console, I18n i18n) { method DummyCardService (line 105) | public DummyCardService(Console console, I18n i18n, boolean persistent) { method createCard (line 122) | @Override method createCards (line 128) | @Override method isPluggableService (line 139) | @Override method writeToFile (line 147) | protected void writeToFile() { FILE: common/java/src/integration-test/java/ee/ivxv/common/service/smartcard/dummy/DummyPKCS15Card.java class DummyPKCS15Card (line 8) | public class DummyPKCS15Card extends PKCS15Card { method DummyPKCS15Card (line 11) | public DummyPKCS15Card(String id, I18nConsole console, DummyCardServic... method isInitialized (line 16) | @Override method eraseFilesystem (line 21) | @Override method storeIndexedBlob (line 26) | @Override method storeBlob (line 32) | @Override method removeBlob (line 38) | @Override method getBlob (line 45) | @Override FILE: common/java/src/main/java/ee/ivxv/common/M.java type M (line 10) | @BaseName("i18n.common-msg") method getKey (line 122) | @Override FILE: common/java/src/main/java/ee/ivxv/common/asn1/ASN1Decodable.java type ASN1Decodable (line 7) | public interface ASN1Decodable { method readFromBytes (line 14) | void readFromBytes(byte[] in) throws ASN1DecodingException; FILE: common/java/src/main/java/ee/ivxv/common/asn1/ASN1DecodingException.java class ASN1DecodingException (line 7) | @SuppressWarnings("serial") method ASN1DecodingException (line 9) | public ASN1DecodingException(String str) { FILE: common/java/src/main/java/ee/ivxv/common/asn1/ASN1Encodable.java type ASN1Encodable (line 7) | public interface ASN1Encodable { method encode (line 13) | byte[] encode(); FILE: common/java/src/main/java/ee/ivxv/common/asn1/Ciphertext.java class Ciphertext (line 18) | public class Ciphertext implements ee.ivxv.common.asn1.ASN1Encodable, AS... method Ciphertext (line 25) | public Ciphertext() { method Ciphertext (line 35) | public Ciphertext(String oid, byte[] ct) { method encode (line 55) | @Override method readFromBytes (line 79) | @Override method getOID (line 139) | public String getOID() throws ASN1DecodingException { method getCiphertext (line 152) | public byte[] getCiphertext() throws ASN1DecodingException { FILE: common/java/src/main/java/ee/ivxv/common/asn1/Field.java class Field (line 17) | public class Field implements ASN1Encodable, ASN1Decodable { method Field (line 23) | public Field() {} method Field (line 30) | public Field(BigInteger i) { method Field (line 39) | public Field(String s) { method Field (line 48) | public Field(byte[] b) { method encode (line 57) | @Override method readFromBytes (line 76) | @Override method getInteger (line 94) | public BigInteger getInteger() throws ASN1DecodingException { method getString (line 110) | public String getString() throws ASN1DecodingException { method getBytes (line 126) | public byte[] getBytes() throws ASN1DecodingException { FILE: common/java/src/main/java/ee/ivxv/common/asn1/PKCS8PrivateKey.java class PKCS8PrivateKey (line 19) | public class PKCS8PrivateKey implements ee.ivxv.common.asn1.ASN1Encodabl... method PKCS8PrivateKey (line 27) | public PKCS8PrivateKey() {} method PKCS8PrivateKey (line 37) | public PKCS8PrivateKey(String oid, byte[] key, byte[] params) { method encode (line 67) | @Override method readFromBytes (line 100) | @Override method getOID (line 142) | public String getOID() throws ASN1DecodingException { method getKey (line 155) | public byte[] getKey() throws ASN1DecodingException { method getParameters (line 167) | public byte[] getParameters() { FILE: common/java/src/main/java/ee/ivxv/common/asn1/RSAParams.java class RSAParams (line 16) | public class RSAParams implements ee.ivxv.common.asn1.ASN1Encodable, ASN... method RSAParams (line 25) | public RSAParams() {} method RSAParams (line 34) | public RSAParams(BigInteger publicExponent, BigInteger privateExponent... method createPrivateKeyParams (line 47) | public static RSAParams createPrivateKeyParams(BigInteger d, BigIntege... method getPublicExponent (line 51) | public BigInteger getPublicExponent() { method getPrivateExponent (line 55) | public BigInteger getPrivateExponent() { method getModulus (line 59) | public BigInteger getModulus() { method encode (line 68) | @Override method readFromBytes (line 88) | @Override FILE: common/java/src/main/java/ee/ivxv/common/asn1/Sequence.java class Sequence (line 19) | public class Sequence implements ee.ivxv.common.asn1.ASN1Encodable, ASN1... method Sequence (line 25) | public Sequence() {} method Sequence (line 32) | public Sequence(BigInteger... ints) { method Sequence (line 44) | public Sequence(byte[]... encoded) { method Sequence (line 62) | public Sequence(String... strs) { method encode (line 74) | @Override method readFromBytes (line 92) | @Override method getBytes (line 117) | public byte[][] getBytes() throws ASN1DecodingException { method getIntegers (line 138) | public BigInteger[] getIntegers() throws ASN1DecodingException { method getStrings (line 158) | public String[] getStrings() throws ASN1DecodingException { FILE: common/java/src/main/java/ee/ivxv/common/asn1/X509PublicKey.java class X509PublicKey (line 18) | public class X509PublicKey implements ee.ivxv.common.asn1.ASN1Encodable,... method X509PublicKey (line 26) | public X509PublicKey() {} method X509PublicKey (line 36) | public X509PublicKey(String oid, byte[] key, byte[] params) { method encode (line 59) | @Override method readFromBytes (line 90) | @Override method getOID (line 124) | public String getOID() throws ASN1DecodingException { method getKey (line 137) | public byte[] getKey() throws ASN1DecodingException { method getParameters (line 162) | public byte[] getParameters() { FILE: common/java/src/main/java/ee/ivxv/common/cli/App.java class App (line 14) | public abstract class App> { method App (line 19) | public App(NameHolder name, List> tools) { method createContext (line 24) | public abstract T createContext(InitialContext ctx, Conf conf, CommonA... method createToolsMap (line 26) | private Map> createToolsMap(List> toolLi... FILE: common/java/src/main/java/ee/ivxv/common/cli/AppContext.java class AppContext (line 16) | public class AppContext { method AppContext (line 26) | public AppContext(InitialContext i, T conf, CommonArgs args) { method AppContext (line 32) | public AppContext(InitialContext i, T conf, CommonArgs args, Reporter ... method AppContext (line 38) | public AppContext(InitialContext i, T conf, CommonArgs args, Reporter ... FILE: common/java/src/main/java/ee/ivxv/common/cli/AppHelper.java class AppHelper (line 15) | class AppHelper { method AppHelper (line 24) | AppHelper(App app, CommonArgs cargs, I18nConsole console) { method walk (line 30) | static void walk(Args args, int level, BiConsumer, Integer> con... method showHelp (line 42) | void showHelp() { method showToolHelp (line 52) | void showToolHelp(Tool tool) { method showUsage (line 63) | private void showUsage() { method formatUsageArg (line 79) | private Object formatUsageArg(Arg arg) { method showTools (line 86) | private void showTools() { method showArgs (line 94) | private void showArgs(Args args) { method showParams (line 109) | private void showParams(Args args) { method indent (line 148) | private Message indent(int level, Enum key, Object... args) { method indent (line 152) | private Message indent(int level, Object arg) { method required (line 158) | private Object required(Enum key, String name, boolean isRequired) { FILE: common/java/src/main/java/ee/ivxv/common/cli/AppRunner.java class AppRunner (line 40) | public class AppRunner> { method AppRunner (line 63) | public AppRunner(App app) { method AppRunner (line 72) | public AppRunner(InitialContext ictx, App app) { method run (line 83) | public boolean run(String[] args) { method runInternal (line 148) | private boolean runInternal() throws Exception { method selectTool (line 180) | private Tool selectTool() { method runTool (line 199) | private , A extends Args> boolean runTool(U tool)... method checkUnknownOptions (line 231) | private void checkUnknownOptions() { method createContext (line 245) | private T createContext() { method readArgsFromYaml (line 262) | private void readArgsFromYaml(AppContext ctx, String toolName, Args... method logArgValues (line 276) | private void logArgValues(Args args) { type ErrorHandler (line 290) | interface ErrorHandler { method handleInvalidContainerException (line 291) | void handleInvalidContainerException(InvalidContainerException e); method handleParseException (line 293) | void handleParseException(ParseException e); method handleMessageException (line 295) | void handleMessageException(MessageException e); method handleThrowable (line 297) | void handleThrowable(Throwable e); class AppErrorHandler (line 300) | class AppErrorHandler implements ErrorHandler { method AppErrorHandler (line 304) | public AppErrorHandler() { method handleInvalidContainerException (line 308) | @Override method handleParseException (line 314) | @Override method handleMessageException (line 322) | @Override method handleThrowable (line 328) | @Override class ToolErrorHandler (line 335) | class ToolErrorHandler> implements ErrorHandler { method ToolErrorHandler (line 341) | public ToolErrorHandler(U tool) { method handleInvalidContainerException (line 347) | @Override method handleParseException (line 353) | @Override method handleMessageException (line 361) | @Override method handleThrowable (line 367) | @Override FILE: common/java/src/main/java/ee/ivxv/common/cli/Arg.java class Arg (line 35) | public abstract class Arg { method Arg (line 61) | public Arg(NameHolder name) { method aString (line 67) | public static Arg aString(NameHolder n) { method aFlag (line 71) | public static Arg aFlag(NameHolder n) { method aByteArray (line 88) | public static Arg aByteArray(NameHolder n) { method anInt (line 92) | public static Arg anInt(NameHolder n) { method aLong (line 96) | public static Arg aLong(NameHolder n) { method aBigInt (line 100) | public static Arg aBigInt(NameHolder n) { method anInstant (line 104) | public static Arg anInstant(NameHolder n) { method aLocalDate (line 108) | public static Arg aLocalDate(NameHolder n) { method aPath (line 112) | public static Arg aPath(NameHolder n) { method aPath (line 116) | public static Arg aPath(NameHolder n, Boolean exists, Boolean is... method aPublicKey (line 120) | public static Arg aPublicKey(NameHolder n, ASN1Object... method aChoice (line 132) | @SafeVarargs method aChoice (line 137) | @SafeVarargs method listOfStrings (line 142) | public static Arg> listOfStrings(NameHolder n) { method listOfFlags (line 146) | public static Arg> listOfFlags(NameHolder n) { method listOfByteArrays (line 150) | public static Arg> listOfByteArrays(NameHolder n) { method listOfInts (line 154) | public static Arg> listOfInts(NameHolder n) { method listOfBigInts (line 158) | public static Arg> listOfBigInts(NameHolder n) { method listOfInstants (line 162) | public static Arg> listOfInstants(NameHolder n) { method listOfPaths (line 166) | public static Arg> listOfPaths(NameHolder n) { method listOfPaths (line 170) | public static Arg> listOfPaths(NameHolder n, Boolean exists... method listOfPublicKeys (line 174) | public static Arg> listOfPublicKeys(NameHolder n, method listOfChoices (line 187) | @SafeVarargs method listOfChoices (line 192) | @SafeVarargs method setOptional (line 205) | public Arg setOptional() { method setDefault (line 216) | public Arg setDefault(T v) { method isRequired (line 224) | public boolean isRequired() { method parse (line 232) | public final void parse(List s) throws ParseException { method parse (line 236) | public abstract void parse(List s, Resolver r) throws ParseExc... method value (line 241) | public T value() { method isSet (line 248) | public boolean isSet() { method isValid (line 255) | public final boolean isValid() { method validate (line 264) | public final ValidationResult validate() { method validate (line 268) | ValidationResult validate(ValidationResult result) { class SingleValueArg (line 282) | public static class SingleValueArg extends Arg { method SingleValueArg (line 286) | public SingleValueArg(NameHolder name, Parser parser) { method parse (line 291) | @Override class MultiValueArg (line 309) | public static class MultiValueArg extends Arg> { method MultiValueArg (line 313) | public MultiValueArg(NameHolder name, Parser parser) { method parse (line 318) | @Override method isSet (line 327) | @Override class Tree (line 337) | public static class Tree extends Arg { method Tree (line 341) | public Tree(NameHolder name, Arg... args) { method isExclusive (line 350) | public boolean isExclusive() { method setExclusive (line 354) | public Tree setExclusive() { method parse (line 359) | @Override method isSet (line 366) | @Override method validate (line 371) | @Override class TreeList (line 389) | public static class TreeList extends Arg> { method TreeList (line 393) | public TreeList(NameHolder name, Supplier factory) { method parse (line 399) | @Override method isSet (line 406) | @Override method validate (line 411) | @Override method addNew (line 422) | public T addNew() { type Parser (line 436) | @FunctionalInterface method parse (line 438) | default T parse(String s) throws ParseException { method parse (line 442) | T parse(String s, Resolver r) throws ParseException; class StringParser (line 445) | static class StringParser implements Parser { method parse (line 446) | @Override class BooleanParser (line 452) | static class BooleanParser implements Parser { method parse (line 456) | @Override class ByteArrayParser (line 468) | static class ByteArrayParser implements Parser { method parse (line 469) | @Override class IntParser (line 475) | static class IntParser implements Parser { method parse (line 476) | @Override class LongParser (line 486) | static class LongParser implements Parser { method parse (line 487) | @Override class BigIntParser (line 497) | static class BigIntParser implements Parser { method parse (line 498) | @Override class InstantParser (line 508) | static class InstantParser implements Parser { method parse (line 509) | @Override class LocalDateParser (line 520) | static class LocalDateParser implements Parser { method parse (line 521) | @Override class PathParser (line 542) | static class PathParser implements Parser { method PathParser (line 546) | PathParser() { method PathParser (line 554) | PathParser(Boolean exists, Boolean isDir) { method parse (line 559) | @Override class PublicKeyParser (line 576) | static class PublicKeyParser implements Parser { method PublicKeyParser (line 579) | PublicKeyParser(ASN1ObjectIdentifier alg) { method parse (line 583) | @Override class ChoiceParser (line 595) | static class ChoiceParser implements Parser { method ChoiceParser (line 599) | ChoiceParser(T[] values) { method ChoiceParser (line 603) | ChoiceParser(Function mapper, T[] values) { method defaultMapper (line 608) | private static T defaultMapper(String s, T[] values) { method parse (line 617) | @Override class Resolver (line 637) | static class Resolver { method Resolver (line 641) | Resolver() { method Resolver (line 645) | Resolver(Function pathResolver) { method resolve (line 649) | Path resolve(Path p) { FILE: common/java/src/main/java/ee/ivxv/common/cli/Args.java class Args (line 10) | public class Args { method Args (line 14) | public Args(Arg... args) { method Args (line 18) | public Args(List> args) { method isRequired (line 26) | public boolean isRequired() { method isSet (line 33) | public boolean isSet() { method isValid (line 40) | public boolean isValid() { method validate (line 49) | public final ValidationResult validate() { method validate (line 61) | final ValidationResult validate(boolean shouldExist, ValidationResult ... method find (line 67) | public Arg find(String name) { FILE: common/java/src/main/java/ee/ivxv/common/cli/CommandLine.java class CommandLine (line 19) | public class CommandLine { method CommandLine (line 26) | private CommandLine(List commands, List