From 64106c4d3d4ddba8c7bc2af75376e6d3d3d75601 Mon Sep 17 00:00:00 2001
From:
Date: Mon, 29 Jun 2015 20:16:15 +0000
Subject: Update documentation
---
openssl/crypto/pkey/enum.EncryptionPadding.html | 108 +++++++++++++++++
openssl/crypto/pkey/enum.Parts.html | 108 +++++++++++++++++
openssl/crypto/pkey/enum.Role.html | 110 +++++++++++++++++
openssl/crypto/pkey/index.html | 137 +++++++++++++++++++++
openssl/crypto/pkey/sidebar-items.js | 1 +
openssl/crypto/pkey/struct.PKey.html | 153 ++++++++++++++++++++++++
6 files changed, 617 insertions(+)
create mode 100644 openssl/crypto/pkey/enum.EncryptionPadding.html
create mode 100644 openssl/crypto/pkey/enum.Parts.html
create mode 100644 openssl/crypto/pkey/enum.Role.html
create mode 100644 openssl/crypto/pkey/index.html
create mode 100644 openssl/crypto/pkey/sidebar-items.js
create mode 100644 openssl/crypto/pkey/struct.PKey.html
(limited to 'openssl/crypto/pkey')
diff --git a/openssl/crypto/pkey/enum.EncryptionPadding.html b/openssl/crypto/pkey/enum.EncryptionPadding.html
new file mode 100644
index 0000000..f9871ce
--- /dev/null
+++ b/openssl/crypto/pkey/enum.EncryptionPadding.html
@@ -0,0 +1,108 @@
+
+
+
+
+
+pub enum EncryptionPadding {
+ OAEP,
+ PKCS1v15,
+}
Type of encryption padding to use.
+
Variants
+Trait Implementations
Derived Implementations
+
+
+
Keyboard shortcuts
+
+ - ?
+ - Show this help dialog
+ - S
+ - Focus the search field
+ - ⇤
+ - Move up in search results
+ - ⇥
+ - Move down in search results
+ - ⏎
+ - Go to active search result
+
+
+
+
Search tricks
+
+ Prefix searches with a type followed by a colon (e.g.
+ fn:
) to restrict the search to a given type.
+
+
+ Accepted types are: fn
, mod
,
+ struct
, enum
,
+ trait
, typedef
(or
+ tdef
).
+
+
+ Search functions by type signature (e.g.
+ vec -> usize
)
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssl/crypto/pkey/enum.Parts.html b/openssl/crypto/pkey/enum.Parts.html
new file mode 100644
index 0000000..a35fdfa
--- /dev/null
+++ b/openssl/crypto/pkey/enum.Parts.html
@@ -0,0 +1,108 @@
+
+
+
+
+
+pub enum Parts {
+ Neither,
+ Public,
+ Both,
+}
Variants
+Trait Implementations
Derived Implementations
+
+
+
Keyboard shortcuts
+
+ - ?
+ - Show this help dialog
+ - S
+ - Focus the search field
+ - ⇤
+ - Move up in search results
+ - ⇥
+ - Move down in search results
+ - ⏎
+ - Go to active search result
+
+
+
+
Search tricks
+
+ Prefix searches with a type followed by a colon (e.g.
+ fn:
) to restrict the search to a given type.
+
+
+ Accepted types are: fn
, mod
,
+ struct
, enum
,
+ trait
, typedef
(or
+ tdef
).
+
+
+ Search functions by type signature (e.g.
+ vec -> usize
)
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssl/crypto/pkey/enum.Role.html b/openssl/crypto/pkey/enum.Role.html
new file mode 100644
index 0000000..953ef47
--- /dev/null
+++ b/openssl/crypto/pkey/enum.Role.html
@@ -0,0 +1,110 @@
+
+
+
+
+
+pub enum Role {
+ Encrypt,
+ Decrypt,
+ Sign,
+ Verify,
+}
Represents a role an asymmetric key might be appropriate for.
+
Variants
+Trait Implementations
Derived Implementations
+
+
+
Keyboard shortcuts
+
+ - ?
+ - Show this help dialog
+ - S
+ - Focus the search field
+ - ⇤
+ - Move up in search results
+ - ⇥
+ - Move down in search results
+ - ⏎
+ - Go to active search result
+
+
+
+
Search tricks
+
+ Prefix searches with a type followed by a colon (e.g.
+ fn:
) to restrict the search to a given type.
+
+
+ Accepted types are: fn
, mod
,
+ struct
, enum
,
+ trait
, typedef
(or
+ tdef
).
+
+
+ Search functions by type signature (e.g.
+ vec -> usize
)
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssl/crypto/pkey/index.html b/openssl/crypto/pkey/index.html
new file mode 100644
index 0000000..f3a9320
--- /dev/null
+++ b/openssl/crypto/pkey/index.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+
Keyboard shortcuts
+
+ - ?
+ - Show this help dialog
+ - S
+ - Focus the search field
+ - ⇤
+ - Move up in search results
+ - ⇥
+ - Move down in search results
+ - ⏎
+ - Go to active search result
+
+
+
+
Search tricks
+
+ Prefix searches with a type followed by a colon (e.g.
+ fn:
) to restrict the search to a given type.
+
+
+ Accepted types are: fn
, mod
,
+ struct
, enum
,
+ trait
, typedef
(or
+ tdef
).
+
+
+ Search functions by type signature (e.g.
+ vec -> usize
)
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssl/crypto/pkey/sidebar-items.js b/openssl/crypto/pkey/sidebar-items.js
new file mode 100644
index 0000000..8bab8a4
--- /dev/null
+++ b/openssl/crypto/pkey/sidebar-items.js
@@ -0,0 +1 @@
+initSidebarItems({"enum":[["EncryptionPadding","Type of encryption padding to use."],["Parts",""],["Role","Represents a role an asymmetric key might be appropriate for."]],"struct":[["PKey",""]]});
\ No newline at end of file
diff --git a/openssl/crypto/pkey/struct.PKey.html b/openssl/crypto/pkey/struct.PKey.html
new file mode 100644
index 0000000..88638be
--- /dev/null
+++ b/openssl/crypto/pkey/struct.PKey.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+pub struct PKey {
+ // some fields omitted
+}
Methods
Represents a public key, optionally with a private key attached.
+
+
+
+
Reads private key from PEM, takes ownership of handle
+
fn gen(&mut self, keysz: usize)
+
+
Returns a serialized form of the public key, suitable for load_pub().
+
+
Loads a serialized form of the public key, as produced by save_pub().
+
+
Returns a serialized form of the public and private keys, suitable for
+load_priv().
+
+
Loads a serialized form of the public and private keys, as produced by
+save_priv().
+
+
Stores private key as a PEM
+
+
Returns the size of the public key modulus.
+
+
Returns whether this pkey object can perform the specified role.
+
+
Returns the maximum amount of data that can be encrypted by an encrypt()
+call.
+
+
+
+
Encrypts data using OAEP padding, returning the encrypted data. The
+supplied data must not be larger than max_data().
+
+
Decrypts data, expecting OAEP padding, returning the decrypted data.
+
+
Signs data, using OpenSSL's default scheme and adding sha256 ASN.1 information to the
+signature.
+The bytes to sign must be the result of a sha256 hashing;
+returns the signature.
+
+
Verifies a signature s (using OpenSSL's default scheme and sha256) on the SHA256 hash of a
+message.
+Returns true if the signature is valid, and false otherwise.
+
+
Signs data, using OpenSSL's default scheme and add ASN.1 information for the given hash type to the
+signature.
+The bytes to sign must be the result of this type of hashing;
+returns the signature.
+
+
+
+
Trait Implementations
+
+
+
Keyboard shortcuts
+
+ - ?
+ - Show this help dialog
+ - S
+ - Focus the search field
+ - ⇤
+ - Move up in search results
+ - ⇥
+ - Move down in search results
+ - ⏎
+ - Go to active search result
+
+
+
+
Search tricks
+
+ Prefix searches with a type followed by a colon (e.g.
+ fn:
) to restrict the search to a given type.
+
+
+ Accepted types are: fn
, mod
,
+ struct
, enum
,
+ trait
, typedef
(or
+ tdef
).
+
+
+ Search functions by type signature (e.g.
+ vec -> usize
)
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3