/dports/security/gnome-keyring/gnome-keyring-40.0/pkcs11/xdg-store/ |
H A D | frob-trust-file.c | 48 GNode *asn, *cert, *choice, *ref; in create_trust_file_for_certificate() local 65 g_return_if_fail (asn); in create_trust_file_for_certificate() 75 result = egg_asn1x_encode (asn, NULL); in create_trust_file_for_certificate() 79 egg_asn1x_destroy (asn); in create_trust_file_for_certificate() 93 GNode *asn, *cert, *choice, *ref; in create_trust_file_for_issuer_and_serial() local 121 g_return_if_fail (asn); in create_trust_file_for_issuer_and_serial() 145 egg_asn1x_destroy (asn); in create_trust_file_for_issuer_and_serial() 161 GNode *asn, *assertion; in add_trust_purpose_to_file() local 169 g_return_if_fail (asn); in add_trust_purpose_to_file() 173 if (!egg_asn1x_decode (asn, bytes)) in add_trust_purpose_to_file() [all …]
|
H A D | gkm-xdg-trust.c | 50 GNode *asn; member 215 GNode *asn; in validate_der() local 234 egg_asn1x_destroy (asn); in validate_der() 457 g_assert (asn); in load_assertions() 526 g_assert (asn); in save_assertions() 565 trust->pv->asn = asn; in create_trust_for_reference() 597 trust->pv->asn = asn; in create_trust_for_complete() 703 if (self->pv->asn) in gkm_xdg_trust_finalize() 705 self->pv->asn = NULL; in gkm_xdg_trust_finalize() 741 GNode *asn = NULL; in gkm_xdg_trust_real_load() local [all …]
|
/dports/net-mgmt/py-arouteserver/arouteserver-1.12.0/pierky/arouteserver/enrichers/ |
H A D | pdb_as_set.py | 34 asn, _ = task 36 net = PeeringDBNet(asn, 44 "AS-SET.".format(asn)) 50 asn, str(e) or "error unknown" 92 asn = "AS{}".format(client["asn"]) 97 asn = str(client["asn"]) 98 if asn not in tasks: 99 tasks[asn] = [] 100 tasks[asn].append(client) 102 for asn in tasks: [all …]
|
H A D | irr_db_dump.py | 26 def __init__(self, asn, path, allow_longer_prefixes): argument 27 self.asn = asn 114 asn = record["originas"] 119 if int(asn[2:]) not in origin_asns: 126 asn = asn.upper() 127 if asn not in asn_prefixes: 128 asn_prefixes[asn] = set() 129 asn_prefixes[asn].add(prefix) 132 for asn in asn_prefixes: 135 json.dump(list(asn_prefixes[asn]), f) [all …]
|
/dports/net/p5-perl-ldap/perl-ldap-0.68/lib/Net/LDAP/Control/ |
H A D | EntryChange.pm | 18 delete $self->{asn}; 21 $self->{asn} = { 33 $self->{asn} ||= $EntryChangeNotification->decode($self->{value}); 36 return $self->{asn}{changeType} = shift || 0; 38 $self->{asn}{changeType}; 43 $self->{asn} ||= $EntryChangeNotification->decode($self->{value}); 46 return $self->{asn}{previousDN} = shift || ''; 48 $self->{asn}{previousDN}; 53 $self->{asn} ||= $EntryChangeNotification->decode($self->{value}); 56 return $self->{asn}{changeNumber} = shift || 0; [all …]
|
H A D | PersistentSearch.pm | 18 delete $self->{asn}; 21 $self->{asn} = { 33 $self->{asn} ||= $PersistentSearch->decode($self->{value}); 36 return $self->{asn}{changeTypes} = shift || 0; 38 $self->{asn}{changeTypes}; 43 $self->{asn} ||= $PersistentSearch->decode($self->{value}); 46 return $self->{asn}{changesOnly} = shift || 0; 48 $self->{asn}{changesOnly}; 53 $self->{asn} ||= $PersistentSearch->decode($self->{value}); 56 return $self->{asn}{returnECs} = shift || 0; [all …]
|
H A D | SyncRequest.pm | 18 delete $self->{asn}; 21 $self->{asn} = { 33 $self->{asn} ||= $syncRequestValue->decode($self->{value}); 36 return $self->{asn}{mode} = shift || 0; 38 $self->{asn}{mode}; 43 $self->{asn} ||= $syncRequestValue->decode($self->{value}); 46 return $self->{asn}{cookie} = shift || 0; 48 $self->{asn}{cookie}; 56 return $self->{asn}{reloadHint} = shift || 0; 58 $self->{asn}{reloadHint}; [all …]
|
H A D | SyncState.pm | 21 $self->{asn} = { 33 $self->{asn} ||= $syncStateValue->decode($self->{value}); 36 return $self->{asn}{state} = shift || 0; 38 $self->{asn}{state}; 43 $self->{asn} ||= $syncStateValue->decode($self->{value}); 46 return $self->{asn}{entryUUID} = shift || 0; 48 $self->{asn}{entryUUID}; 53 $self->{asn} ||= $syncStateValue->decode($self->{value}); 56 return $self->{asn}{cookie} = shift || 0; 58 $self->{asn}{cookie}; [all …]
|
/dports/net/exabgp4/exabgp-4.2.13/lib/exabgp/bgp/message/update/attribute/community/extended/ |
H A D | rt.py | 15 from exabgp.bgp.message.open.asn import ASN 54 def __init__(self, asn, number, transitive=True, community=None): argument 55 self.asn = asn 61 return hash((self.asn, self.number)) 64 return "%s:%d:%d" % (self.DESCRIPTION, self.asn, self.number) 68 asn, number = unpack('!HL', data[2:8]) 69 return cls(ASN(asn), number, False, data[:8]) 116 self.asn = asn 123 return hash((self.asn, self.number)) 130 asn, number = unpack('!LH', data[2:8]) [all …]
|
/dports/biology/ncbi-toolkit/ncbi/ |
H A D | build.me64 | 25 ( cd asn; rm -f asn.all asnpub.all ; chmod +x *.unx; sh all.unx; sh allpub.unx) 28 mkdir asnstat; ( cd asnstat; sh ../asn/makestat.unx ) 33 asntool -m asn/asn.all -v data/seqcode.prt -e data/seqcode.val || exit 1 34 asntool -m asn/asn.all -v data/featdef.prt -e data/featdef.val 35 asntool -m asn/asn.all -v data/gc.prt -e data/gc.val 36 cat biostruc/*.asn asn/asn.all >/tmp/big$$.asn 37 asntool -m /tmp/big$$.asn -v data/bstdt.prt -e data/bstdt.val 38 rm -f /tmp/big$$.asn
|
/dports/security/gnome-keyring/gnome-keyring-40.0/egg/ |
H A D | test-symkey.c | 323 GNode *asn; 366 GNode *asn; in test_read_cipher() local 373 g_assert (asn != NULL); in test_read_cipher() 484 GNode *asn; in test_read_cipher_invalid() local 490 g_assert (asn != NULL); in test_read_cipher_invalid() 505 GNode *asn; in test_read_cipher_unsupported_pbe() local 518 g_assert (asn != NULL); in test_read_cipher_unsupported_pbe() 571 GNode *asn; in test_read_mac() local 577 g_assert (asn != NULL); in test_read_mac() 603 GNode *asn; in test_read_mac_invalid() local [all …]
|
/dports/security/gcr/gcr-3.40.0/egg/ |
H A D | test-symkey.c | 323 GNode *asn; 366 GNode *asn; in test_read_cipher() local 373 g_assert (asn != NULL); in test_read_cipher() 484 GNode *asn; in test_read_cipher_invalid() local 490 g_assert (asn != NULL); in test_read_cipher_invalid() 505 GNode *asn; in test_read_cipher_unsupported_pbe() local 518 g_assert (asn != NULL); in test_read_cipher_unsupported_pbe() 571 GNode *asn; in test_read_mac() local 577 g_assert (asn != NULL); in test_read_mac() 603 GNode *asn; in test_read_mac_invalid() local [all …]
|
/dports/security/gcr/gcr-3.40.0/gcr/ |
H A D | gcr-certificate-extensions.c | 71 GNode *asn = NULL; in _gcr_certificate_extension_basic_constraints() local 78 if (asn == NULL) in _gcr_certificate_extension_basic_constraints() 99 egg_asn1x_destroy (asn); in _gcr_certificate_extension_basic_constraints() 106 GNode *asn = NULL; in _gcr_certificate_extension_extended_key_usage() local 115 if (asn == NULL) in _gcr_certificate_extension_extended_key_usage() 135 GNode *asn = NULL; in _gcr_certificate_extension_subject_key_identifier() local 141 if (asn == NULL) in _gcr_certificate_extension_subject_key_identifier() 166 GNode *asn = NULL; in _gcr_certificate_extension_key_usage() local 173 if (asn == NULL) in _gcr_certificate_extension_key_usage() 277 GNode *asn = NULL; in _gcr_certificate_extension_subject_alt_name() local [all …]
|
/dports/devel/tcllib/tcllib-1.20/embedded/md/tcllib/files/modules/asn/ |
H A D | asn.md | 2 [//000000001]: # (asn \- ASN\.1 processing) 18 asn \- ASN\.1 BER encoder/decoder 49 package require asn ?0\.8\.4? 53 [__::asn::asnSet__ *evalue*\.\.\.](#3) 54 [__::asn::asnSetFromList__ *elist*](#4) 59 [__::asn::asnInteger__ *number*](#9) 61 [__::asn::asnBoolean__ *bool*](#11) 66 [__::asn::asnNull__](#16) 74 [__::asn::asnString__ *string*](#24) 242 __::asn::defaultStringType__\. [all …]
|
/dports/devel/tcllibc/tcllib-1.20/embedded/md/tcllib/files/modules/asn/ |
H A D | asn.md | 2 [//000000001]: # (asn \- ASN\.1 processing) 18 asn \- ASN\.1 BER encoder/decoder 49 package require asn ?0\.8\.4? 53 [__::asn::asnSet__ *evalue*\.\.\.](#3) 54 [__::asn::asnSetFromList__ *elist*](#4) 59 [__::asn::asnInteger__ *number*](#9) 61 [__::asn::asnBoolean__ *bool*](#11) 66 [__::asn::asnNull__](#16) 74 [__::asn::asnString__ *string*](#24) 242 __::asn::defaultStringType__\. [all …]
|
/dports/net/exabgp4/exabgp-4.2.13/lib/exabgp/bgp/message/update/attribute/ |
H A D | aggregator.py | 12 from exabgp.bgp.message.open.asn import ASN 30 def __init__(self, asn, speaker): argument 31 self.asn = asn 37 …self.ID == other.ID and self.FLAG == other.FLAG and self.asn == other.asn and self.speaker == othe… 45 return self._attribute(self.asn.pack(True) + self.speaker.pack()) 46 elif self.asn.asn4(): 48 self.asn, self.speaker 51 return self._attribute(self.asn.pack() + self.speaker.pack()) 58 self._str = '%s:%s' % (self.asn, self.speaker) 62 return '{ "asn" : %d, "speaker" : "%d" }' % (self.asn, self.speaker) [all …]
|
/dports/security/p5-Crypt-DSA/Crypt-DSA-1.17/lib/Crypt/DSA/ |
H A D | Signature.pm | 47 sub asn { subroutine 49 my $asn = Convert::ASN1->new; 50 $asn->prepare('SEQUENCE { r INTEGER, s INTEGER }') or croak $asn->{error}; 51 $asn; 57 my $asn = __PACKAGE__->asn; 64 my $out = $asn->decode($_); 76 my $asn = __PACKAGE__->asn; 77 my $buf = $asn->encode({ s => $sig->s, r => $sig->r }) 78 or croak $asn->{error};
|
/dports/net-mgmt/rtrlib/rtrlib-0.6.3/tests/ |
H A D | test_pfx.c | 54 pfx.asn = 80; in remove_src_test() 59 pfx.asn = 90; in remove_src_test() 120 pfx.asn = i; in mass_test() 170 pfx.asn = i; in mass_test() 204 pfx.asn = 123; in pfx_table_test() 224 pfx.asn = 22; in pfx_table_test() 307 pfx.asn = 0; in pfx_table_test() 314 pfx.asn = 6; in pfx_table_test() 320 pfx.asn = 5; in pfx_table_test() 326 pfx.asn = 5; in pfx_table_test() [all …]
|
/dports/dns/dnscheckengine/engine/lib/DNSCheck/Lookup/ |
H A D | ASN.pm | 53 $self->{asn} = (); 69 $self->{asn} = (); 87 unless ($self->{asn}{$ip}) { 91 my $asn = $self->{asn}{$ip}; 93 if ($asn) { 94 if (scalar @{$asn} > 0) { 96 join(",", @{$asn})); 104 return $asn; 134 my %asn; 141 $asn{$n} = 1; [all …]
|
/dports/www/webtrees20/webtrees-2.0.19/webtrees/vendor/io-developer/php-whois/src/Iodev/Whois/Modules/Asn/ |
H A D | AsnModule.php | 65 * @param string $asn 74 return $this->loadResponse($asn, $server); 76 list ($resp, ) = $this->loadData($asn); 90 $resp = $this->loadResponse($asn, $server); 93 list (, $info) = $this->loadData($asn); 98 * @param string $asn 103 private function loadData($asn) argument 110 $response = $this->loadResponse($asn, $s); 126 * @param string $asn 132 private function loadResponse($asn, AsnServer $server) argument [all …]
|
/dports/dns/rdap/rdap-e2ea151/bootstrap/ |
H A D | asn_registry.go | 70 var asn string 72 for asn, urls = range registry.Entries { 73 minASN, maxASN, err := parseASNRange(asn) 94 var asn uint32 95 asn, err := parseASN(question.Query) 102 return asn <= a.asns[i].MaxASN 108 if index != len(a.asns) && (asn >= a.asns[index].MinASN && asn <= a.asns[index].MaxASN) { 114 Query: fmt.Sprintf("%d", asn), 125 func parseASN(asn string) (uint32, error) { 126 asn = strings.ToLower(asn) [all …]
|
/dports/security/gnome-keyring/gnome-keyring-40.0/pkcs11/gkm/ |
H A D | gkm-data-asn1.h | 29 gboolean gkm_data_asn1_read_mpi (GNode *asn, 32 gboolean gkm_data_asn1_write_mpi (GNode *asn, 35 gboolean gkm_data_asn1_read_string_mpi (GNode *asn, 38 gboolean gkm_data_asn1_write_string_mpi (GNode *asn, 41 gboolean gkm_data_asn1_read_string (GNode *asn, 44 gboolean gkm_data_asn1_write_string (GNode *asn, 47 gboolean gkm_data_asn1_read_bit_string (GNode *asn, 51 gboolean gkm_data_asn1_write_bit_string (GNode *asn, 55 gboolean gkm_data_asn1_read_oid (GNode *asn, 58 gboolean gkm_data_asn1_write_oid (GNode *asn,
|
/dports/security/libtasn1/libtasn1-4.18.0/tests/ |
H A D | Makefile.am | 26 EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c mscat.asn \ 27 Test_encoding.asn pkix.asn TestIndef.p12 choice.asn coding-decoding2.asn \ 29 cert-invalid-time.der setof.asn CVE-2018-1000654-1.asn CVE-2018-1000654-2.asn \ 51 invalid-assignments2.txt pkix.asn.out 88 ASN1PARSER=$(srcdir)/Test_parser.asn \ 89 ASN1TREE=$(srcdir)/Test_tree.asn \ 90 ASN1CHOICE=$(srcdir)/choice.asn \ 92 ASN1PKIX=$(srcdir)/pkix.asn \ 93 ASN1SETOF=$(srcdir)/setof.asn \ 99 ASN1CHOICE_OCSP=$(srcdir)/pkix.asn \ [all …]
|
/dports/net/p5-perl-ldap/perl-ldap-0.68/lib/Net/LDAP/ |
H A D | Entry.pm | 87 $LDAPEntry->encode( shift->{asn} ); 93 @_ ? ($self->{asn}{objectName} = shift) : $self->{asn}{objectName}; 125 } @{$self->{asn}{attributes}}; 210 @{$self->{asn}{attributes}} 247 @{$self->{asn}{attributes}} 257 @{$self->{asn}{attributes}} 336 my $asn = $self->{asn}; 338 print $fh 'dn:', $asn->{objectName}, "\n\n" if $asn->{objectName}; 369 } @{$self->{asn}{attributes}}; 376 sub asn { subroutine [all …]
|
/dports/lang/asn1c/asn1c-0.9.27/libasn1parser/ |
H A D | asn1p_module.c | 45 asn1p_t *asn; in asn1p_new() local 46 asn = calloc(1, sizeof(*asn)); in asn1p_new() 47 if(asn) { in asn1p_new() 48 TQ_INIT(&(asn->modules)); in asn1p_new() 50 return asn; in asn1p_new() 55 asn1p_delete(asn1p_t *asn) { in asn1p_delete() argument 56 if(asn) { in asn1p_delete() 58 while((mod = TQ_REMOVE(&(asn->modules), mod_next))) in asn1p_delete() 60 free(asn); in asn1p_delete()
|