2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-22 03:03:16 +00:00

Adding support for the RekeyKeyPair operation

This change adds support for the ReKeyKeyPair operation, adding in
required KMIP objects and updating the KMIP client. Minor changes to the
server are included in preparation for future changes. The unit test
suite has been updated accordingly.
This commit is contained in:
Peter Hamilton
2015-01-21 11:41:08 -05:00
parent c6d6db3dfe
commit ff533ff4bb
15 changed files with 743 additions and 32 deletions

23
kmip/core/misc.py Normal file
View File

@@ -0,0 +1,23 @@
# Copyright (c) 2014 The Johns Hopkins University/Applied Physics Laboratory
# 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.
from kmip.core import enums
from kmip.core import primitives
class Offset(primitives.Interval):
def __init__(self, value=None, tag=enums.Tags.OFFSET):
super(Offset, self).__init__(value, tag)