@@ -28,31 +28,31 @@ use crate::cardano::cip509::{
2828#[ allow( clippy:: module_name_repetitions) ]
2929pub struct Cip509RbacMetadata {
3030 /// A potentially empty list of x509 certificates.
31- pub x509_certs : Vec < X509DerCert > ,
31+ pub ( crate ) x509_certs : Vec < X509DerCert > ,
3232 /// A potentially empty list of c509 certificates.
33- pub c509_certs : Vec < C509Cert > ,
33+ pub ( crate ) c509_certs : Vec < C509Cert > ,
3434 /// A set of URIs contained in both x509 and c509 certificates.
3535 ///
3636 /// URIs from different certificate types are stored separately and certificate
3737 /// indexes are preserved too.
3838 ///
3939 /// This field isn't present in the encoded format and is populated by processing both
4040 /// `x509_certs` and `c509_certs` fields.
41- pub certificate_uris : Cip0134UriSet ,
41+ pub ( crate ) certificate_uris : Cip0134UriSet ,
4242 /// A list of public keys that can be used instead of storing full certificates.
4343 ///
4444 /// Check [this section] to understand how certificates and the public keys list are
4545 /// related.
4646 ///
4747 /// [this section]: https://github.com/input-output-hk/catalyst-CIPs/tree/x509-role-registration-metadata/CIP-XXXX#storing-certificates-and-public-key
48- pub pub_keys : Vec < SimplePublicKeyType > ,
48+ pub ( crate ) pub_keys : Vec < SimplePublicKeyType > ,
4949 /// A potentially empty list of revoked certificates.
50- pub revocation_list : Vec < CertKeyHash > ,
50+ pub ( crate ) revocation_list : Vec < CertKeyHash > ,
5151 /// A potentially empty role data.
52- pub role_data : HashMap < RoleId , RoleData > ,
52+ pub ( crate ) role_data : HashMap < RoleId , RoleData > ,
5353 /// Optional map of purpose key data.
5454 /// Empty map if no purpose key data is present.
55- pub purpose_key_data : HashMap < u16 , Vec < u8 > > ,
55+ pub ( crate ) purpose_key_data : HashMap < u16 , Vec < u8 > > ,
5656}
5757
5858/// The first valid purpose key.
0 commit comments