diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2011-07-23 22:35:54 +0200 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2011-07-23 22:35:54 +0200 |
commit | 33cab035f8307f3e1e1b39b7571811c25152b81c (patch) | |
tree | 9f3567ddf794d1b5e54af4c2f7222f734f2c039c /rsa/key.py | |
parent | bb43248bcb1025c31c7d8b98fe0b5fd1dc05cf2f (diff) | |
download | rsa-git-33cab035f8307f3e1e1b39b7571811c25152b81c.tar.gz |
Added Apache 2 license notice to source files
Diffstat (limited to 'rsa/key.py')
-rw-r--r-- | rsa/key.py | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu> +# +# 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. + '''RSA key generation code. Create new keys with the newkeys() function. It will give you a PublicKey and a |