Correct SCEP profile payload (#492)

Both KeyType and KeyUsage were being defined with spaces in the name.
According to the spec this is incorrect. The clients were most likely just
ignoring these fields and everything still worked but it makes sense to correct
the profile.
This commit is contained in:
Scott Knight
2018-08-23 10:20:16 -04:00
committed by GitHub
parent 653e9ac2d0
commit 2f2616e274

View File

@@ -59,8 +59,8 @@ type SCEPPayloadContent struct {
CAFingerprint []byte `plist:"CAFingerprint,omitempty"` // NSData
Challenge string `plist:"Challenge,omitempty"`
Keysize int
KeyType string `plist:"Key Type"`
KeyUsage int `plist:"Key Usage"`
KeyType string `plist:"KeyType"`
KeyUsage int `plist:"KeyUsage"`
Name string
Subject [][][]string `plist:"Subject,omitempty"`
URL string