summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/sha256_block.idl
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2020-01-13 20:38:27 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-01-17 03:47:22 +0000
commitb99fbe5f80f4368e1916e1bfbf3d195276ace5c7 (patch)
tree258533f666ba886d31b95244abcf700e6f9d9f5a /src/mongo/crypto/sha256_block.idl
parent6103c5460e65b1c6d7cdfff92d4c41ad4a87579f (diff)
downloadmongo-b99fbe5f80f4368e1916e1bfbf3d195276ace5c7.tar.gz
SERVER-44435 Allow selective whitelisting of X509 based role authorizations
create mode 100644 jstests/ssl/tlsCATrusts.js create mode 100644 jstests/ssl/x509/trusted-client-testdb-roles.pem
Diffstat (limited to 'src/mongo/crypto/sha256_block.idl')
-rw-r--r--src/mongo/crypto/sha256_block.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/crypto/sha256_block.idl b/src/mongo/crypto/sha256_block.idl
index 734983f286a..a5b4a1cef41 100644
--- a/src/mongo/crypto/sha256_block.idl
+++ b/src/mongo/crypto/sha256_block.idl
@@ -44,3 +44,10 @@ types:
cpp_type: mongo::SHA256Block
serializer: "mongo::SHA256Block::toCDR"
deserializer: "mongo::SHA256Block::fromBinData"
+
+ sha256BlockHex:
+ bson_serialization_type: string
+ description: "A fixed size hex string representing a SHA256 computation"
+ cpp_type: mongo::SHA256Block
+ serializer: "mongo::SHA256Block::toHexString"
+ deserializer: "mongo::SHA256Block::fromHexString"