summaryrefslogtreecommitdiff
path: root/lib/ssl/src/ssl_pkix.hrl
blob: a8463369f6190d69da0efef325c894c9f4f94dd6 (plain)
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
%%
%% %CopyrightBegin%
%% 
%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
%% 
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at http://www.erlang.org/.
%% 
%% Software distributed under the License is distributed on an "AS IS"
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
%% the License for the specific language governing rights and limitations
%% under the License.
%% 
%% %CopyrightEnd%
%%

%%

-ifndef(ssl_pkix).
-define(ssl_pkix, true).

-include("OTP-PKIX.hrl").

%% The following commented out records are currently defined in OTP-PKIX.hrl
%% and are considered a public interface through ssl_pkix.hrl.
%% NOTE do not include OTP-PKIX.hrl it is an generated file
%% and may change but the following records will still be
%% availanble from this file.  

% -record('Certificate', {
% 	  tbsCertificate, 
% 	  signatureAlgorithm, 
% 	  signature}).

% -record('TBSCertificate', {
% 	  version = asn1_DEFAULT, 
% 	  serialNumber, 
% 	  signature, 
% 	  issuer, 
% 	  validity, 
% 	  subject, 
% 	  subjectPublicKeyInfo, 
% 	  issuerUniqueID = asn1_NOVALUE, 
% 	  subjectUniqueID = asn1_NOVALUE, 
% 	  extensions = asn1_NOVALUE}).

% -record('AttributeTypeAndValue', {
% 	  type, 
% 	  value}).

% -record('SubjectPublicKeyInfo', {
% 	  algorithm, 
% 	  subjectPublicKey}).

-record('SubjectPublicKeyInfo_algorithm', {
 	  algorithm, 
 	  parameters = asn1_NOVALUE}).

% -record('FieldID', {
% 	  fieldType,
% 	  parameters}).

% -record('Characteristic-two', {
% 	  m, 
% 	  basis, 
% 	  parameters}).

% -record('ExtensionAttribute', {
% 	  extensionAttributeType, 
% 	  extensionAttributeValue}).

% -record('Extension', {
% 	  extnID, 
% 	  critical = asn1_DEFAULT, 
% 	  extnValue}).

-endif. % -ifdef(ssl_pkix).