AuthCommitteeHotCert
- class cometa.certificates.auth_committee_hot_cert.AuthCommitteeHotCert(ptr)[source]
Bases:
objectRepresents a committee hot key authorization certificate.
This certificate is used to authorize a hot key for a constitutional committee member. The hot key is used for voting, while the cold key remains secure offline.
- classmethod new(committee_cold_cred, committee_hot_cred)[source]
Creates a new committee hot key authorization certificate.
- Parameters:
committee_cold_cred (Credential) – The committee cold credential.
committee_hot_cred (Credential) – The committee hot credential to authorize.
- Returns:
A new AuthCommitteeHotCert instance.
- Raises:
CardanoError – If creation fails.
- Return type:
- classmethod from_cbor(reader)[source]
Deserializes an AuthCommitteeHotCert from CBOR data.
- Parameters:
reader (CborReader) – A CborReader positioned at the certificate data.
- Returns:
A new AuthCommitteeHotCert deserialized from the CBOR data.
- Raises:
CardanoError – If deserialization fails.
- Return type:
- to_cbor(writer)[source]
Serializes the certificate to CBOR format.
- Parameters:
writer (CborWriter) – A CborWriter to write the serialized data to.
- Raises:
CardanoError – If serialization fails.
- Return type:
None
- property committee_cold_credential: Credential
The committee cold credential.
- Returns:
The Credential for the committee cold key.
- property committee_hot_credential: Credential
The committee hot credential.
- Returns:
The Credential for the committee hot key.
- to_cip116_json(writer)[source]
Serializes this certificate to CIP-116 compliant JSON.
- Parameters:
writer (JsonWriter) – The JsonWriter to write the JSON to.
- Raises:
CardanoError – If serialization fails.
- Return type:
None