File 1611-public_key-Add-licenses-to-test-data-PEM-files.patch of Package erlang
From 4093ae87d50c9510af8e37b8ce4332480d7cb6b3 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin <ingela@erlang.org>
Date: Wed, 14 Jan 2026 11:29:48 +0100
Subject: [PATCH 1/2] public_key: Add licenses to test data PEM files
Also correct some errors regarding years and copyright holders
caused by copy pasting when adding the headers.
---
lib/public_key/asn1/OTP-PKIX-Relaxed.asn1 | 2 +-
.../asn1/OTP-PKIX-Relaxed.asn1config | 4 +-
lib/public_key/test/public_key_SUITE.erl | 28 +++++++-------
.../bad_date_certchain.pem | 21 +++++++++++
.../test/public_key_SUITE_data/cacerts.pem | 22 +++++++++++
.../public_key_SUITE_data/client_cert.pem | 20 ++++++++++
.../test/public_key_SUITE_data/client_key.pem | 21 +++++++++++
.../test/public_key_SUITE_data/crl_signer.pem | 21 +++++++++++
.../test/public_key_SUITE_data/dh.pem | 21 +++++++++++
.../test/public_key_SUITE_data/dsa.pem | 20 ++++++++++
.../test/public_key_SUITE_data/dsa_ISO.pem | 21 +++++++++++
.../public_key_SUITE_data/dsa_key_pkcs8.pem | 22 +++++++++++
.../test/public_key_SUITE_data/dsa_pub.pem | 20 ++++++++++
.../test/public_key_SUITE_data/ec_key.pem | 21 +++++++++++
.../test/public_key_SUITE_data/ec_key2.pem | 22 +++++++++++
.../public_key_SUITE_data/ec_key_param0.pem | 21 +++++++++++
.../public_key_SUITE_data/ec_key_param1.pem | 21 +++++++++++
.../public_key_SUITE_data/ec_key_pkcs8.pem | 22 +++++++++++
.../test/public_key_SUITE_data/ec_pubkey.pem | 21 +++++++++++
.../eddsa_key_rfc5958.pem | 33 +++++++++++++++++
.../public_key_SUITE_data/empty_rdns_cert.pem | 37 ++++++-------------
.../test/public_key_SUITE_data/idp_cert.pem | 22 +++++++++++
.../test/public_key_SUITE_data/idp_crl.pem | 22 +++++++++++
.../public_key_SUITE_data/ldap_uri_cert.pem | 22 +++++++++++
.../public_key_SUITE_data/mldsa-44-cert.pem | 1 -
.../public_key_SUITE_data/mldsa-44-pub.pem | 1 -
.../public_key_SUITE_data/mldsa-65-pub.pem | 1 -
.../test/public_key_SUITE_data/mldsa-65.pem | 1 -
.../public_key_SUITE_data/mldsa-87-pub.pem | 1 -
.../test/public_key_SUITE_data/mldsa-87.pem | 1 -
.../test/public_key_SUITE_data/pkcs7_cert.pem | 22 +++++++++++
.../test/public_key_SUITE_data/pkcs7_ext.pem | 22 +++++++++++
.../pkix_verify_hostname_cn.pem | 21 +++++++++++
.../pkix_verify_hostname_subjAltName.pem | 21 +++++++++++
.../pkix_verify_hostname_subjAltName_IP.pem | 22 +++++++++++
.../public_key_SUITE_data/prefix-dots.pem | 23 ++++++++++++
.../public_key_SUITE_data/pss_default.pem | 22 +++++++++++
.../public_key_SUITE_data/public_eddsa.pem | 21 +++++++++++
.../test/public_key_SUITE_data/req.pem | 22 +++++++++++
.../test/public_key_SUITE_data/rsa.pem | 28 ++++++++++++--
.../test/public_key_SUITE_data/rsa_ISO.pem | 20 ++++++++++
.../public_key_SUITE_data/rsa_key_pkcs8.pem | 20 ++++++++++
.../test/public_key_SUITE_data/rsa_md2.pem | 2 +
.../public_key_SUITE_data/rsa_pss_pss_key.pem | 20 ++++++++++
.../test/public_key_SUITE_data/rsa_pub.pem | 20 ++++++++++
.../public_key_SUITE_data/rsa_pub_key.pem | 20 ++++++++++
.../public_key_SUITE_data/server_cert.pem | 20 ++++++++++
.../test/public_key_SUITE_data/server_key.pem | 20 ++++++++++
.../public_key_SUITE_data/slh-dsa-cert.pem | 1 -
.../slh-dsa-sha2-128s-pub.pem | 2 +-
.../slh-dsa-sha2-128s.pem | 1 +
51 files changed, 827 insertions(+), 56 deletions(-)
diff --git a/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1 b/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1
index 7c9cd61329..3cbd027104 100644
--- a/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1
+++ b/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1
@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: Apache-2.0
--
--- Copyright Ericsson AB 2008-2025. All Rights Reserved.
+-- Copyright Jan Uhlig 2025-2026. All Rights Reserved.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
diff --git a/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1config b/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1config
index 7b1f9cba3e..bd79a4f12e 100644
--- a/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1config
+++ b/lib/public_key/asn1/OTP-PKIX-Relaxed.asn1config
@@ -1,10 +1,8 @@
-%% -*- erlang -*-
-%%
%% %CopyrightBegin%
%%
%% SPDX-License-Identifier: Apache-2.0
%%
-%% Copyright Ericsson AB 2008-2025. All Rights Reserved.
+%% Copyright Jan Uhlig 2025-2026. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
diff --git a/lib/public_key/test/public_key_SUITE.erl b/lib/public_key/test/public_key_SUITE.erl
index 1c9257396b..2481d63f87 100644
--- a/lib/public_key/test/public_key_SUITE.erl
+++ b/lib/public_key/test/public_key_SUITE.erl
@@ -410,7 +410,7 @@ dsa_pem(Config) when is_list(Config) ->
DSAPubKey = public_key:pem_entry_decode(PubEntry0),
true = check_entry_type(DSAPubKey, 'DSAPublicKey'),
PubEntry0 = public_key:pem_entry_encode('SubjectPublicKeyInfo', DSAPubKey),
- DSAPubPemNoEndNewLines = strip_superfluous_newlines(DSAPubPem),
+ DSAPubPemNoEndNewLines = strip_licence(strip_superfluous_newlines(DSAPubPem)),
DSAPubPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PubEntry0])).
dsa_priv_pkcs8() ->
@@ -423,7 +423,7 @@ dsa_priv_pkcs8(Config) when is_list(Config) ->
DSAKey = public_key:pem_entry_decode(Entry0),
true = check_entry_type(DSAKey, 'DSAPrivateKey'),
PrivEntry0 = public_key:pem_entry_encode('PrivateKeyInfo', DSAKey),
- DSAPemNoEndNewLines = strip_superfluous_newlines(DsaPem),
+ DSAPemNoEndNewLines = strip_licence(strip_superfluous_newlines(DsaPem)),
DSAPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PrivEntry0])).
%%--------------------------------------------------------------------
@@ -451,14 +451,14 @@ rsa_pem(Config) when is_list(Config) ->
RSAPubKey = public_key:pem_entry_decode(PubEntry0),
true = check_entry_type(RSAPubKey, 'RSAPublicKey'),
PubEntry0 = public_key:pem_entry_encode('SubjectPublicKeyInfo', RSAPubKey),
- RSAPubPemNoEndNewLines = strip_superfluous_newlines(RSAPubPem),
+ RSAPubPemNoEndNewLines = strip_licence(strip_superfluous_newlines(RSAPubPem)),
RSAPubPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PubEntry0])),
{ok, RSARawPem} = file:read_file(filename:join(Datadir, "rsa_pub_key.pem")),
[{'RSAPublicKey', _, _} = PubEntry1] =
public_key:pem_decode(RSARawPem),
RSAPubKey = public_key:pem_entry_decode(PubEntry1),
- RSARawPemNoEndNewLines = strip_superfluous_newlines(RSARawPem),
+ RSARawPemNoEndNewLines = strip_licence(strip_superfluous_newlines(RSARawPem)),
RSARawPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PubEntry1])).
rsa_pss_pss_pem() ->
@@ -471,7 +471,7 @@ rsa_pss_pss_pem(Config) when is_list(Config) ->
{RSAKey, Parms} = public_key:pem_entry_decode(Entry0),
true = check_entry_type(RSAKey, 'RSAPrivateKey'),
PrivEntry0 = public_key:pem_entry_encode('PrivateKeyInfo', {RSAKey, Parms}),
- RSAPemNoEndNewLines = strip_superfluous_newlines(RsaPem),
+ RSAPemNoEndNewLines = strip_licence(strip_superfluous_newlines(RsaPem)),
RSAPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PrivEntry0])).
rsa_pss_default_pem() ->
@@ -485,7 +485,7 @@ rsa_pss_default_pem(Config) when is_list(Config) ->
{RSAKey, Parms} = public_key:pem_entry_decode(Entry0),
true = check_entry_type(RSAKey, 'RSAPrivateKey'),
PrivEntry0 = public_key:pem_entry_encode('PrivateKeyInfo', {RSAKey, Parms}),
- RSAPemNoEndNewLines = strip_superfluous_newlines(RsaPem),
+ RSAPemNoEndNewLines = strip_licence(strip_superfluous_newlines(RsaPem)),
RSAPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PrivEntry0])).
rsa_priv_pkcs8() ->
@@ -498,7 +498,7 @@ rsa_priv_pkcs8(Config) when is_list(Config) ->
RSAKey = public_key:pem_entry_decode(Entry0),
true = check_entry_type(RSAKey, 'RSAPrivateKey'),
PrivEntry0 = public_key:pem_entry_encode('PrivateKeyInfo', RSAKey),
- RSAPemNoEndNewLines = strip_superfluous_newlines(RsaPem),
+ RSAPemNoEndNewLines = strip_licence(strip_superfluous_newlines(RsaPem)),
RSAPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PrivEntry0])).
%%--------------------------------------------------------------------
@@ -513,7 +513,7 @@ ec_pem(Config) when is_list(Config) ->
ECPubKey = public_key:pem_entry_decode(PubEntry0),
true = check_entry_type(ECPubKey, 'ECPoint'),
PubEntry0 = public_key:pem_entry_encode('SubjectPublicKeyInfo', ECPubKey),
- ECPubPemNoEndNewLines = strip_superfluous_newlines(ECPubPem),
+ ECPubPemNoEndNewLines = strip_licence(strip_superfluous_newlines(ECPubPem)),
ECPubPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PubEntry0])),
{ok, ECPrivPem} = file:read_file(filename:join(Datadir, "ec_key.pem")),
@@ -525,7 +525,7 @@ ec_pem(Config) when is_list(Config) ->
ECPrivKey = public_key:pem_entry_decode(Entry2),
true = check_entry_type(ECPrivKey, 'ECPrivateKey'),
true = check_entry_type(ECPrivKey#'ECPrivateKey'.parameters, 'EcpkParameters'),
- ECPemNoEndNewLines = strip_superfluous_newlines(ECPrivPem),
+ ECPemNoEndNewLines = strip_licence(strip_superfluous_newlines(ECPrivPem)),
ECPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([Entry1, Entry2])).
-ifdef('EXPLICIT_EC_PARAMS').
@@ -545,7 +545,7 @@ ec_pem2(Config) when is_list(Config) ->
ECPrivKey = public_key:pem_entry_decode(Entry2),
true = check_entry_type(ECPrivKey, 'ECPrivateKey'),
true = check_entry_type(ECPrivKey#'ECPrivateKey'.parameters, 'EcpkParameters'),
- ECPemNoEndNewLines = strip_superfluous_newlines(ECPrivPem),
+ ECPemNoEndNewLines = strip_licence(strip_superfluous_newlines(ECPrivPem)),
ECPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([Entry1, Entry2])).
-endif.
@@ -559,7 +559,7 @@ ec_priv_pkcs8(Config) when is_list(Config) ->
true = check_entry_type(ECPrivKey, 'ECPrivateKey'),
true = check_entry_type(ECPrivKey#'ECPrivateKey'.parameters, 'EcpkParameters'),
PrivEntry0 = public_key:pem_entry_encode('PrivateKeyInfo', ECPrivKey),
- ECPemNoEndNewLines = strip_superfluous_newlines(ECPrivPem),
+ ECPemNoEndNewLines = strip_licence(strip_superfluous_newlines(ECPrivPem)),
ECPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PrivEntry0])).
eddsa_priv_pkcs8() ->
@@ -573,7 +573,7 @@ eddsa_priv_pkcs8(Config) when is_list(Config) ->
true = ECPrivKey#'ECPrivateKey'.parameters == {namedCurve, ?'id-Ed25519'},
true = size(ECPrivKey#'ECPrivateKey'.privateKey) == 32,
PrivEntry0 = public_key:pem_entry_encode('PrivateKeyInfo', ECPrivKey),
- ECPemNoEndNewLines = strip_superfluous_newlines(ECPrivPem),
+ ECPemNoEndNewLines = strip_licence(strip_superfluous_newlines(ECPrivPem)),
ECPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PrivEntry0])).
eddsa_priv_rfc5958() ->
@@ -587,7 +587,7 @@ eddsa_priv_rfc5958(Config) when is_list(Config) ->
true = ECPrivKey#'ECPrivateKey'.parameters == {namedCurve, ?'id-Ed25519'},
true = size(ECPrivKey#'ECPrivateKey'.privateKey) == 32,
PrivEntry0 = public_key:pem_entry_encode('OneAsymmetricKey', ECPrivKey),
- ECPemNoEndNewLines = strip_superfluous_newlines(ECPrivPem),
+ ECPemNoEndNewLines = strip_licence(strip_superfluous_newlines(ECPrivPem)),
ECPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PrivEntry0])).
eddsa_pub() ->
@@ -601,7 +601,7 @@ eddsa_pub(Config) when is_list(Config) ->
true = check_entry_type(EDDSAPubKey, 'ECPoint'),
{_, {namedCurve, ?'id-Ed25519'}} = EDDSAPubKey,
PemEntry0 = public_key:pem_entry_encode('SubjectPublicKeyInfo', EDDSAPubKey),
- ECPemNoEndNewLines = strip_superfluous_newlines(EDDSAPubPem),
+ ECPemNoEndNewLines = strip_licence(strip_superfluous_newlines(EDDSAPubPem)),
ECPemNoEndNewLines = strip_superfluous_newlines(public_key:pem_encode([PemEntry0])).
mldsa_priv_pkcs8() ->
diff --git a/lib/public_key/test/public_key_SUITE_data/bad_date_certchain.pem b/lib/public_key/test/public_key_SUITE_data/bad_date_certchain.pem
index 6b9cdd1f59..1ae4227489 100644
--- a/lib/public_key/test/public_key_SUITE_data/bad_date_certchain.pem
+++ b/lib/public_key/test/public_key_SUITE_data/bad_date_certchain.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Andrea Santambrogio 2023-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN CERTIFICATE-----
MIIFYDCCA0igAwIBAgIJAOj6GWMU0voYMA0GCSqGSIb3DQEBCwUAMBsxGTAXBgNV
BAUTEGY5MjAwOWU4NTNiNmIwNDUwHhcNMTYwNTI2MTYyODUyWhcNMjYwNTI0MTYy
diff --git a/lib/public_key/test/public_key_SUITE_data/cacerts.pem b/lib/public_key/test/public_key_SUITE_data/cacerts.pem
index d56b9a8227..a18d8d8b82 100644
--- a/lib/public_key/test/public_key_SUITE_data/cacerts.pem
+++ b/lib/public_key/test/public_key_SUITE_data/cacerts.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN CERTIFICATE-----
MIIC7jCCAlegAwIBAgIJAOaRYda/AniWMA0GCSqGSIb3DQEBBQUAMIGGMREwDwYD
VQQDEwhlcmxhbmdDQTETMBEGA1UECxMKRXJsYW5nIE9UUDEUMBIGA1UEChMLRXJp
diff --git a/lib/public_key/test/public_key_SUITE_data/client_cert.pem b/lib/public_key/test/public_key_SUITE_data/client_cert.pem
index 9017e99fce..59a272bb0c 100644
--- a/lib/public_key/test/public_key_SUITE_data/client_cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/client_cert.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN CERTIFICATE-----
MIIDuDCCAyGgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBgzEOMAwGA1UEAxMFb3Rw
Q0ExEzARBgNVBAsTCkVybGFuZyBPVFAxFDASBgNVBAoTC0VyaWNzc29uIEFCMQsw
diff --git a/lib/public_key/test/public_key_SUITE_data/client_key.pem b/lib/public_key/test/public_key_SUITE_data/client_key.pem
index 9d7e0dd5fb..38a4281d2d 100644
--- a/lib/public_key/test/public_key_SUITE_data/client_key.pem
+++ b/lib/public_key/test/public_key_SUITE_data/client_key.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQD1OET+3O/Bvj/dtjxDTXmj1oiJt4sIph5kGy0RfjoPrZfaS+CU
DhakCmS6t2ivxWFgtpKWaoGMZMJqWj6F6ZsumyFl3FPBtujwY/35cgifrI9Ns4Tl
diff --git a/lib/public_key/test/public_key_SUITE_data/crl_signer.pem b/lib/public_key/test/public_key_SUITE_data/crl_signer.pem
index d77f86b45d..8a2b6299de 100644
--- a/lib/public_key/test/public_key_SUITE_data/crl_signer.pem
+++ b/lib/public_key/test/public_key_SUITE_data/crl_signer.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2014-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN CERTIFICATE-----
MIID8zCCAtugAwIBAgIJAKU8w89SmyPyMA0GCSqGSIb3DQEBBAUAMIGGMREwDwYD
VQQDEwhlcmxhbmdDQTETMBEGA1UECxMKRXJsYW5nIE9UUDEUMBIGA1UEChMLRXJp
diff --git a/lib/public_key/test/public_key_SUITE_data/dh.pem b/lib/public_key/test/public_key_SUITE_data/dh.pem
index c133540b44..1b6c15d757 100644
--- a/lib/public_key/test/public_key_SUITE_data/dh.pem
+++ b/lib/public_key/test/public_key_SUITE_data/dh.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN DH PARAMETERS-----
MEYCQQD+KCcagSasA1QSo8tRXpbaLJJ1Ezt3FJFEZ3RVplp4qZwXQpSZ+Vly3xWx
q3YvALe/enMbIq8F3OUmppq3UHwTAgEC
diff --git a/lib/public_key/test/public_key_SUITE_data/dsa.pem b/lib/public_key/test/public_key_SUITE_data/dsa.pem
index 58f0a65cba..4662cc9479 100644
--- a/lib/public_key/test/public_key_SUITE_data/dsa.pem
+++ b/lib/public_key/test/public_key_SUITE_data/dsa.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN DSA PRIVATE KEY-----
MIIBuwIBAAKBgQC3s+bZJWOQnRXkzKLPPfaQOouLuLgrbM4Ac63QZOnJeRVas3c1
jBk0Isp506RrKzhEop8z9OiKfqRteVntjjkcILwsQ/1veWgojdP/jHYl6pbJm6AQ
diff --git a/lib/public_key/test/public_key_SUITE_data/dsa_ISO.pem b/lib/public_key/test/public_key_SUITE_data/dsa_ISO.pem
index d3541367f0..1d6d555c9a 100644
--- a/lib/public_key/test/public_key_SUITE_data/dsa_ISO.pem
+++ b/lib/public_key/test/public_key_SUITE_data/dsa_ISO.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2013-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN CERTIFICATE-----
MIIEEjCCAqygAwIBAgIQZIIqq4RXfpBKJXV69Jc4BjCCASwGByqGSM44BAMwggEf
AoGBALez5tklY5CdFeTMos899pA6i4u4uCtszgBzrdBk6cl5FVqzdzWMGTQiynnT
diff --git a/lib/public_key/test/public_key_SUITE_data/dsa_key_pkcs8.pem b/lib/public_key/test/public_key_SUITE_data/dsa_key_pkcs8.pem
index 86e38e2c76..6b64cff0e8 100644
--- a/lib/public_key/test/public_key_SUITE_data/dsa_key_pkcs8.pem
+++ b/lib/public_key/test/public_key_SUITE_data/dsa_key_pkcs8.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Maxim Fedorov 2018-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN PRIVATE KEY-----
MIIBSwIBADCCASwGByqGSM44BAEwggEfAoGBALez5tklY5CdFeTMos899pA6i4u4
uCtszgBzrdBk6cl5FVqzdzWMGTQiynnTpGsrOESinzP06Ip+pG15We2OORwgvCxD
diff --git a/lib/public_key/test/public_key_SUITE_data/dsa_pub.pem b/lib/public_key/test/public_key_SUITE_data/dsa_pub.pem
index d3635e5b20..a49da0f5d1 100644
--- a/lib/public_key/test/public_key_SUITE_data/dsa_pub.pem
+++ b/lib/public_key/test/public_key_SUITE_data/dsa_pub.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Seth Falcon 2011-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN PUBLIC KEY-----
MIIBtzCCASwGByqGSM44BAEwggEfAoGBALez5tklY5CdFeTMos899pA6i4u4uCts
zgBzrdBk6cl5FVqzdzWMGTQiynnTpGsrOESinzP06Ip+pG15We2OORwgvCxD/W95
diff --git a/lib/public_key/test/public_key_SUITE_data/ec_key.pem b/lib/public_key/test/public_key_SUITE_data/ec_key.pem
index 1bb375d22f..c79914ca58 100644
--- a/lib/public_key/test/public_key_SUITE_data/ec_key.pem
+++ b/lib/public_key/test/public_key_SUITE_data/ec_key.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2016-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN EC PARAMETERS-----
BgUrgQQACg==
-----END EC PARAMETERS-----
diff --git a/lib/public_key/test/public_key_SUITE_data/ec_key2.pem b/lib/public_key/test/public_key_SUITE_data/ec_key2.pem
index 56b8169e86..0261c6d5b5 100644
--- a/lib/public_key/test/public_key_SUITE_data/ec_key2.pem
+++ b/lib/public_key/test/public_key_SUITE_data/ec_key2.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Daniel Goertzen 2017-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN EC PARAMETERS-----
MIIBwgIBATBNBgcqhkjOPQEBAkIB////////////////////////////////////
//////////////////////////////////////////////////8wgZ4EQgH/////
diff --git a/lib/public_key/test/public_key_SUITE_data/ec_key_param0.pem b/lib/public_key/test/public_key_SUITE_data/ec_key_param0.pem
index 679b08f1a2..03500cbb5b 100644
--- a/lib/public_key/test/public_key_SUITE_data/ec_key_param0.pem
+++ b/lib/public_key/test/public_key_SUITE_data/ec_key_param0.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2017-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN EC PARAMETERS-----
MIIBwgIBATBNBgcqhkjOPQEBAkIB////////////////////////////////////
//////////////////////////////////////////////////8wgZ4EQgH/////
diff --git a/lib/public_key/test/public_key_SUITE_data/ec_key_param1.pem b/lib/public_key/test/public_key_SUITE_data/ec_key_param1.pem
index 67095d8dc5..98aac7aeca 100644
--- a/lib/public_key/test/public_key_SUITE_data/ec_key_param1.pem
+++ b/lib/public_key/test/public_key_SUITE_data/ec_key_param1.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2017-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN EC PARAMETERS-----
MIIBcQIBATAlBgcqhkjOPQECMBoCAgI7BgkqhkjOPQECAwMwCQIBAgIBBQIBCjBk
BAEBBEgC9A5+IiHyld4pcRe389YvXGqX/8uM7/HNa6jOSpoYrYT/q72O+lkzK+et
diff --git a/lib/public_key/test/public_key_SUITE_data/ec_key_pkcs8.pem b/lib/public_key/test/public_key_SUITE_data/ec_key_pkcs8.pem
index 8280a3671a..a3ec388a23 100644
--- a/lib/public_key/test/public_key_SUITE_data/ec_key_pkcs8.pem
+++ b/lib/public_key/test/public_key_SUITE_data/ec_key_pkcs8.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Maxim Fedorov 2018-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN PRIVATE KEY-----
MIGEAgEAMBAGByqGSM49AgEGBSuBBAAKBG0wawIBAQQgB349XXSmba5BbJT5UuCK
OoyoPHsygy6n+WzP1J+8eYShRANCAATTJdDtiqV9Hs7q+Y/yak1z3uJpukFQGYmr
diff --git a/lib/public_key/test/public_key_SUITE_data/ec_pubkey.pem b/lib/public_key/test/public_key_SUITE_data/ec_pubkey.pem
index 186c32bc01..2bd4d03fb4 100644
--- a/lib/public_key/test/public_key_SUITE_data/ec_pubkey.pem
+++ b/lib/public_key/test/public_key_SUITE_data/ec_pubkey.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2016-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN PUBLIC KEY-----
MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE0yXQ7YqlfR7O6vmP8mpNc97iabpBUBmJ
q5Sdos7cX7+289dHiecjPxjahvJCtMO0iM43nbCJH40Su21+pj+4eA==
diff --git a/lib/public_key/test/public_key_SUITE_data/eddsa_key_rfc5958.pem b/lib/public_key/test/public_key_SUITE_data/eddsa_key_rfc5958.pem
index 7179f294ba..7027ab1750 100644
--- a/lib/public_key/test/public_key_SUITE_data/eddsa_key_rfc5958.pem
+++ b/lib/public_key/test/public_key_SUITE_data/eddsa_key_rfc5958.pem
@@ -1,3 +1,36 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: BSD-3-Clause
+//
+// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// 2. Redistributions in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// 3. Neither the name of the copyright holder nor the names of its contributors
+// may be used to endorse or promote products derived from this software
+// without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
+// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+// POSSIBILITY OF SUCH DAMAGE.
+//
+// %CopyrightEnd%
-----BEGIN PRIVATE KEY-----
MHICAQEwBQYDK2VwBCIEINTuctv5E1hK1bbY8fdp+K06/nwoy/HU++CXqI9EdVhC
oB8wHQYKKoZIhvcNAQkJFDEPDA1DdXJkbGUgQ2hhaXJzgSEAGb9ECWmEzf6FQbrB
diff --git a/lib/public_key/test/public_key_SUITE_data/empty_rdns_cert.pem b/lib/public_key/test/public_key_SUITE_data/empty_rdns_cert.pem
index df97657a4b..b1b4f3e789 100644
--- a/lib/public_key/test/public_key_SUITE_data/empty_rdns_cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/empty_rdns_cert.pem
@@ -1,35 +1,20 @@
// %CopyrightBegin%
//
-// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-License-Identifier: Apache-2.0
//
-// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
+// Copyright Jan Uhlig 2025-2026. All Rights Reserved.
//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are met:
+// 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
//
-// 1. Redistributions of source code must retain the above copyright notice,
-// this list of conditions and the following disclaimer.
+// http://www.apache.org/licenses/LICENSE-2.0
//
-// 2. Redistributions in binary form must reproduce the above copyright notice,
-// this list of conditions and the following disclaimer in the documentation
-// and/or other materials provided with the distribution.
-//
-// 3. Neither the name of the copyright holder nor the names of its contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
-// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-// POSSIBILITY OF SUCH DAMAGE.
+// 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.
//
// %CopyrightEnd%
diff --git a/lib/public_key/test/public_key_SUITE_data/idp_cert.pem b/lib/public_key/test/public_key_SUITE_data/idp_cert.pem
index c2afc56a3a..f0186b9f84 100644
--- a/lib/public_key/test/public_key_SUITE_data/idp_cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/idp_cert.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2014-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN CERTIFICATE-----
MIIFGjCCBAKgAwIBAgIBAzANBgkqhkiG9w0BAQQFADCBgzEOMAwGA1UEAxMFb3Rw
Q0ExEzARBgNVBAsTCkVybGFuZyBPVFAxFDASBgNVBAoTC0VyaWNzc29uIEFCMQsw
diff --git a/lib/public_key/test/public_key_SUITE_data/idp_crl.pem b/lib/public_key/test/public_key_SUITE_data/idp_crl.pem
index 0872279501..3fb1d3a97d 100644
--- a/lib/public_key/test/public_key_SUITE_data/idp_crl.pem
+++ b/lib/public_key/test/public_key_SUITE_data/idp_crl.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2014-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN X509 CRL-----
MIIC3TCCAcUCAQEwDQYJKoZIhvcNAQEEBQAwgYYxETAPBgNVBAMTCGVybGFuZ0NB
MRMwEQYDVQQLEwpFcmxhbmcgT1RQMRQwEgYDVQQKEwtFcmljc3NvbiBBQjESMBAG
diff --git a/lib/public_key/test/public_key_SUITE_data/ldap_uri_cert.pem b/lib/public_key/test/public_key_SUITE_data/ldap_uri_cert.pem
index 2c6dbad9fa..a7b2745fe0 100644
--- a/lib/public_key/test/public_key_SUITE_data/ldap_uri_cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/ldap_uri_cert.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2022-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN CERTIFICATE-----
MIIGIjCCBQqgAwIBAgITWwAAByiISJBWTJahTQAAAAAHKDANBgkqhkiG9w0BAQsF
ADCBgDESMBAGCgmSJomT8ixkARkWAmF1MRMwEQYKCZImiZPyLGQBGRYDZWR1MRIw
diff --git a/lib/public_key/test/public_key_SUITE_data/mldsa-44-cert.pem b/lib/public_key/test/public_key_SUITE_data/mldsa-44-cert.pem
index 391bc227c2..d8c6e3ba9d 100644
--- a/lib/public_key/test/public_key_SUITE_data/mldsa-44-cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/mldsa-44-cert.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
diff --git a/lib/public_key/test/public_key_SUITE_data/mldsa-44-pub.pem b/lib/public_key/test/public_key_SUITE_data/mldsa-44-pub.pem
index d11c136cff..f148952b2c 100644
--- a/lib/public_key/test/public_key_SUITE_data/mldsa-44-pub.pem
+++ b/lib/public_key/test/public_key_SUITE_data/mldsa-44-pub.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
diff --git a/lib/public_key/test/public_key_SUITE_data/mldsa-65-pub.pem b/lib/public_key/test/public_key_SUITE_data/mldsa-65-pub.pem
index c81eb19602..1ea4fd5538 100644
--- a/lib/public_key/test/public_key_SUITE_data/mldsa-65-pub.pem
+++ b/lib/public_key/test/public_key_SUITE_data/mldsa-65-pub.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
diff --git a/lib/public_key/test/public_key_SUITE_data/mldsa-65.pem b/lib/public_key/test/public_key_SUITE_data/mldsa-65.pem
index 778b98bdb7..77b3004a99 100644
--- a/lib/public_key/test/public_key_SUITE_data/mldsa-65.pem
+++ b/lib/public_key/test/public_key_SUITE_data/mldsa-65.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
diff --git a/lib/public_key/test/public_key_SUITE_data/mldsa-87-pub.pem b/lib/public_key/test/public_key_SUITE_data/mldsa-87-pub.pem
index 3625838f67..4de9284f15 100644
--- a/lib/public_key/test/public_key_SUITE_data/mldsa-87-pub.pem
+++ b/lib/public_key/test/public_key_SUITE_data/mldsa-87-pub.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
diff --git a/lib/public_key/test/public_key_SUITE_data/mldsa-87.pem b/lib/public_key/test/public_key_SUITE_data/mldsa-87.pem
index e1cdc2795a..4c69e40682 100644
--- a/lib/public_key/test/public_key_SUITE_data/mldsa-87.pem
+++ b/lib/public_key/test/public_key_SUITE_data/mldsa-87.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
diff --git a/lib/public_key/test/public_key_SUITE_data/pkcs7_cert.pem b/lib/public_key/test/public_key_SUITE_data/pkcs7_cert.pem
index 9b450a22c5..4ea17aa645 100644
--- a/lib/public_key/test/public_key_SUITE_data/pkcs7_cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/pkcs7_cert.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2012-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN PKCS7-----
MIID6QYJKoZIhvcNAQcCoIID2jCCA9YCAQExADALBgkqhkiG9w0BBwGgggO8MIID
uDCCAyGgAwIBAgIBAjANBgkqhkiG9w0BAQUFADCBgzEOMAwGA1UEAxMFb3RwQ0Ex
diff --git a/lib/public_key/test/public_key_SUITE_data/pkcs7_ext.pem b/lib/public_key/test/public_key_SUITE_data/pkcs7_ext.pem
index d7a1d01fe1..9033027a22 100644
--- a/lib/public_key/test/public_key_SUITE_data/pkcs7_ext.pem
+++ b/lib/public_key/test/public_key_SUITE_data/pkcs7_ext.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2013-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN PKCS7-----
MIILCAYJKoZIhvcNAQcCoIIK+TCCCvUCAQExDjAMBggqhkiG9w0CBQUAMIIFmwYJ
KoZIhvcNAQcBoIIFjASCBYgwggWEBgkqhkiG9w0BBwOgggV1MIIFcQIBADGCAmQw
diff --git a/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_cn.pem b/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_cn.pem
index 9f7b428f9a..093041d18f 100644
--- a/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_cn.pem
+++ b/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_cn.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2016-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN CERTIFICATE-----
MIICsjCCAhugAwIBAgIJAMCGx1ezaJFRMA0GCSqGSIb3DQEBCwUAMHIxCzAJBgNV
BAYTAlNFMRQwEgYDVQQDDAtleGFtcGxlLmNvbTEaMBgGA1UEAwwRKi5mb28uZXhh
diff --git a/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName.pem b/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName.pem
index 7ab9ed7b96..123d87f839 100644
--- a/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName.pem
+++ b/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2017-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN CERTIFICATE-----
MIICITCCAYqgAwIBAgIJAP31suf/Fi4oMA0GCSqGSIb3DQEBCwUAMCMxCzAJBgNV
BAYTAlNFMRQwEgYDVQQDEwtleGFtcGxlLmNvbTAeFw0xODA1MTcxMDIzNDBaFw0x
diff --git a/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName_IP.pem b/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName_IP.pem
index 97d12cdadf..5e6a55798e 100644
--- a/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName_IP.pem
+++ b/lib/public_key/test/public_key_SUITE_data/pkix_verify_hostname_subjAltName_IP.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2016-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN CERTIFICATE-----
MIICBzCCAXCgAwIBAgIJAJgbo5FL73LuMA0GCSqGSIb3DQEBCwUAMCMxCzAJBgNV
BAYTAlNFMRQwEgYDVQQDEwtleGFtcGxlLmNvbTAeFw0xNzEwMTExMDM0NDJaFw0x
diff --git a/lib/public_key/test/public_key_SUITE_data/prefix-dots.pem b/lib/public_key/test/public_key_SUITE_data/prefix-dots.pem
index c72ba84455..fb935ee6b2 100644
--- a/lib/public_key/test/public_key_SUITE_data/prefix-dots.pem
+++ b/lib/public_key/test/public_key_SUITE_data/prefix-dots.pem
@@ -1,3 +1,26 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2024-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
+
-----BEGIN CERTIFICATE-----
MIIDOzCCAiOgAwIBAgICECEwDQYJKoZIhvcNAQELBQAwYzELMAkGA1UEBhMCVVMx
ITAfBgNVBAoTGFRoZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28g
diff --git a/lib/public_key/test/public_key_SUITE_data/pss_default.pem b/lib/public_key/test/public_key_SUITE_data/pss_default.pem
index 0a9d082fcf..732b2683c1 100644
--- a/lib/public_key/test/public_key_SUITE_data/pss_default.pem
+++ b/lib/public_key/test/public_key_SUITE_data/pss_default.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2024-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN PRIVATE KEY-----
MIIEuwIBADALBgkqhkiG9w0BAQoEggSnMIIEowIBAAKCAQEAjPwd860nEH6sgfYE
RXoAjMY3Rdl3ynuJd5/ZWqTBNGn/Wet8idPQix9nwUvZ6Nw7uGX00HeBITZeIZMo
diff --git a/lib/public_key/test/public_key_SUITE_data/public_eddsa.pem b/lib/public_key/test/public_key_SUITE_data/public_eddsa.pem
index 43db3af730..f999e6bf4a 100644
--- a/lib/public_key/test/public_key_SUITE_data/public_eddsa.pem
+++ b/lib/public_key/test/public_key_SUITE_data/public_eddsa.pem
@@ -1,3 +1,24 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2024-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAzVMFUvlbihtNisegppBVAct8qRH2Ql3KZ57JAxt8Gms=
-----END PUBLIC KEY-----
diff --git a/lib/public_key/test/public_key_SUITE_data/req.pem b/lib/public_key/test/public_key_SUITE_data/req.pem
index 86d74d05a3..9224e2fd4a 100644
--- a/lib/public_key/test/public_key_SUITE_data/req.pem
+++ b/lib/public_key/test/public_key_SUITE_data/req.pem
@@ -1,3 +1,25 @@
+//
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+//
+
-----BEGIN CERTIFICATE REQUEST-----
MIIBxTCCAS4CAQAwgYQxDzANBgNVBAMTBmNsaWVudDETMBEGA1UECxMKRXJsYW5n
IE9UUDEUMBIGA1UEChMLRXJpY3Nzb24gQUIxEjAQBgNVBAcTCVN0b2NraG9sbTEL
diff --git a/lib/public_key/test/public_key_SUITE_data/rsa.pem b/lib/public_key/test/public_key_SUITE_data/rsa.pem
index 88f7d446f2..f816f663eb 100644
--- a/lib/public_key/test/public_key_SUITE_data/rsa.pem
+++ b/lib/public_key/test/public_key_SUITE_data/rsa.pem
@@ -1,7 +1,27 @@
-Bag Attributes
- friendlyName: host_key
- localKeyID: 68 6F 73 74
-Key Attributes: <No Attributes>
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+// Bag Attributes
+// friendlyName: host_key
+// localKeyID: 68 6F 73 74
+//Key Attributes: <No Attributes>
+
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,6BD965F8BC70B54C
diff --git a/lib/public_key/test/public_key_SUITE_data/rsa_ISO.pem b/lib/public_key/test/public_key_SUITE_data/rsa_ISO.pem
index f82efdefc5..7ebaa5bf66 100644
--- a/lib/public_key/test/public_key_SUITE_data/rsa_ISO.pem
+++ b/lib/public_key/test/public_key_SUITE_data/rsa_ISO.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2013-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN CERTIFICATE-----
MIICGjCCAYegAwIBAgIQZIIqq4RXfpBKJXV69Jc4BjAJBgUrDgMCHQUAMB0xGzAZ
BgNVBAMTEklTQSBUZXN0IEF1dGhvcml0eTAeFw0xMjAzMjAxNzEzMjFaFw0zOTEy
diff --git a/lib/public_key/test/public_key_SUITE_data/rsa_key_pkcs8.pem b/lib/public_key/test/public_key_SUITE_data/rsa_key_pkcs8.pem
index 9ef5b3353f..f1bb694f40 100644
--- a/lib/public_key/test/public_key_SUITE_data/rsa_key_pkcs8.pem
+++ b/lib/public_key/test/public_key_SUITE_data/rsa_key_pkcs8.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Maxim Fedorov 2018-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN PRIVATE KEY-----
MIIBVQIBADANBgkqhkiG9w0BAQEFAASCAT8wggE7AgEAAkEA1GLJmDS5yLvg1zqa
epnwCgOXzxpPvHokDQx+AcgfO14SPtCD6UTlDEwYBp+6tUTm+qgeQN/CTi7POwIA
diff --git a/lib/public_key/test/public_key_SUITE_data/rsa_md2.pem b/lib/public_key/test/public_key_SUITE_data/rsa_md2.pem
index 531ae3e1ca..d1c2f73af9 100644
--- a/lib/public_key/test/public_key_SUITE_data/rsa_md2.pem
+++ b/lib/public_key/test/public_key_SUITE_data/rsa_md2.pem
@@ -2,6 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0
//
+// Copyright Jean-Louis Huynen 2025-2026. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16,6 +17,7 @@
// limitations under the License.
//
// %CopyrightEnd%
+
-----BEGIN CERTIFICATE-----
MIICNDCCAaECEAKtZn5ORf5eV288mBle3cAwDQYJKoZIhvcNAQECBQAwXzELMAkG
A1UEBhMCVVMxIDAeBgNVBAoTF1JTQSBEYXRhIFNlY3VyaXR5LCBJbmMuMS4wLAYD
diff --git a/lib/public_key/test/public_key_SUITE_data/rsa_pss_pss_key.pem b/lib/public_key/test/public_key_SUITE_data/rsa_pss_pss_key.pem
index 65032269c1..404b3f4f94 100644
--- a/lib/public_key/test/public_key_SUITE_data/rsa_pss_pss_key.pem
+++ b/lib/public_key/test/public_key_SUITE_data/rsa_pss_pss_key.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2020-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN PRIVATE KEY-----
MIIE7wIBADA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEaMBgGCSqGSIb3
DQEBCDALBglghkgBZQMEAgGiAwIBIASCBKkwggSlAgEAAoIBAQDDlygksUEAajpd
diff --git a/lib/public_key/test/public_key_SUITE_data/rsa_pub.pem b/lib/public_key/test/public_key_SUITE_data/rsa_pub.pem
index cbe81343f7..83f5b90f4b 100644
--- a/lib/public_key/test/public_key_SUITE_data/rsa_pub.pem
+++ b/lib/public_key/test/public_key_SUITE_data/rsa_pub.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Seth Falcon 2011-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN PUBLIC KEY-----
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANRiyZg0uci74Nc6mnqZ8AoDl88aT7x6
JA0MfgHIHzteEj7Qg+lE5QxMGAafurVE5vqoHkDfwk4uzzsCAJuz91MCAwEAAQ==
diff --git a/lib/public_key/test/public_key_SUITE_data/rsa_pub_key.pem b/lib/public_key/test/public_key_SUITE_data/rsa_pub_key.pem
index 3b9d7568ff..ee30937fa1 100644
--- a/lib/public_key/test/public_key_SUITE_data/rsa_pub_key.pem
+++ b/lib/public_key/test/public_key_SUITE_data/rsa_pub_key.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Seth Falcon 2011-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN RSA PUBLIC KEY-----
MEgCQQDUYsmYNLnIu+DXOpp6mfAKA5fPGk+8eiQNDH4ByB87XhI+0IPpROUMTBgG
n7q1ROb6qB5A38JOLs87AgCbs/dTAgMBAAE=
diff --git a/lib/public_key/test/public_key_SUITE_data/server_cert.pem b/lib/public_key/test/public_key_SUITE_data/server_cert.pem
index da68c7a8ab..33ba51e1c2 100644
--- a/lib/public_key/test/public_key_SUITE_data/server_cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/server_cert.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN CERTIFICATE-----
MIIDuDCCAyGgAwIBAgIBAjANBgkqhkiG9w0BAQUFADCBgzEOMAwGA1UEAxMFb3Rw
Q0ExEzARBgNVBAsTCkVybGFuZyBPVFAxFDASBgNVBAoTC0VyaWNzc29uIEFCMQsw
diff --git a/lib/public_key/test/public_key_SUITE_data/server_key.pem b/lib/public_key/test/public_key_SUITE_data/server_key.pem
index d9618da7b7..ccfc980824 100644
--- a/lib/public_key/test/public_key_SUITE_data/server_key.pem
+++ b/lib/public_key/test/public_key_SUITE_data/server_key.pem
@@ -1,3 +1,23 @@
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 2009-2026. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
+
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCkdtBz65AxnYmrx1MlsBREMLWtnZrRdnkGWYvV5OvFCWG7lOwo
pB7NrK5K8M49DjyKm6f8TgTcyeynIdKOMjur3BAIkgiegAeLkjO+Noa2FuKl4HNf
diff --git a/lib/public_key/test/public_key_SUITE_data/slh-dsa-cert.pem b/lib/public_key/test/public_key_SUITE_data/slh-dsa-cert.pem
index e43a1378ce..bd8d3b6a73 100644
--- a/lib/public_key/test/public_key_SUITE_data/slh-dsa-cert.pem
+++ b/lib/public_key/test/public_key_SUITE_data/slh-dsa-cert.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
diff --git a/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s-pub.pem b/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s-pub.pem
index af906eebfc..21f130383a 100644
--- a/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s-pub.pem
+++ b/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s-pub.pem
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.
-// Copyright Ericsson AB 2025. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
@@ -32,6 +31,7 @@
// POSSIBILITY OF SUCH DAMAGE.
//
// %CopyrightEnd%
+
-----BEGIN PUBLIC KEY-----
MDAwCwYJYIZIAWUDBAMUAyEAK4EJ7Hd8qk4fAkzPz5SX2ZGAUJKA9CVq8rB6+AKJ
tJQ=
diff --git a/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s.pem b/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s.pem
index 19177bcf85..f12d7ec9bb 100644
--- a/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s.pem
+++ b/lib/public_key/test/public_key_SUITE_data/slh-dsa-sha2-128s.pem
@@ -32,6 +32,7 @@
// POSSIBILITY OF SUCH DAMAGE.
//
// %CopyrightEnd%
+
-----BEGIN PRIVATE KEY-----
MFICAQAwCwYJYIZIAWUDBAMUBECiJjvKRYYINlIxYASVI9YhZ3+tkNUetgZ6Mn4N
HmSlASuBCex3fKpOHwJMz8+Ul9mRgFCSgPQlavKwevgCibSU
--
2.51.0