зеркало из https://github.com/microsoft/moc.git
Merge pull request #188 from microsoft/user/sethbe/imex256
Adding import/export algos from azure to protobuffs
This commit is contained in:
Коммит
a516f0c8cb
|
@ -300,14 +300,20 @@ type KeyWrappingAlgorithm int32
|
|||
|
||||
const (
|
||||
KeyWrappingAlgorithm_CKM_RSA_AES_KEY_WRAP KeyWrappingAlgorithm = 0
|
||||
KeyWrappingAlgorithm_RSA_AES_KEY_WRAP_256 KeyWrappingAlgorithm = 1
|
||||
KeyWrappingAlgorithm_RSA_AES_KEY_WRAP_384 KeyWrappingAlgorithm = 2
|
||||
)
|
||||
|
||||
var KeyWrappingAlgorithm_name = map[int32]string{
|
||||
0: "CKM_RSA_AES_KEY_WRAP",
|
||||
1: "RSA_AES_KEY_WRAP_256",
|
||||
2: "RSA_AES_KEY_WRAP_384",
|
||||
}
|
||||
|
||||
var KeyWrappingAlgorithm_value = map[string]int32{
|
||||
"CKM_RSA_AES_KEY_WRAP": 0,
|
||||
"RSA_AES_KEY_WRAP_256": 1,
|
||||
"RSA_AES_KEY_WRAP_384": 2,
|
||||
}
|
||||
|
||||
func (x KeyWrappingAlgorithm) String() string {
|
||||
|
@ -397,46 +403,46 @@ func init() {
|
|||
func init() { proto.RegisterFile("moc_common_security.proto", fileDescriptor_0d3874efde778ac1) }
|
||||
|
||||
var fileDescriptor_0d3874efde778ac1 = []byte{
|
||||
// 641 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x53, 0x5d, 0x4f, 0xe2, 0x5a,
|
||||
0x14, 0xa5, 0x1f, 0x7c, 0xed, 0xab, 0xdc, 0x43, 0xaf, 0xc9, 0x45, 0xe2, 0x83, 0x99, 0x8f, 0xc4,
|
||||
0xf4, 0x01, 0xb0, 0x88, 0xe3, 0x3c, 0xd6, 0xce, 0xd1, 0xc1, 0x6a, 0x4b, 0xda, 0x22, 0x61, 0x5e,
|
||||
0x1a, 0x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0xe3, 0x11, 0x52, 0x8d, 0x06, 0xc0, 0x5b, 0x61, 0x0d, 0xce, 0x91, 0x66, 0x00, 0x54, 0x6c, 0x6b,
|
||||
0x70, 0xee, 0x4e, 0x90, 0x6e, 0xfe, 0x52, 0xe0, 0xe8, 0x26, 0xf4, 0xbd, 0x09, 0x79, 0x70, 0xc9,
|
||||
0x3a, 0x4c, 0xe7, 0x8b, 0x59, 0xb1, 0x62, 0x64, 0x7b, 0x03, 0xa0, 0x12, 0x84, 0xde, 0xf8, 0xf6,
|
||||
0x56, 0x1e, 0xc0, 0x21, 0xdf, 0xa1, 0x70, 0x5a, 0x40, 0x17, 0xa9, 0x92, 0xee, 0x5f, 0x9c, 0x21,
|
||||
0x4d, 0xc2, 0xc1, 0xa9, 0x85, 0x74, 0x0e, 0x47, 0x42, 0x5c, 0x96, 0x90, 0x0b, 0x2a, 0x12, 0x72,
|
||||
0x41, 0x55, 0xfe, 0x5d, 0x2e, 0xa8, 0x49, 0xc8, 0x05, 0x75, 0x09, 0xb9, 0x00, 0x4c, 0x06, 0x7b,
|
||||
0x2e, 0x59, 0xfb, 0x39, 0x61, 0xd2, 0xf4, 0x7f, 0xa1, 0x8a, 0x3d, 0x27, 0x98, 0x8e, 0x22, 0x54,
|
||||
0x6a, 0xab, 0x35, 0x85, 0x13, 0xdf, 0xb0, 0x24, 0x94, 0x0d, 0x31, 0x09, 0xec, 0x91, 0x8b, 0xa7,
|
||||
0x48, 0x15, 0x44, 0x13, 0xea, 0x63, 0x6f, 0x43, 0x69, 0x82, 0xda, 0x03, 0x3d, 0x1c, 0x5e, 0x7b,
|
||||
0x48, 0x17, 0x55, 0x03, 0x2a, 0xf7, 0x38, 0x18, 0x5e, 0x4d, 0x51, 0x99, 0xd7, 0xe6, 0x2d, 0x34,
|
||||
0x6e, 0x96, 0x74, 0x21, 0xed, 0x10, 0x69, 0x54, 0x40, 0xc5, 0x0e, 0x2a, 0x89, 0x27, 0x76, 0xe2,
|
||||
0xef, 0xe1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
0xe0, 0xc0, 0x71, 0xef, 0x62, 0xee, 0xa7, 0x8d, 0xc3, 0xd8, 0xc5, 0xd3, 0x98, 0x27, 0x87, 0x4a,
|
||||
0x97, 0x9f, 0x7f, 0x7c, 0x9c, 0xa7, 0xc5, 0xf3, 0xea, 0xa1, 0x93, 0xd0, 0xac, 0x9b, 0xa5, 0x09,
|
||||
0xa3, 0x4b, 0xfa, 0x54, 0x74, 0x33, 0x9a, 0x74, 0x59, 0x9e, 0x74, 0xe5, 0x07, 0xfc, 0x50, 0x11,
|
||||
0x5f, 0x70, 0xff, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x40, 0x6c, 0x6f, 0xfc, 0x03, 0x00,
|
||||
0x00,
|
||||
// 651 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x6f, 0xda, 0x30,
|
||||
0x14, 0x25, 0x1f, 0x7c, 0xdd, 0xb5, 0xcc, 0x64, 0x95, 0x46, 0x51, 0x1f, 0xaa, 0x7d, 0x48, 0x55,
|
||||
0x1e, 0xa0, 0x85, 0xd2, 0x75, 0x8f, 0x69, 0xe6, 0x76, 0x34, 0x6d, 0x82, 0x92, 0x50, 0xc4, 0x5e,
|
||||
0x22, 0x9a, 0xba, 0x34, 0x52, 0x83, 0x23, 0x13, 0x2a, 0xb1, 0x7f, 0x32, 0x69, 0x3f, 0x76, 0xb2,
|
||||
0x0d, 0x83, 0x4e, 0x7b, 0xe2, 0xdc, 0x73, 0x8f, 0xef, 0xc5, 0xe7, 0xc4, 0xb0, 0x9f, 0xd2, 0x38,
|
||||
0x8a, 0x69, 0x9a, 0xd2, 0x59, 0x34, 0x27, 0xf1, 0x82, 0x25, 0xf9, 0xb2, 0x95, 0x31, 0x9a, 0x53,
|
||||
0x43, 0x4b, 0x69, 0xdc, 0x7c, 0xbf, 0xd5, 0x97, 0x3f, 0xb2,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, 0xe8, 0x20, 0x55, 0xd2, 0xdd, 0xf3, 0x53, 0xa4,
|
||||
0x49, 0xd8, 0x3b, 0xe9, 0x20, 0x9d, 0xc3, 0x81, 0x10, 0x17, 0x25, 0xe4, 0x82, 0x92, 0x84, 0x5c,
|
||||
0x50, 0x96, 0x7f, 0x97, 0x0b, 0x2a, 0x12, 0x72, 0x41, 0x55, 0x42, 0x2e, 0x00, 0x93, 0xc1, 0x8e,
|
||||
0x43, 0x96, 0x5e, 0x46, 0x98, 0x34, 0xfd, 0x2d, 0x94, 0xb1, 0x6b, 0xfb, 0xe3, 0x41, 0x88, 0x0a,
|
||||
0x4d, 0xb5, 0xa2, 0x70, 0xe2, 0x1b, 0x96, 0x84, 0xb2, 0x26, 0x46, 0xbe, 0x35, 0x70, 0xf0, 0x18,
|
||||
0xa9, 0x82, 0xa8, 0x43, 0x75, 0xe8, 0xae, 0x29, 0x4d, 0x50, 0x3b, 0xa0, 0x07, 0xfd, 0x2b, 0x17,
|
||||
0xe9, 0xa2, 0xaa, 0x41, 0xe9, 0x0e, 0xfb, 0xfd, 0xcb, 0x31, 0x2a, 0xf2, 0xda, 0xbc, 0x81, 0xda,
|
||||
0xf5, 0x9c, 0xce, 0xa4, 0x1d, 0x22, 0x8d, 0x12, 0xa8, 0xd8, 0x46, 0x05, 0x71, 0x63, 0x3b, 0xfa,
|
||||
0x1e, 0xdc, 0x22, 0xc5, 0x28, 0x83, 0xe6, 0x07, 0x16, 0x52, 0x57, 0x3e, 0x0b, 0x56, 0xe3, 0xac,
|
||||
0x67, 0x87, 0x48, 0xe7, 0xc0, 0xc2, 0x01, 0x2a, 0x9a, 0x17, 0xf0, 0x6e, 0x33, 0xcd, 0x5e, 0xb0,
|
||||
0x17, 0xe2, 0x4e, 0x52, 0x22, 0x4c, 0x88, 0xf8, 0xcd, 0xc5, 0x54, 0x01, 0x1d, 0xa4, 0x48, 0x9a,
|
||||
0xbb, 0xa0, 0x4a, 0xd8, 0xeb, 0x9c, 0x20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0x59, 0xdc, 0x96, 0x8f, 0xfe, 0xbe, 0x24, 0x5e, 0x7d, 0xf7, 0x4f, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0x09, 0x8e, 0x26, 0x27, 0x30, 0x04, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -76,6 +76,8 @@ enum IdentityCertificateOperation {
|
|||
|
||||
enum KeyWrappingAlgorithm {
|
||||
CKM_RSA_AES_KEY_WRAP = 0;
|
||||
RSA_AES_KEY_WRAP_256 = 1;
|
||||
RSA_AES_KEY_WRAP_384 = 2;
|
||||
}
|
||||
|
||||
message Scope {
|
||||
|
|
Загрузка…
Ссылка в новой задаче