Méthode | Description | |
---|---|---|
Add ( |
Add an entry for the specified key to the recipient list.
|
|
Add ( |
Add a recipient entry to the recipient list.
|
|
Decrypt ( ) : byte[] |
Decrypt the content using the corresponding private key in the local key store (if found). Throws exception otherwise.
|
|
Decrypt ( |
Decrypt the content using the specified private key.
|
|
DeserializeToken ( JSONReader JSONReader, string Tag ) : void |
Having read a tag, process the corresponding value data.
|
|
Encrypt ( byte Data ) : void |
Create a new encryption context and encrypt the data under the generated content key and IV.
|
|
Encrypt ( byte Data, |
Create a new encryption context and encrypt the data under the generated content key and IV.
|
|
EncryptKey ( |
Return an encrypted key data entry for the specified encryption key.
|
|
From ( byte _Data ) : |
Create a new instance from untagged byte input. i.e. {... data ... }
|
|
From ( string _Input ) : |
Create a new instance from untagged string input. i.e. {... data ... }
|
|
FromTagged ( JSONReader JSONReader ) : |
Deserialize a tagged stream
|
|
FromTagged ( byte _Data ) : |
Create a new instance from tagged byte input. i.e. { "JoseWebEncryption" : {... data ... } }
|
|
FromTagged ( string _Input ) : |
Create a new instance from tagged string input. i.e. { "JoseWebEncryption" : {... data ... } }
|
|
JoseWebEncryption ( ) : System |
Default Constructor
|
|
JoseWebEncryption ( JSONReader JSONReader ) : System |
Initialize class from JSONReader stream.
|
|
JoseWebEncryption ( string _String ) : System |
Initialize class from a JSON encoded class.
|
|
JoseWebEncryption ( byte Data ) : System.Collections.Generic |
Construct a JWE encryption object and encrypt the specified data.
|
|
JoseWebEncryption ( byte Data, |
Construct a JWE encryption object and encrypt the specified data using the specified encryption provider.
|
|
JoseWebEncryption ( byte Data, List |
Construct a JWE encryption object and encrypt the specified data and create decryption entries for the specified recipients.
|
|
Serialize ( Writer Writer, bool wrap, bool &first ) : void |
Serialize this object to the specified output stream.
|
|
SerializeX ( Writer _Writer, bool _wrap, bool &_first ) : void |
Serialize this object to the specified output stream. Unlike the Serlialize() method, this method is not inherited from the parent class allowing a specific version of the method to be called.
|
|
Tag ( ) : string |
Tag identifying this class.
|
Méthode | Description | |
---|---|---|
Find ( string KeyID ) : |
public Add ( |
||
EncryptionKey | The encryption key to create the /// entry for. | |
Résultat | void |
public Decrypt ( |
||
DecryptionKey | ||
Résultat | byte[] |
public DeserializeToken ( JSONReader JSONReader, string Tag ) : void | ||
JSONReader | JSONReader | |
Tag | string | |
Résultat | void |
public Encrypt ( byte Data, |
||
Data | byte | The data to encrypt |
Encryptor | The encryption provider to use. | |
Résultat | void |
public EncryptKey ( |
||
EncryptionKey | The key to use for encryption. | |
Résultat | byte[] |
public static From ( byte _Data ) : |
||
_Data | byte | The input data. |
Résultat |
public static From ( string _Input ) : |
||
_Input | string | The input data. |
Résultat |
public static FromTagged ( JSONReader JSONReader ) : |
||
JSONReader | JSONReader | |
Résultat |
public static FromTagged ( byte _Data ) : |
||
_Data | byte | The input data. |
Résultat |
public static FromTagged ( string _Input ) : |
||
_Input | string | The input data. |
Résultat |
public JoseWebEncryption ( JSONReader JSONReader ) : System | ||
JSONReader | JSONReader | |
Résultat | System |
public JoseWebEncryption ( string _String ) : System | ||
_String | string | |
Résultat | System |
public JoseWebEncryption ( byte Data ) : System.Collections.Generic | ||
Data | byte | The data to be encrypted. |
Résultat | System.Collections.Generic |
public JoseWebEncryption ( byte Data, |
||
Data | byte | The data to be encrypted. |
Encryptor | Encryption provider to use. | |
Résultat | System.Collections.Generic |
public JoseWebEncryption ( byte Data, List |
||
Data | byte | The data to be encrypted. |
Recipients | List |
The recipients to create the /// decryption blobs for. |
Résultat | System.Collections.Generic |
public Serialize ( Writer Writer, bool wrap, bool &first ) : void | ||
Writer | Writer | Output stream |
wrap | bool | If true, output is wrapped with object /// start and end sequences '{ ... }'. |
first | bool | If true, item is the first entry in a list. |
Résultat | void |
public SerializeX ( Writer _Writer, bool _wrap, bool &_first ) : void | ||
_Writer | Writer | Output stream |
_wrap | bool | If true, output is wrapped with object /// start and end sequences '{ ... }'. |
_first | bool | If true, item is the first entry in a list. |
Résultat | void |