Trait dock_runtime::common::limits::Limits
source · pub trait Limits: Clone + Eq {
Show 37 associated items
type MaxAccumulatorLabelSize: Size;
type MaxAccumulatorParamsSize: Size;
type MaxAccumulatorPublicKeySize: Size;
type MaxAccumulatorAccumulatedSize: Size;
type MaxDidDocRefSize: Size;
type MaxDidServiceEndpointIdSize: Size;
type MaxDidServiceEndpointOrigins: Size;
type MaxDidServiceEndpointOriginSize: Size;
type MaxStatusListCredentialSize: Size;
type MinStatusListCredentialSize: Size;
type MaxIriSize: Size;
type MaxBlobSize: Size;
type MaxOffchainParamsLabelSize: Size;
type MaxOffchainParamsBytesSize: Size;
type MaxBBSPublicKeySize: Size;
type MaxBBSPlusPublicKeySize: Size;
type MaxBBDT16PublicKeySize: Size;
type MaxPSPublicKeySize: Size;
type MaxMasterMembers: Size;
type MaxPolicyControllers: Size;
type MaxIssuerPriceCurrencySymbolSize: Size;
type MaxIssuersPerSchema: Size;
type MaxVerifiersPerSchema: Size;
type MaxIssuerPriceCurrencies: Size;
type MaxTrustRegistryNameSize: Size;
type MaxConvenerRegistries: Size;
type MaxDelegatedIssuers: Size;
type MaxSchemasPerIssuer: Size;
type MaxSchemasPerVerifier: Size;
type MaxRegistriesPerIssuer: Size;
type MaxRegistriesPerVerifier: Size;
type MaxTrustRegistryGovFrameworkSize: Size;
type MaxSchemasPerRegistry: Size;
type MaxParticipantsPerRegistry: Size;
type MaxRegistryParticipantOrgNameSize: Size;
type MaxRegistryParticipantDescriptionSize: Size;
type MaxRegistryParticipantLogoSize: Size;
}
Expand description
All size limits for the dock-core
encodable data structures.
Required Associated Types§
sourcetype MaxAccumulatorLabelSize: Size
type MaxAccumulatorLabelSize: Size
Maximum size of the label
sourcetype MaxAccumulatorParamsSize: Size
type MaxAccumulatorParamsSize: Size
Maximum byte size of the parameters. This depends only on the chosen elliptic curve.
sourcetype MaxAccumulatorPublicKeySize: Size
type MaxAccumulatorPublicKeySize: Size
Maximum byte size of the public key. This depends only on the chosen elliptic curve.
sourcetype MaxAccumulatorAccumulatedSize: Size
type MaxAccumulatorAccumulatedSize: Size
Maximum byte size of the accumulated value which is just one group element (not the number of members)
sourcetype MaxDidDocRefSize: Size
type MaxDidDocRefSize: Size
Maximum byte size of reference to off-chain DID Doc.
sourcetype MaxDidServiceEndpointIdSize: Size
type MaxDidServiceEndpointIdSize: Size
Maximum byte size of service endpoint’s id
field
sourcetype MaxDidServiceEndpointOrigins: Size
type MaxDidServiceEndpointOrigins: Size
Maximum number of service endpoint’s origin
sourcetype MaxDidServiceEndpointOriginSize: Size
type MaxDidServiceEndpointOriginSize: Size
Maximum byte size of service endpoint’s origin
sourcetype MaxStatusListCredentialSize: Size
type MaxStatusListCredentialSize: Size
StatusListCredential
s with size larger than this won’t be accepted.
sourcetype MinStatusListCredentialSize: Size
type MinStatusListCredentialSize: Size
StatusListCredential
s with size less than this won’t be accepted.
sourcetype MaxIriSize: Size
type MaxIriSize: Size
Max byte size of the Iri
.
sourcetype MaxBlobSize: Size
type MaxBlobSize: Size
Max byte size of the Blob
.
sourcetype MaxOffchainParamsLabelSize: Size
type MaxOffchainParamsLabelSize: Size
Max byte size of the offchain params label.
sourcetype MaxOffchainParamsBytesSize: Size
type MaxOffchainParamsBytesSize: Size
Max byte size of the offchain params bytes.
sourcetype MaxBBSPublicKeySize: Size
type MaxBBSPublicKeySize: Size
Maximum byte size of the BBS
(fixed size) public key. This depends only on the chosen elliptic curve.
sourcetype MaxBBSPlusPublicKeySize: Size
type MaxBBSPlusPublicKeySize: Size
Maximum byte size of the BBS+
(fixed size) public key. This depends only on the chosen elliptic curve.
sourcetype MaxBBDT16PublicKeySize: Size
type MaxBBDT16PublicKeySize: Size
Maximum byte size of the BBDT16
(fixed size) public key. This depends only on the chosen elliptic curve.
sourcetype MaxPSPublicKeySize: Size
type MaxPSPublicKeySize: Size
Maximum byte size of the PS
public key. This depends on the chosen elliptic curve and the number
of messages that can be signed.
sourcetype MaxMasterMembers: Size
type MaxMasterMembers: Size
Max amount of master members per a single Membership
.
sourcetype MaxPolicyControllers: Size
type MaxPolicyControllers: Size
Max amount of the controller DID
s per a single Policy
.
type MaxIssuerPriceCurrencySymbolSize: Size
sourcetype MaxIssuersPerSchema: Size
type MaxIssuersPerSchema: Size
Max no of issuers that can issue for a particular schema
sourcetype MaxVerifiersPerSchema: Size
type MaxVerifiersPerSchema: Size
Max no of verifiers that can verify (credential) for a particular schema
sourcetype MaxIssuerPriceCurrencies: Size
type MaxIssuerPriceCurrencies: Size
Max no of currencies an issuer can set the price in for a particular schema
sourcetype MaxTrustRegistryNameSize: Size
type MaxTrustRegistryNameSize: Size
Max size of the trust registry name.
sourcetype MaxConvenerRegistries: Size
type MaxConvenerRegistries: Size
Max no of the trust registries per a single convener.
sourcetype MaxDelegatedIssuers: Size
type MaxDelegatedIssuers: Size
Max no of delegated issuers a particular issuer can have
sourcetype MaxSchemasPerIssuer: Size
type MaxSchemasPerIssuer: Size
Max no of schemas that a particular issuer can issue for
sourcetype MaxSchemasPerVerifier: Size
type MaxSchemasPerVerifier: Size
Max no of schemas that a particular verifier can verify (credential) for
sourcetype MaxRegistriesPerIssuer: Size
type MaxRegistriesPerIssuer: Size
Max no of registries per a single issuer.
sourcetype MaxRegistriesPerVerifier: Size
type MaxRegistriesPerVerifier: Size
Max no of registries per a single verifier.
sourcetype MaxTrustRegistryGovFrameworkSize: Size
type MaxTrustRegistryGovFrameworkSize: Size
Max government framework size for the trust registry.
sourcetype MaxSchemasPerRegistry: Size
type MaxSchemasPerRegistry: Size
Max no of schemas per registry.
sourcetype MaxParticipantsPerRegistry: Size
type MaxParticipantsPerRegistry: Size
Max no of participants per a single registry.
sourcetype MaxRegistryParticipantOrgNameSize: Size
type MaxRegistryParticipantOrgNameSize: Size
Max size of the TrustRegistry
participant’s org name.
sourcetype MaxRegistryParticipantDescriptionSize: Size
type MaxRegistryParticipantDescriptionSize: Size
Max size of the TrustRegistry
participant’s description.
sourcetype MaxRegistryParticipantLogoSize: Size
type MaxRegistryParticipantLogoSize: Size
Max size of the TrustRegistry
participant’s logo.
Implementations on Foreign Types§
source§impl Limits for ()
impl Limits for ()
Limits
without any limits.