summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/sha1_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/sha1_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/sha1_block.idl')
-rw-r--r--src/mongo/crypto/sha1_block.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/crypto/sha1_block.idl b/src/mongo/crypto/sha1_block.idl
index d6054d9e3f6..59ddbbeca61 100644
--- a/src/mongo/crypto/sha1_block.idl
+++ b/src/mongo/crypto/sha1_block.idl
@@ -44,3 +44,10 @@ types:
cpp_type: mongo::SHA1Block
serializer: "mongo::SHA1Block::toCDR"
deserializer: "mongo::SHA1Block::fromBinData"
+
+ sha1BlockHex:
+ bson_serialization_type: string
+ description: "A fixed size hex string representing a SHA1 computation"
+ cpp_type: mongo::SHA1Block
+ serializer: "mongo::SHA1Block::toHexString"
+ deserializer: "mongo::SHA1Block::fromHexString"