Home
last modified time | relevance | path

Searched refs:HexEncodedHash (Results 1 – 11 of 11) sorted by relevance

/dports/net/krill/krill-0.9.4/src/commons/api/
H A Dmod.rs150 pub struct HexEncodedHash(Arc<str>); struct
152 impl HexEncodedHash { implementation
156 HexEncodedHash(hex.into()) in from_content()
164 impl AsRef<str> for HexEncodedHash { implementation
170 impl AsRef<[u8]> for HexEncodedHash { implementation
176 impl From<&Crl> for HexEncodedHash { implementation
188 impl From<&Cert> for HexEncodedHash { implementation
194 impl From<String> for HexEncodedHash { implementation
196 HexEncodedHash(s.into()) in from()
200 impl Serialize for HexEncodedHash { implementation
[all …]
H A Dpublication.rs7 api::{Base64, HexEncodedHash},
176 hash: HexEncodedHash,
213 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
231 hash: HexEncodedHash,
239 pub fn with_hash_tag(uri: uri::Rsync, hash: HexEncodedHash) -> Self { in with_hash_tag()
264 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
268 pub fn unwrap(self) -> (Option<String>, uri::Rsync, HexEncodedHash) { in unwrap() argument
329 hash: HexEncodedHash,
333 pub fn new(uri: uri::Rsync, hash: HexEncodedHash) -> Self { in new()
340 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
[all …]
H A Drrdp.rs19 api::{publication, Base64, HexEncodedHash},
133 hash: HexEncodedHash,
141 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
177 hash: HexEncodedHash,
184 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
378 hash: HexEncodedHash,
382 pub fn new(uri: uri::Https, path: PathBuf, hash: HexEncodedHash) -> Self { in new()
391 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
431 pub struct CurrentObjects(HashMap<HexEncodedHash, PublishElement>);
440 pub fn new(map: HashMap<HexEncodedHash, PublishElement>) -> Self { in new() argument
[all …]
H A Dca.rs35 … Handle, HexEncodedHash, IssuanceRequest, ParentCaContact, ParentHandle, RepositoryContact,
120 hash: HexEncodedHash,
128 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
149 let hash = HexEncodedHash::from_content(&cer.to_bytes()); in from()
230 hash: HexEncodedHash,
234 pub fn new(revocation: Revocation, hash: HexEncodedHash) -> Self { in new()
242 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
250 let hash = HexEncodedHash::from_content(c.to_captured().as_slice()); in from()
264 let hash = HexEncodedHash::from_content(roa.to_captured().as_slice()); in from()
272 let hash = HexEncodedHash::from_content(aspa.to_captured().as_slice()); in from()
/dports/net/krill/krill-0.9.4/src/commons/remote/
H A Drfc8181.rs10 …Base64, HexEncodedHash, ListElement, ListReply, Publish, PublishDelta, PublishDeltaBuilder, Publis…
224 let hash = HexEncodedHash::from(hash_str); in decode_publish_or_update()
241 let hash = HexEncodedHash::from(hash_str); in decode_withdraw()
380 let hash = HexEncodedHash::from(a.take_req("hash")?); in decode_list_reply()
751 …use crate::commons::api::{HexEncodedHash, ListElement, ListReply, Publish, PublishDeltaBuilder, Up…
766 let hash = HexEncodedHash::from_content(object); in add()
912 let object_hash = HexEncodedHash::from_content(&object); in should_encode_publish_delta()
/dports/net/krill/krill-0.9.4/src/upgrades/v0_9_0/
H A Dold_events.rs21 …Base64, ChildHandle, Handle, HexEncodedHash, IssuanceRequest, IssuedCert, ObjectName, ParentCaCont…
367 old: HexEncodedHash,
373 hash: HexEncodedHash,
559 pub struct OldCurrentObjects(HashMap<HexEncodedHash, PublishElement>);
562 pub fn new(map: HashMap<HexEncodedHash, PublishElement>) -> Self { in new() argument
H A Dpubd_objects_migration.rs19 Handle, HexEncodedHash, PublisherHandle, RepositoryHandle,
410 let snapshot_hash = HexEncodedHash::from_content(snapshot.xml().as_slice()); in create()
547 let map: HashMap<HexEncodedHash, PublishElement> = current_objects in from()
H A Dca_objects_migration.rs13 …ChildHandle, Handle, HexEncodedHash, IssuanceRequest, IssuedCert, ObjectName, ParentHandle, RcvdCe…
924 hash: HexEncodedHash,
1161 old: Option<HexEncodedHash>,
1168 old: Option<HexEncodedHash>,
/dports/net/krill/krill-0.9.4/src/commons/util/
H A Dfile.rs17 api::{Base64, HexEncodedHash, ListElement, Publish, Update, Withdraw},
311 hash: HexEncodedHash,
339 pub fn hash(&self) -> &HexEncodedHash { in hash() argument
350 pub fn as_update(&self, old_hash: &HexEncodedHash) -> Update { in as_update()
/dports/net/krill/krill-0.9.4/src/daemon/ca/
H A Dchild.rs10 …ChildCaInfo, ChildHandle, ChildState, HexEncodedHash, IssuedCert, ReplacedObject, ResourceClassNam…
274 let replaced = ReplacedObject::new(Revocation::from(&cert), HexEncodedHash::from(&cert)); in re_issue()
/dports/net/krill/krill-0.9.4/src/pubd/
H A Drepository.rs23 … Handle, HexEncodedHash, ListReply, PublicationServerUris, PublishDelta, PublisherHandle, RepoInfo,
557 let snapshot_hash = HexEncodedHash::from_content(snapshot.xml().as_slice()); in create()
598 let snapshot_hash = HexEncodedHash::from_content(snapshot.xml().as_slice()); in session_reset()
685 let snapshot_hash = HexEncodedHash::from_content(snapshot_xml.as_slice()); in update_notification()
695 let hash = HexEncodedHash::from_content(xml.as_slice()); in update_notification()