File tree 25 files changed +223
-0
lines changed
25 files changed +223
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
#include <string.h>
2
11
#include <openssl/err.h>
3
12
#include <openssl/ssl.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
#include <string.h>
2
11
#include <openssl/err.h>
3
12
#include <openssl/ssl.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 1998-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*-
2
11
* A minimal program to serve an SSL connection.
3
12
* It uses blocking.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 1998-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*-
2
11
* A minimal program to do SSL to a passed host and port.
3
12
* It is actually using non-blocking IO but in a very simple manner
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*
2
11
* A minimal program to serve an SSL connection. It uses blocking. It use the
3
12
* SSL_CONF API with the command line. cc -I../../include server-arg.c
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*
2
11
* A minimal TLS server it ses SSL_CTX_config and a configuration file to
3
12
* set most server parameters.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*
2
11
* A minimal program to serve an SSL connection. It uses blocking. It uses
3
12
* the SSL_CONF API with a configuration file. cc -I../../include saccept.c
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME compress example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/cms.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*
2
11
* S/MIME detached data decrypt example: rarely done but should the need
3
12
* arise this is an example....
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME decryption example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/cms.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*
2
11
* S/MIME detached data encrypt example: rarely done but should the need
3
12
* arise this is an example....
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME encrypt example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/cms.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME signing example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/cms.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* S/MIME signing example: 2 signers */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/cms.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME uncompression example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/cms.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME verification example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/cms.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*
2
11
* Simple AES CCM test program, uses the same NIST data used for the FIPS
3
12
* self test but uses the application level EVP APIs.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/*
2
11
* Simple AES GCM test program, uses the same NIST data used for the FIPS
3
12
* self test but uses the application level EVP APIs.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
1
9
2
10
#include <stdio.h>
3
11
#include <stdlib.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
1
9
2
10
#include <stdio.h>
3
11
#include <stdlib.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME signing example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/pkcs7.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME encrypt example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/pkcs7.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME signing example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/pkcs7.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* S/MIME signing example: 2 signers. OpenSSL 0.9.9 only */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/pkcs7.h>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
1
10
/* Simple S/MIME verification example */
2
11
#include <openssl/pem.h>
3
12
#include <openssl/pkcs7.h>
You can’t perform that action at this time.
0 commit comments