Newer
Older
trailer_fields := p_trailer
} // End of template mdw_securedMessage_Others
} // End of group messagesRecv
/**
* @desc Send/Receive templates for Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
/**
* @desc Send template for 'unsecured' Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
*/
template (value) SecPayload m_payload_unsecured(
in template (value) octetstring p_data
) := {
type_ := e_unsecured,
data := p_data
} // End of template m_payload_unsecured
/**
* @desc Send template for 'signed' Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
*/
template (value) SecPayload m_payload_signed(
in template (value) octetstring p_data
) := {
type_ := e_signed,
data := p_data
} // End of template m_payload_signed
/**
* @desc Send template for 'signed_external' Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
template (value) SecPayload m_payload_signed_external(
in template (omit) octetstring p_data := omit
) := {
type_ := e_signed_external,
} // End of template m_payload_signed_external
/**
* @desc Send template for 'encrypted' Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
*/
template (value) SecPayload m_payload_encrypted(
in template (value) octetstring p_data
) := {
type_ := e_encrypted,
data := p_data
} // End of template m_payload_encrypted
/**
* @desc Send template for 'signed_external' Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
*/
template (value) SecPayload m_payload_signed_and_encrypted(
in template (value) octetstring p_data
) := {
type_ := e_signed_and_encrypted,
data := p_data
} // End of template m_payload_signed_and_encrypted
} // End of group payloadsSend
/**
* @desc Receive templates for Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.2 Payload
template (present) SecPayload mw_payload (
in template (present) SecPayloadType p_type := ?,
in template (present) octetstring p_data := ?
):= {
type_ := p_type,
data := p_data
} // End of group payloadsRecv
} // End of group payloads
/**
* @desc Send/Receive templates for HeaderField
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
/**
* @desc Send templates for HeaderField
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
group headerFieldsSend {
/**
* @desc Send template for HeaderField with generation time information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_generation_time(
in template (value) Time64 p_generation_time
) := {
type_ := e_generation_time,
headerField := {
generation_time := p_generation_time
}
} // End of template m_header_field_generation_time
/**
* @desc Send template for HeaderField with generation time and standard deviation information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_generation_time_with_standard_deviation(
in template (value) Time64WithStandardDeviation p_generation_time_with_standard_deviation
) := {
type_ := e_generation_time_standard_deviation,
headerField := {
generation_time_with_standard_deviation := p_generation_time_with_standard_deviation
}
} // End of template m_header_field_generation_time_with_standard_deviation
/**
* @desc Send template for HeaderField with expiration time information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_expiry_time(
in template (value) Time32 p_expiry_time
) := {
type_ := e_expiration,
headerField := {
expiry_time := p_expiry_time
}
} // End of template m_header_field_expiry_time
/**
* @desc Send template for HeaderField with generation location information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_generation_location(
in template (value) ThreeDLocation p_generation_location
) := {
type_ := e_generation_location,
headerField := {
generation_location := p_generation_location
}
} // End of template m_header_field_generation_location
/**
* @desc Send template for HeaderField with generation location information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (value) HeaderField m_header_field_unrecognised_certificate(
in template (value) HashedId3 p_digest
) := {
type_ := e_request_unrecognized_certificate,
headerField := {
digests := { p_digest }
}
} // End of template m_header_field_digest
/**
* @desc Send template for HeaderField with generation location information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (value) HeaderField m_header_field_unrecognised_certificates(
in template (value) HashedId3s p_digests
) := {
type_ := e_request_unrecognized_certificate,
headerField := {
digests := p_digests
}
} // End of template m_header_field_multiple_digests
/**
* @desc Send template for HeaderField with ItsAid information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_its_aid(
in template (value) IntX p_its_aid
type_ := e_its_aid,
its_aid := p_its_aid
} // End of template m_header_field_its_aid
/**
* @desc Send template for HeaderField with CAM ItsAid identifier
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_its_aid_CAM := {
type_ := e_its_aid,
headerField := {
its_aid := c_its_aid_CAM
}
} // End of template m_header_field_its_aid_CAM
/**
* @desc Send template for HeaderField with CAM ItsAid identifier
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_its_aid_DENM := {
type_ := e_its_aid,
headerField := {
its_aid := c_its_aid_DENM
}
} // End of template m_header_field_its_aid_DENM
/**
* @desc Send template for HeaderField with CAM ItsAid identifier
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_its_aid_Other := {
type_ := e_its_aid,
headerField := {
its_aid := c_its_aid_Other
}
} // End of template m_header_field_its_aid_Other
garciay
committed
* @desc Send template for HeaderField with signer information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_signer_info(
in template (value) SignerInfo p_signer
) := {
type_ := e_signer_info,
headerField := {
signer := p_signer
}
} // End of template m_header_field_signerInfo_signer_info
/**
* @desc Send template for HeaderField with signer information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_recipient(
in template (value) RecipientInfo p_recipient
) := {
type_ := e_recipient_info,
headerField := {
recipients := { p_recipient }
}
} // End of template m_header_field_recipient
/**
* @desc Send template for HeaderField with signer information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_multiple_recipients(
in template (value) RecipientInfos p_recipients
) := {
type_ := e_recipient_info,
headerField := {
recipients := p_recipients
}
} // End of template m_header_field_multiple_recipients
/**
* @desc Send template for HeaderField with signer information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_enc_params(
in template (value) EncryptionParameters p_enc_params
) := {
type_ := e_encryption_parameters,
headerField := {
enc_params := p_enc_params
}
} // End of template m_header_field_enc_params
/**
* @desc Send template for HeaderField with unspecify header field value
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField m_header_field_unspecify := {
type_ := e_other_header_200,
headerField := {
other_header := 'C0FFEEDECA'O
}
} // End of template m_header_field_unspecify
} // End of group headerFieldsSend
/**
* @desc Receive templates for HeaderField
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
/**
* @desc Receive template for HeaderField with generation time information
* @param p_headerType Type id of the Header field
*/
template (present) HeaderField mw_header_field(
in HeaderFieldType p_headerType
) := {
type_ := p_headerType,
headerField := ?
} // End of template mw_header_field_generation_time
/**
* @desc Receive template for HeaderField with generation time information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (present) HeaderField mw_header_field_generation_time(
in template (present) Time64 p_generation_time := ?
) := {
type_ := e_generation_time,
headerField := {
generation_time := p_generation_time
}
} // End of template mw_header_field_generation_time
/**
* @desc Receive template for HeaderField with generation time and standard deviation information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (present) HeaderField mw_header_field_generation_time_with_standard_deviation(
in template (present) Time64WithStandardDeviation p_generation_time_with_standard_deviation
) := {
type_ := e_generation_time_standard_deviation,
headerField := {
generation_time_with_standard_deviation := p_generation_time_with_standard_deviation
}
} // End of template mw_header_field_generation_time_with_standard_deviation
/**
* @desc Receive template for HeaderField with expiration time information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (present) HeaderField mw_header_field_expiry_time(
in template (present) Time32 p_expiry_time
) := {
type_ := e_expiration,
headerField := {
expiry_time := p_expiry_time
}
} // End of template mw_header_field_expiry_time
/**
* @desc Receive template for HeaderField with generation location information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (present) HeaderField mw_header_field_generation_location(
in template (present) ThreeDLocation p_generation_location
) := {
type_ := e_generation_location,
headerField := {
generation_location := p_generation_location
}
} // End of template mw_header_field_generation_location
/**
* @desc Receive template for HeaderField with generation location information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (present) HeaderField mw_header_field_multiple_digests(
in template (present) HashedId3s p_digests
) := {
type_ := e_request_unrecognized_certificate,
headerField := {
digests := p_digests
}
} // End of template mw_header_field_multiple_digests
* @desc Receive template for HeaderField with signer information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (present) HeaderField mw_header_field_signer_info(
in template (present) SignerInfo p_signer
type_ := e_signer_info,
signer := p_signer
} // End of template mw_header_field_signerInfo_signer_info
/**
* @desc Receive template for HeaderField with signer information
* containing certificate
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (present) HeaderField mw_header_field_signer_info_certificate (
in template (present) Certificate p_cert := ?
type_ := e_signer_info,
headerField := {
signer := mw_signerInfo_certificate(p_cert)
} // End of template mw_header_field_signer_info_certificate
/**
* @desc Receive template for HeaderField with signer information
* containing certificate digest
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (present) HeaderField mw_header_field_signer_info_digest (
in template (present) HashedId8 p_digest := ?
type_ := e_signer_info,
headerField := {
signer := mw_signerInfo_digest(p_digest)
}
} // End of template mw_header_field_signer_info_digest
/**
* @desc Receive template for HeaderField with signer information
* containing certificate chain
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (present) HeaderField mw_header_field_signer_info_certificate_chain (
in template (present) CertificateChain p_certs := ?
) := {
type_ := e_signer_info,
headerField := {
signer := mw_signerInfo_certificates(p_certs)
}
} // End of template mw_header_field_signer_info_certificate_chain
/**
* @desc Receive template for HeaderField with signer information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (value) HeaderField mw_header_field_multiple_recipients(
in template (value) RecipientInfos p_recipients
) := {
type_ := e_recipient_info,
headerField := {
recipients := p_recipients
} // End of template mw_header_field_multiple_recipients
/**
* @desc Receive template for HeaderField with signer information
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (present) HeaderField mw_header_field_enc_params(
in template (present) EncryptionParameters p_enc_params
) := {
type_ := e_encryption_parameters,
headerField := {
enc_params := p_enc_params
}
} // End of template mw_header_field_enc_params
/**
* @desc Receive template for HeaderField with request for unrecognized certificate
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (present) HeaderField mw_header_field_request_unrecognized_certificate(
in template (present) HashedId3s p_digests := ?
) := {
type_ := e_request_unrecognized_certificate,
headerField := {
digests := p_digests
}
} // End of template mw_header_field_signer_info_digest
* @desc Receive template for HeaderField with ItsAid identifier
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
template (present) HeaderField mw_header_field_its_aid(
in template (present) IntX p_its_aid := ?
) := {
type_ := e_its_aid,
headerField := {
its_aid := p_its_aid
}
} // End of template mw_header_field_its_aid
/**
* @desc Receive template for HeaderField with CAM ItsAid identifier
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField mw_header_field_its_aid_CAM := {
type_ := e_its_aid,
headerField := {
its_aid := c_its_aid_CAM
}
} // End of template mw_header_field_its_aid_CAM
/**
* @desc Receive template for HeaderField with DENM ItsAid identifier
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField mw_header_field_its_aid_DENM := {
type_ := e_its_aid,
headerField := {
its_aid := c_its_aid_DENM
}
} // End of template mw_header_field_its_aid_DENM
/**
* @desc Receive template for HeaderField with Other ItsAid identifier
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField
*/
template (value) HeaderField mw_header_field_its_aid_Other := {
type_ := e_its_aid,
headerField := {
its_aid := c_its_aid_Other
}
} // End of template mw_header_field_its_aid_Other
} // End of group headerFieldsRecv
} // End of group headerFields
/**
* @desc Send/Receive templates for TrailerField
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.6 TrailerField
/**
* @desc Send template containing signature information used by the security layer after processing the payload
* @param p_signature The signature information
*/
template (value) TrailerField m_trailer_field_signature(
in template (value) Signature p_signature
) := {
type_ := e_signature,
trailerField := {
signature_ := p_signature
}
} // End of template m_trailer_field_dummy
/**
* @desc Receive template containing signature information used by the security layer after processing the payload
* @param p_signature The signature information
*/
template (present) TrailerField mw_trailer_field_signature(
in template (present) Signature p_signature := ?
) := {
type_ := e_signature,
trailerField := {
}
} // End of template mw_trailer_field_dummy
} // End of group trailerFields
/**
* @desc Send/Receive templates for RecipientInfo
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.8 RecipientInfo
group recipientInfo {
/**
* @desc Send template containing information for a message's recipient
* @param p_cert_id The recipient's certificate identifier
* @param p_pk_encryption The encryption type
* @param p_enc_key The encrypted key contained in an EciesEncryptedKey structure
*/
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
template (value) RecipientInfo m_recipientInfo_ecies_enc_key(
in template (value) HashedId8 p_cert_id,
in template (value) PublicKeyAlgorithm p_pk_encryption,
in template (value) EciesEncryptedKey p_enc_key
) := {
cert_id := p_cert_id,
pk_encryption := p_pk_encryption,
enc_key := {
enc_key := p_enc_key
} // End of field enc_key
} // End of template m_recipientInfo_ecies_enc_key
template (value) RecipientInfo m_recipientInfo_other_enc_key(
in template (value) HashedId8 p_cert_id,
in template (value) PublicKeyAlgorithm p_pk_encryption,
in template (value) octetstring p_enc_key_other
) := {
cert_id := p_cert_id,
pk_encryption := p_pk_encryption,
enc_key := {
enc_key_other := p_enc_key_other
} // End of field enc_key
} // End of template m_recipientInfo_other_enc_key
/**
* @desc Receive template containing information for a message's recipient
* @param p_cert_id The recipient's certificate identifier
* @param p_pk_encryption The encryption type
* @param p_enc_key The encrypted key contained in an EciesEncryptedKey structure
*/
template (present) RecipientInfo mw_recipientInfo_ecies_enc_key(
in template (present) HashedId8 p_cert_id,
in template (present) PublicKeyAlgorithm p_pk_encryption,
in template (present) EciesEncryptedKey p_enc_key
) := {
cert_id := p_cert_id,
pk_encryption := p_pk_encryption,
enc_key := {
enc_key := p_enc_key
} // End of field enc_key
} // End of template mw_recipientInfo_ecies_enc_key
} // End of group recipientInfo
/**
* @desc Send/Receive templates for EciesEncryptedKey
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.9 EciesEncryptedKey
group eciesEncryptedKey {
/**
* @desc Send template for an ECIES-encrypted symmetric key as defined in IEEE Std 1363a 2004
* @param p_encrypted_key The encrypted (AES) key
* @param p_authentication_tag The authentication tag vector
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.9 EciesEncryptedKey
*/
template (value) EciesEncryptedKey m_eciesEncryptedKey_aesccm(
in template (value) EccPoint p_ecc_key,
in template (value) octetstring p_encrypted_key,
in template (value) Oct16 p_authentication_tag
) := {
v := p_ecc_key,
c := p_encrypted_key,
t := p_authentication_tag
} // End of template m_eciesEncryptedKey_aesccm
/**
* @desc Receive template for an ECIES-encrypted symmetric key as defined in IEEE Std 1363a 2004
* @param p_encrypted_key The encrypted (AES) key
* @param p_authentication_tag The authentication tag vector
* @see Draft ETSI TS 103 097 V1.1.14 Clause 5.9 EciesEncryptedKey
*/
template (present) EciesEncryptedKey mw_eciesEncryptedKey_aesccm(
in template (present) EccPoint p_ecc_key,
in template (present) octetstring p_encrypted_key,
in template (present) Oct16 p_authentication_tag
) := {
v := p_ecc_key,
c := p_encrypted_key,
t := p_authentication_tag
} // End of template mw_eciesEncryptedKey_aesccm
} // End of group eciesEncryptedKey
} // End of group messages
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6 Specification of certificate format
*/
group dummyCertifices {
/**
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6 Specification of certificate format
*/
group dummyCertificesSend {
} // End of group dummyCertificesSend
/**
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6 Specification of certificate format
*/
group dummyCertificesRecv {
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6.1 Certificate
template (present) Certificate mw_certificate_dummy := {
version := c_certificate_version,
subject_info := ?,
subject_attributes := ?,
validity_restrictions := ?,
signature_ := ?
} // End of template mw_certificate_dummy
} // End of group dummyCertificesRecv
} // End of group dummyCertifices
/**
* @desc Send/receive templates for certificates
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6 Specification of certificate format
/**
* @desc Send templates for certificates
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6 Specification of certificate format
group certificatesSend {
/**
* @desc Send certificate template
* @member p_signer_info Signer information
* @member p_subject_info The subject information
* @member p_subject_attributes List of subject attribute
* @member p_validity_restrictions List of validity restriction
* @member p_signature The signature
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6.1 Certificate
*/
template (value) Certificate m_certificate(
in template (value) SignerInfo p_signer_info,
in template (value) SubjectInfo p_subject_info,
in template (value) SubjectAttributes p_subject_attributes,
in template (value) ValidityRestrictions p_validity_restrictions,
in template (value) Signature p_signature
) := {
version := c_certificate_version,
signer_info := p_signer_info,
subject_info := p_subject_info,
subject_attributes := p_subject_attributes,
validity_restrictions := p_validity_restrictions,
signature_ := p_signature
} // End of template m_certificate
/**
* @desc Send templates for certificates
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6.2 SubjectInfo
*/
group subjectInfo {
template (value) SubjectInfo m_subject_info_root_ca(
in template (value) Oct0to31 p_subject_name
) := {
subject_type := e_root_ca,
subject_name := p_subject_name
} // End of template m_subject_info_root_ca
garciay
committed
template (value) SubjectInfo m_subject_info_authorization_authority(
in template (value) Oct0to31 p_subject_name
) := {
subject_type := e_authorization_authority,
subject_name := p_subject_name
} // End of template m_subject_info_authorization_authority
template (value) SubjectInfo m_subject_info_authorization_ticket := {
subject_type := e_authorization_ticket,
subject_name := ''O
} // End of template m_subject_info_authorization_ticket
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
template (value) SubjectInfo m_subject_info_revocation(
in template (value) Oct0to31 p_subject_name
) := {
subject_type := e_crl_signer,
subject_name := p_subject_name
} // End of template m_subject_info_revocation
} // End of group subjectInfo
group subjectAttribute {
template (value) SubjectAttribute m_subject_attribute_verification_key(
in template (value) PublicKey p_key
) := {
type_ := e_verification_key,
attribute := {
key := p_key
}
} // End of template m_subject_attribute_verification_key
template (value) SubjectAttribute m_subject_attribute_encryption_key(
) := {
type_ := e_encryption_key,
attribute := {
}
} // End of template m_subject_attribute_encryption_key
template (value) SubjectAttribute m_subject_attribute_reconstruction_value(
in template (value) EccPoint p_rv
) := {
type_ := e_reconstruction_value,
attribute := {
rv := p_rv
}
} // End of template m_subject_attribute_reconstruction_value
template (value) SubjectAttribute m_subject_attribute_assurance_level(
in template (value) SubjectAssurance p_assurance_level
) := {
type_ := e_assurance_level,
attribute := {
assurance_level := p_assurance_level
}
} // End of template m_subject_attribute_assurance_level
template (value) SubjectAttribute m_subject_attribute_its_aid_list(
in template (value) IntXs p_its_aid_list
) := {
attribute := {
its_aid_list := p_its_aid_list
}
} // End of template m_subject_attribute_its_aid_list
template (value) SubjectAttribute m_subject_attribute_its_aid_ssp_list(
in template (value) ItsAidSsps p_its_aid_ssp_list
) := {
type_ := e_its_aid_ssp_list,
attribute := {
its_aid_ssp_list := p_its_aid_ssp_list
}
} // End of template m_subject_attribute_its_aid_ssp_list
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
} // End of group subjectAttribute
group subjectAssurance {
template (value) SubjectAssurance m_subjectAssurance(
in template (value) Bit3 p_levels,
in template (value) Bit2 p_confidence
) := {
levels := p_levels,
reserved := '000'B,
confidence := p_confidence
} // End of template m_subjectAssurance
} // End of group subjectAssurance
group validityRestriction {
template (value) ValidityRestriction m_validity_restriction_time_end(
in template (value) Time32 p_end_validity
) := {
type_ := e_time_end,
validity := {
end_validity := p_end_validity
} // End of field validity
} // End of template m_validity_restriction_time_end
template (value) ValidityRestriction m_validity_restriction_time_start_and_end(
in template (value) Time32 p_start_validity,
in template (value) Time32 p_end_validity
) := {
type_ := e_time_start_and_end,
validity := {
time_start_and_end := {
start_validity := p_start_validity,
end_validity := p_end_validity
} // End of field time_start_and_end
} // End of field validity
} // End of template m_validity_restriction_time_start_and_end
template (value) ValidityRestriction m_validity_restriction_time_start_and_duration(
in template (value) Time32 p_start_validity,
in template (value) Duration p_duration
) := {
type_ := e_time_start_and_duration,
validity := {
time_start_and_duration := {
start_validity := p_start_validity,
} // End of field time_start_and_duration
} // End of field validity
} // End of template m_validity_restriction_time_start_and_duration
template (value) ValidityRestriction m_validity_restriction_region(
in template (value) GeographicRegion p_region
) := {
type_ := e_region,
validity := {
region := p_region
} // End of field validity
} // End of template m_validity_restriction_region
template (value) ValidityRestriction m_validity_restriction_unknown := {
type_ := e_unknown,
validity := {
data := ''O
} // End of field validity
} // End of template m_validity_restriction_unknown
} // End of group validityRestriction
} // End of group certificatesSend
/**
* @desc Receive templates for certificates
* @see Draft ETSI TS 103 097 V1.1.14 Clause 6 Specification of certificate format
garciay
committed
template (present) Certificate mw_certificate(
in template (present) SignerInfo p_signer_info := ?,
in template (present) SubjectInfo p_subject_info := ?,
in template (present) SubjectAttributes p_subject_attributes := ?,
in template (present) ValidityRestrictions p_validity_restrictions := ?,
) := {
version := c_certificate_version,
signer_info := p_signer_info,
subject_info := p_subject_info,
subject_attributes := p_subject_attributes,
validity_restrictions := p_validity_restrictions,
signature_ := p_signature
} // End of template m_certificate
in template (present) SignerInfo p_signer_info := ?,
in template (present) SubjectAttributes p_subject_attributes := ?,
in template (present) ValidityRestrictions p_validity_restrictions := ?,
signer_info := p_signer_info,
subject_info := {
subject_type := e_authorization_authority,
subject_name := ?
},
subject_attributes := p_subject_attributes,
validity_restrictions := p_validity_restrictions,
signature_ := p_signature
} // End of template m_aa_certificate
template (present) Certificate mw_at_certificate(
in template (present) SignerInfo p_signer_info := ?,
in template (present) SubjectAttributes p_subject_attributes := ?,
in template (present) ValidityRestrictions p_validity_restrictions := ?,
in template (present) Signature p_signature :=?
) := {
version := c_certificate_version,
signer_info := p_signer_info,
subject_info := {
subject_type := e_authorization_ticket,
subject_name := ?
},
subject_attributes := p_subject_attributes,
validity_restrictions := p_validity_restrictions,
signature_ := p_signature
} // End of template m_at_certificate
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
group subjectInfo {
template (present) SubjectInfo mw_subject_info_root_ca(
in template (present) Oct0to31 p_subject_name
) := {
subject_type := e_root_ca,
subject_name := p_subject_name
} // End of template mw_subject_info_root_ca
template (present) SubjectInfo mw_subject_info_revocation(
in template (present) Oct0to31 p_subject_name
) := {
subject_type := e_crl_signer,
subject_name := p_subject_name
} // End of template mw_subject_info_revocation
} // End of group subjectInfo
group subjectAttribute {
template (present) SubjectAttribute mw_subject_attribute_verification_key(
in template (present) PublicKey p_key := ?
) := {
type_ := e_verification_key,
attribute := {
key := p_key
}
} // End of template mw_subject_attribute_verification_key
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
group publicKeyRecv {
/**
* @desc Receive template for PublicKey/EccPoint/Compressed_lsb_y_0
* @see Draft ETSI TS 103 097 V1.1.14 Clause 4.2.4 PublicKey
*/
template (present) PublicKey mw_publicKey_eccPoint_compressed_lsb_y_0
modifies mw_publicKey_eccPoint_dummy := {
public_key := {
eccPoint := mw_eccPointecdsa_nistp256_with_sha256_y0_coordinate_only
} // End of field public_key
} // End of template mw_publicKey_eccPoint_compressed_lsb_y_0
/**
* @desc Receive template for PublicKey/EccPoint/Compressed_lsb_y_1
* @see Draft ETSI TS 103 097 V1.1.14 Clause 4.2.4 PublicKey
*/
template (present) PublicKey mw_publicKey_eccPoint_compressed_lsb_y_1
modifies mw_publicKey_eccPoint_dummy := {
public_key := {
eccPoint := mw_eccPointecdsa_nistp256_with_sha256_y1_coordinate_only
} // End of field public_key
} // End of template mw_publicKey_eccPoint_compressed_lsb_y_1