1 /* |
1 /* |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
3 */ |
3 */ |
4 |
4 |
5 /* Copyright (c) 2002 Graz University of Technology. All rights reserved. |
5 /* Copyright (c) 2002 Graz University of Technology. All rights reserved. |
6 * |
6 * |
7 * Redistribution and use in source and binary forms, with or without |
7 * Redistribution and use in source and binary forms, with or without |
110 |
110 |
111 public CK_MECHANISM(long mechanism, CK_SSL3_MASTER_KEY_DERIVE_PARAMS params) { |
111 public CK_MECHANISM(long mechanism, CK_SSL3_MASTER_KEY_DERIVE_PARAMS params) { |
112 init(mechanism, params); |
112 init(mechanism, params); |
113 } |
113 } |
114 |
114 |
|
115 public CK_MECHANISM(long mechanism, CK_TLS12_MASTER_KEY_DERIVE_PARAMS params) { |
|
116 init(mechanism, params); |
|
117 } |
|
118 |
115 public CK_MECHANISM(long mechanism, CK_SSL3_KEY_MAT_PARAMS params) { |
119 public CK_MECHANISM(long mechanism, CK_SSL3_KEY_MAT_PARAMS params) { |
116 init(mechanism, params); |
120 init(mechanism, params); |
117 } |
121 } |
118 |
122 |
|
123 public CK_MECHANISM(long mechanism, CK_TLS12_KEY_MAT_PARAMS params) { |
|
124 init(mechanism, params); |
|
125 } |
|
126 |
119 public CK_MECHANISM(long mechanism, CK_TLS_PRF_PARAMS params) { |
127 public CK_MECHANISM(long mechanism, CK_TLS_PRF_PARAMS params) { |
|
128 init(mechanism, params); |
|
129 } |
|
130 |
|
131 public CK_MECHANISM(long mechanism, CK_TLS_MAC_PARAMS params) { |
120 init(mechanism, params); |
132 init(mechanism, params); |
121 } |
133 } |
122 |
134 |
123 public CK_MECHANISM(long mechanism, CK_ECDH1_DERIVE_PARAMS params) { |
135 public CK_MECHANISM(long mechanism, CK_ECDH1_DERIVE_PARAMS params) { |
124 init(mechanism, params); |
136 init(mechanism, params); |