Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
307eae20
Commit
307eae20
authored
Sep 19, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add windows.security.cryptography.idl.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
d0f34c23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
111 additions
and
0 deletions
+111
-0
Makefile.in
include/Makefile.in
+1
-0
windows.security.cryptography.idl
include/windows.security.cryptography.idl
+110
-0
No files found.
include/Makefile.in
View file @
307eae20
...
...
@@ -806,6 +806,7 @@ SOURCES = \
windows.media.idl
\
windows.media.speechrecognition.idl
\
windows.media.speechsynthesis.idl
\
windows.security.cryptography.idl
\
windows.storage.streams.idl
\
windows.system.idl
\
windows.system.power.idl
\
...
...
include/windows.security.cryptography.idl
0 → 100644
View file @
307eae20
/*
*
Copyright
2022
Nikolay
Sivov
for
CodeWeavers
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
ifdef
__WIDL__
#
pragma
winrt
ns_prefix
#
endif
import
"inspectable.idl"
;
import
"asyncinfo.idl"
;
import
"windowscontracts.idl"
;
import
"windows.foundation.idl"
;
import
"windows.storage.streams.idl"
;
namespace
Windows
.
Security.Cryptography
{
typedef
enum
BinaryStringEncoding
BinaryStringEncoding
;
runtimeclass
CryptographicBuffer
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
BinaryStringEncoding
{
Utf8
=
0
,
Utf16LE
=
1
,
Utf16BE
=
2
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Security.Cryptography.CryptographicBuffer)
,
uuid
(
320b7
e22
-
3
cb0
-
4
cdf
-
8663
-
1
d28910065eb
)
]
interface
ICryptographicBufferStatics
:
IInspectable
{
HRESULT
Compare
(
[
in
]
Windows
.
Storage.Streams.IBuffer
*
object1
,
[
in
]
Windows
.
Storage.Streams.IBuffer
*
object2
,
[
out
,
retval
]
boolean
*
is_equal
)
;
HRESULT
GenerateRandom
(
[
in
]
UINT32
length
,
[
out
,
retval
]
Windows
.
Storage.Streams.IBuffer
**
buffer
)
;
HRESULT
GenerateRandomNumber
(
[
out
,
retval
]
UINT32
*
value
)
;
HRESULT
CreateFromByteArray
(
[
in
]
UINT32
value_size
,
[
in
,
size_is
(
value_size
)
]
BYTE
*
value
,
[
out
,
retval
]
Windows
.
Storage.Streams.IBuffer
**
buffer
)
;
HRESULT
CopyToByteArray
(
[
in
]
Windows
.
Storage.Streams.IBuffer
*
buffer
,
[
out
]
UINT32
*
value_size
,
[
out
,
size_is
(,
*
value_size
)
]
BYTE
**
value
)
;
HRESULT
DecodeFromHexString
(
[
in
]
HSTRING
value
,
[
out
,
retval
]
Windows
.
Storage.Streams.IBuffer
**
buffer
)
;
HRESULT
EncodeToHexString
(
[
in
]
Windows
.
Storage.Streams.IBuffer
*
buffer
,
[
out
,
retval
]
HSTRING
*
value
)
;
HRESULT
DecodeFromBase64String
(
[
in
]
HSTRING
value
,
[
out
,
retval
]
Windows
.
Storage.Streams.IBuffer
**
buffer
)
;
HRESULT
EncodeToBase64String
(
[
in
]
Windows
.
Storage.Streams.IBuffer
*
buffer
,
[
out
,
retval
]
HSTRING
*
value
)
;
HRESULT
ConvertStringToBinary
(
[
in
]
HSTRING
value
,
[
in
]
Windows
.
Security.Cryptography.BinaryStringEncoding
encoding
,
[
out
,
retval
]
Windows
.
Storage.Streams.IBuffer
**
buffer
)
;
HRESULT
ConvertBinaryToString
(
[
in
]
Windows
.
Security.Cryptography.BinaryStringEncoding
encoding
,
[
in
]
Windows
.
Storage.Streams.IBuffer
*
buffer
,
[
out
,
retval
]
HSTRING
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
Security.Cryptography.ICryptographicBufferStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
threading
(
both
)
]
runtimeclass
CryptographicBuffer
{
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment