Cipher
Context
Class
constructor
encrypt
Protocol
key
Protocol
parent
Class
reserved
sign
Protocol
name
decrypt
Sync
encrypt
Sync
hash
To
Id
id
To
Hash
sign
Sync
verify
Sync
NODE-GTK API Reference
Camel-1.2
Camel
CipherContextClass
Class CipherContextClass
Hierarchy
CipherContextClass
Index
Constructors
constructor
Properties
encrypt
Protocol
key
Protocol
parent
Class
reserved
sign
Protocol
name
Methods
decrypt
Sync
encrypt
Sync
hash
To
Id
id
To
Hash
sign
Sync
verify
Sync
Constructors
constructor
new
Cipher
Context
Class
(
)
:
CipherContextClass
Returns
CipherContextClass
Properties
encrypt
Protocol
encrypt
Protocol
:
string
key
Protocol
key
Protocol
:
string
parent
Class
parent
Class
:
GObject
.
ObjectClass
reserved
reserved
:
object
[]
sign
Protocol
sign
Protocol
:
string
Static
name
name
:
string
Methods
decrypt
Sync
decrypt
Sync
(
context
:
CipherContext
, ipart
:
MimePart
, opart
:
MimePart
, cancellable
:
Gio
.
Cancellable
)
:
CipherValidity
Parameters
context:
CipherContext
ipart:
MimePart
opart:
MimePart
cancellable:
Gio
.
Cancellable
Returns
CipherValidity
encrypt
Sync
encrypt
Sync
(
context
:
CipherContext
, userid
:
string
, recipients
:
string
[]
, ipart
:
MimePart
, opart
:
MimePart
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
context:
CipherContext
userid:
string
recipients:
string
[]
ipart:
MimePart
opart:
MimePart
cancellable:
Gio
.
Cancellable
Returns
boolean
hash
To
Id
hash
To
Id
(
context
:
CipherContext
, hash
:
CipherHash
)
:
string
Parameters
context:
CipherContext
hash:
CipherHash
Returns
string
id
To
Hash
id
To
Hash
(
context
:
CipherContext
, id
:
string
)
:
CipherHash
Parameters
context:
CipherContext
id:
string
Returns
CipherHash
sign
Sync
sign
Sync
(
context
:
CipherContext
, userid
:
string
, hash
:
CipherHash
, ipart
:
MimePart
, opart
:
MimePart
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
context:
CipherContext
userid:
string
hash:
CipherHash
ipart:
MimePart
opart:
MimePart
cancellable:
Gio
.
Cancellable
Returns
boolean
verify
Sync
verify
Sync
(
context
:
CipherContext
, ipart
:
MimePart
, cancellable
:
Gio
.
Cancellable
)
:
CipherValidity
Parameters
context:
CipherContext
ipart:
MimePart
cancellable:
Gio
.
Cancellable
Returns
CipherValidity
Cipher
Context
Class
constructor
encrypt
Protocol
key
Protocol
parent
Class
reserved
sign
Protocol
name
decrypt
Sync
encrypt
Sync
hash
To
Id
id
To
Hash
sign
Sync
verify
Sync
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJDYW1lbF8xXzIuQ2FtZWwuQ2lwaGVyQ29udGV4dENsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJDYW1lbF8xXzIuQ2FtZWwuQ2lwaGVyQ29udGV4dENsYXNzLmh0bWwjZW5jcnlwdFByb3RvY29sIiwibmFtZSI6ImVuY3J5cHRQcm90b2NvbCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkNhbWVsXzFfMi5DYW1lbC5DaXBoZXJDb250ZXh0Q2xhc3MuaHRtbCNrZXlQcm90b2NvbCIsIm5hbWUiOiJrZXlQcm90b2NvbCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ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