Skip to content

Commit b974eb9

Browse files
committed
fix ObjectType enum values per KMIP 1.4 spec, add author metadata
Certificate=1, SymmetricKey=2, PublicKey=3, PrivateKey=4, SplitKey=5, Template=6 — values were shifted incorrectly.
1 parent 8a437d3 commit b974eb9

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
"mTLS",
1515
"TTLV"
1616
],
17+
"homepage": "https://cyphera.io",
1718
"authors": [
1819
{
19-
"name": "Horizon Digital Engineering LLC"
20+
"name": "Leslie Gutschow",
21+
"email": "leslie.gutschow@horizondigital.dev"
2022
}
2123
],
2224
"require": {

src/Tag.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ final class Operation
7272

7373
final class ObjectType
7474
{
75-
public const SYMMETRIC_KEY = 0x00000001;
76-
public const PUBLIC_KEY = 0x00000002;
77-
public const PRIVATE_KEY = 0x00000003;
78-
public const CERTIFICATE = 0x00000006;
75+
public const CERTIFICATE = 0x00000001;
76+
public const SYMMETRIC_KEY = 0x00000002;
77+
public const PUBLIC_KEY = 0x00000003;
78+
public const PRIVATE_KEY = 0x00000004;
79+
public const SPLIT_KEY = 0x00000005;
80+
public const TEMPLATE = 0x00000006;
7981
public const SECRET_DATA = 0x00000007;
8082
public const OPAQUE_DATA = 0x00000008;
8183
}

0 commit comments

Comments
 (0)