-
Notifications
You must be signed in to change notification settings - Fork 1
/
pca-ra-errors.asn
87 lines (78 loc) · 2.57 KB
/
pca-ra-errors.asn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
--
-- Copyright 2017, 2018 Crash Avoidance Metrics Partner, VSC5 Consortium
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-------------------------------------------------------------------------------
-- PCA-RA-ERRORS
--
-- The structure in this file defines the possible error occuring during a
-- message exchange between the PCA and the RA.
--
-- This file is part of the SCMS protocol developed by CAMP VSC5
-- It depends on the IEEE 1609.2 protocol specification
-------------------------------------------------------------------------------
-- @namespace Ieee1609Dot2PcaRaError
Ieee1609Dot2PcaRaError
{iso(1) identified-organization(3) ieee(111)
standards-association-numbered-series-standards(2) wave-stds(1609)
dot2(2) scms(4) errors(2) pca-ra(15) major-version-2(2)}
DEFINITIONS AUTOMATIC TAGS ::= BEGIN
EXPORTS ALL;
---
-- @brief Generic structure containing the possible errors returned by the PCA.
-- @class PcaRaError
-- @param
-- @see
PcaRaError ::= CHOICE {
pca-ra-base-error PcaRaBaseErrorCode,
pca-ra-request-error PcaRaRequestErrorCode,
...
}
---
-- @brief
-- @class PcaRaBaseErrorCode
-- @param
-- @see
PcaRaBaseErrorCode ::= ENUMERATED {
-- Unknown error
unknownError,
...
}
---
-- @brief
-- @class PcaRaRequestErrorCode
-- @param
-- @see
PcaRaRequestErrorCode ::= ENUMERATED {
-- invalid certificate type requested
invalidCertificateRequestType,
-- invalid type (neither implicit nor explicit certificate type)
invalidType,
-- invalid PSID or SSP
invalidPsidSsp,
-- invalid Region
invalidRegion,
-- invalid start, end, duration or expiration time
invalidValidity,
-- an invalid encryption public key is passed
invalidEncryptionPublicKey,
-- an invalid signing public key is passed
invalidSignaturePublicKey,
-- invalid encrypted prelinkage value is passed (e.g. cannot be decrypted)
invalidEncryptedPreLinkageValue,
-- invalid encrypted group prelinkage value is passed (e.g. cannot be decrypted)
invalidEncryptedGroupPreLinkageValue,
...
}
END