You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26179 lines
1.4 MiB
26179 lines
1.4 MiB
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>BouncyCastle.Crypto</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="M:Org.BouncyCastle.Asn1.Anssi.AnssiNamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the X9ECParameters object for the named curve represented by
|
|
the passed in object identifier. Null if the curve isn't present.
|
|
|
|
@param oid an object identifier representing a named curve, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Anssi.AnssiNamedCurves.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Anssi.AnssiNamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Anssi.AnssiNamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1Encodable.GetDerEncoded">
|
|
Return the DER encoding of the object, null if the DER encoding can not be made.
|
|
|
|
@return a DER byte array, null otherwise.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Asn1EncodableVector">
|
|
Mutable class for building ASN.1 constructed objects such as SETs or SEQUENCEs.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Asn1InputStream">
|
|
a general purpose ASN.1 decoder - note: this class differs from the
|
|
others in that it returns null after it has read the last object in
|
|
the stream. If an ASN.1 Null is encountered a Der/BER Null object is
|
|
returned.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1InputStream.#ctor(System.IO.Stream,System.Int32)">
|
|
Create an ASN1InputStream where no DER object will be longer than limit.
|
|
|
|
@param input stream containing ASN.1 encoded data.
|
|
@param limit maximum size of a DER encoded object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1InputStream.#ctor(System.Byte[])">
|
|
Create an ASN1InputStream based on the input byte array. The length of DER objects in
|
|
the stream is automatically limited to the length of the input array.
|
|
|
|
@param input array containing ASN.1 encoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1InputStream.BuildObject(System.Int32,System.Int32,System.Int32)">
|
|
build an object given its tag and the number of bytes to construct it from.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Asn1Null">
|
|
A Null object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1Object.FromByteArray(System.Byte[])">
|
|
<summary>Create a base ASN.1 object from a byte array.</summary>
|
|
<param name="data">The byte array to parse.</param>
|
|
<returns>The base ASN.1 object represented by the byte array.</returns>
|
|
<exception cref="T:System.IO.IOException">
|
|
If there is a problem parsing the data, or parsing an object did not exhaust the available data.
|
|
</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1Object.FromStream(System.IO.Stream)">
|
|
<summary>Read a base ASN.1 object from a stream.</summary>
|
|
<param name="inStr">The stream to parse.</param>
|
|
<returns>The base ASN.1 object represented by the byte array.</returns>
|
|
<exception cref="T:System.IO.IOException">If there is a problem parsing the data.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1OctetString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an Octet string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1OctetString.GetInstance(System.Object)">
|
|
return an Octet string from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1OctetString.#ctor(System.Byte[])">
|
|
@param string the octets making up the octet string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1Sequence.GetInstance(System.Object)">
|
|
return an Asn1Sequence from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1Sequence.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
Return an ASN1 sequence from a tagged object. There is a special
|
|
case here, if an object appears to have been explicitly tagged on
|
|
reading but we were expecting it to be implicitly tagged in the
|
|
normal course of events it indicates that we lost the surrounding
|
|
sequence - so we need to add it back (this will happen if the tagged
|
|
object is a sequence that contains other sequences). If you are
|
|
dealing with implicitly tagged sequences you really <b>should</b>
|
|
be using this method.
|
|
|
|
@param obj the tagged object.
|
|
@param explicitly true if the object is meant to be explicitly tagged,
|
|
false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Asn1Sequence.Item(System.Int32)">
|
|
return the object at the sequence position indicated by index.
|
|
|
|
@param index the sequence number (starting at zero) of the object
|
|
@return the object at the sequence position indicated by index.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1Set.GetInstance(System.Object)">
|
|
return an ASN1Set from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1Set.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
Return an ASN1 set from a tagged object. There is a special
|
|
case here, if an object appears to have been explicitly tagged on
|
|
reading but we were expecting it to be implicitly tagged in the
|
|
normal course of events it indicates that we lost the surrounding
|
|
set - so we need to add it back (this will happen if the tagged
|
|
object is a sequence that contains other sequences). If you are
|
|
dealing with implicitly tagged sets you really <b>should</b>
|
|
be using this method.
|
|
|
|
@param obj the tagged object.
|
|
@param explicitly true if the object is meant to be explicitly tagged
|
|
false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Asn1Set.Item(System.Int32)">
|
|
return the object at the set position indicated by index.
|
|
|
|
@param index the set number (starting at zero) of the object
|
|
@return the object at the set position indicated by index.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Asn1TaggedObject">
|
|
ASN.1 TaggedObject - in ASN.1 notation this is any object preceded by
|
|
a [n] where n is some number - these are assumed to follow the construction
|
|
rules (as with sequences).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1TaggedObject.#ctor(System.Int32,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param tagNo the tag number for this object.
|
|
@param obj the tagged object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1TaggedObject.#ctor(System.Boolean,System.Int32,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param explicitly true if the object is explicitly tagged.
|
|
@param tagNo the tag number for this object.
|
|
@param obj the tagged object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1TaggedObject.IsExplicit">
|
|
return whether or not the object may be explicitly tagged.
|
|
<p>
|
|
Note: if the object has been read from an input stream, the only
|
|
time you can be sure if isExplicit is returning the true state of
|
|
affairs is if it returns false. An implicitly tagged object may appear
|
|
to be explicitly tagged, so you need to understand the context under
|
|
which the reading was done as well, see GetObject below.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1TaggedObject.GetObject">
|
|
return whatever was following the tag.
|
|
<p>
|
|
Note: tagged objects are generally context dependent if you're
|
|
trying to extract a tagged object you should be going via the
|
|
appropriate GetInstance method.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Asn1TaggedObject.GetObjectParser(System.Int32,System.Boolean)">
|
|
Return the object held in this tagged object as a parser assuming it has
|
|
the type of the passed in tag. If the object doesn't have a parser
|
|
associated with it, the base object is returned.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc">
|
|
iso.org.dod.internet.private.enterprise.legion-of-the-bouncy-castle
|
|
<p>1.3.6.1.4.1.22554</p>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe">
|
|
pbe(1) algorithms
|
|
<p>1.3.6.1.4.1.22554.1</p>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha1">
|
|
SHA-1(1)
|
|
<p>1.3.6.1.4.1.22554.1.1</p>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha256">
|
|
SHA-2.SHA-256; 1.3.6.1.4.1.22554.1.2.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha384">
|
|
SHA-2.SHA-384; 1.3.6.1.4.1.22554.1.2.2
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha512">
|
|
SHA-2.SHA-512; 1.3.6.1.4.1.22554.1.2.3
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha224">
|
|
SHA-2.SHA-224; 1.3.6.1.4.1.22554.1.2.4
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha1_pkcs5">
|
|
PKCS-5(1)|PKCS-12(2)
|
|
SHA-1.PKCS5; 1.3.6.1.4.1.22554.1.1.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha1_pkcs12">
|
|
SHA-1.PKCS12; 1.3.6.1.4.1.22554.1.1.2
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha256_pkcs5">
|
|
SHA-256.PKCS12; 1.3.6.1.4.1.22554.1.2.1.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha256_pkcs12">
|
|
SHA-256.PKCS12; 1.3.6.1.4.1.22554.1.2.1.2
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha1_pkcs12_aes128_cbc">
|
|
AES(1) . (CBC-128(2)|CBC-192(22)|CBC-256(42))
|
|
1.3.6.1.4.1.22554.1.1.2.1.2
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha1_pkcs12_aes192_cbc">
|
|
1.3.6.1.4.1.22554.1.1.2.1.22
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha1_pkcs12_aes256_cbc">
|
|
1.3.6.1.4.1.22554.1.1.2.1.42
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha256_pkcs12_aes128_cbc">
|
|
1.3.6.1.4.1.22554.1.1.2.2.2
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha256_pkcs12_aes192_cbc">
|
|
1.3.6.1.4.1.22554.1.1.2.2.22
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_pbe_sha256_pkcs12_aes256_cbc">
|
|
1.3.6.1.4.1.22554.1.1.2.2.42
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_sig">
|
|
signature(2) algorithms
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.sphincs256">
|
|
Sphincs-256
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.xmss">
|
|
XMSS
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.xmss_mt">
|
|
XMSS^MT
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_exch">
|
|
key_exchange(3) algorithms
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.newHope">
|
|
NewHope
|
|
</member>
|
|
<!-- Badly formed XML comment ignored for member "F:Org.BouncyCastle.Asn1.BC.BCObjectIdentifiers.bc_ext" -->
|
|
<member name="T:Org.BouncyCastle.Asn1.BC.LinkedCertificate">
|
|
Extension to tie an alternate certificate to the containing certificate.
|
|
<pre>
|
|
LinkedCertificate := SEQUENCE {
|
|
digest DigestInfo, -- digest of PQC certificate
|
|
certLocation GeneralName, -- location of PQC certificate
|
|
certIssuer [0] Name OPTIONAL, -- issuer of PQC cert (if different from current certificate)
|
|
cACerts [1] GeneralNames OPTIONAL, -- CA certificates for PQC cert (one of more locations)
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.BerNull">
|
|
A BER Null object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerOctetString.GetEnumerator">
|
|
return the DER octets that make up this string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerSequence.#ctor">
|
|
create an empty sequence
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerSequence.#ctor(Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
create a sequence containing one object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerSequence.#ctor(Org.BouncyCastle.Asn1.Asn1EncodableVector)">
|
|
create a sequence containing a vector of objects.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerSet.#ctor">
|
|
create an empty sequence
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerSet.#ctor(Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
create a set containing one object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerSet.#ctor(Org.BouncyCastle.Asn1.Asn1EncodableVector)">
|
|
create a set containing a vector of objects.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.BerTaggedObject">
|
|
BER TaggedObject - in ASN.1 notation this is any object preceded by
|
|
a [n] where n is some number - these are assumed to follow the construction
|
|
rules (as with sequences).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerTaggedObject.#ctor(System.Int32,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param tagNo the tag number for this object.
|
|
@param obj the tagged object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerTaggedObject.#ctor(System.Boolean,System.Int32,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param explicitly true if an explicitly tagged object.
|
|
@param tagNo the tag number for this object.
|
|
@param obj the tagged object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.BerTaggedObject.#ctor(System.Int32)">
|
|
create an implicitly tagged object that contains a zero
|
|
length sequence.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers">
|
|
<remarks>See https://www.bsi.bund.de/cae/servlet/contentblob/471398/publicationFile/30615/BSI-TR-03111_pdf.pdf</remarks>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.algorithm">
|
|
0.4.0.127.0.7.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_X963kdf">
|
|
ElGamal Elliptic Curve Key Agreement and Key Derivation according to X963 OID: 0.4.0.127.0.7.1.1.5.1.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_X963kdf_SHA1">
|
|
ElGamal Elliptic Curve Key Agreement and Key Derivation according to X963
|
|
with hash function SHA-1
|
|
OID: 0.4.0.127.0.7.1.1.5.1.1.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_X963kdf_SHA224">
|
|
ElGamal Elliptic Curve Key Agreement and Key Derivation according to X963
|
|
with hash function SHA224
|
|
OID: 0.4.0.127.0.7.1.1.5.1.1.2
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_X963kdf_SHA256">
|
|
ElGamal Elliptic Curve Key Agreement and Key Derivation according to X963
|
|
with hash function SHA256
|
|
OID: 0.4.0.127.0.7.1.1.5.1.1.3
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_X963kdf_SHA384">
|
|
ElGamal Elliptic Curve Key Agreement and Key Derivation according to X963
|
|
with hash function SHA384
|
|
OID: 0.4.0.127.0.7.1.1.5.1.1.4
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_X963kdf_SHA512">
|
|
ElGamal Elliptic Curve Key Agreement and Key Derivation according to X963
|
|
with hash function SHA512
|
|
OID: 0.4.0.127.0.7.1.1.5.1.1.5
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_X963kdf_RIPEMD160">
|
|
ElGamal Elliptic Curve Key Agreement and Key Derivation according to X963
|
|
with hash function RIPEMD160
|
|
OID: 0.4.0.127.0.7.1.1.5.1.1.6
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Bsi.BsiObjectIdentifiers.ecka_eg_SessionKDF">
|
|
Key Derivation Function for Session Keys
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CAKeyUpdAnnContent.ToAsn1Object">
|
|
<pre>
|
|
CAKeyUpdAnnContent ::= SEQUENCE {
|
|
oldWithNew CmpCertificate, -- old pub signed with new priv
|
|
newWithOld CmpCertificate, -- new pub signed with old priv
|
|
newWithNew CmpCertificate -- new pub signed with new priv
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CertConfirmContent.ToAsn1Object">
|
|
<pre>
|
|
CertConfirmContent ::= SEQUENCE OF CertStatus
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CertifiedKeyPair.ToAsn1Object">
|
|
<pre>
|
|
CertifiedKeyPair ::= SEQUENCE {
|
|
certOrEncCert CertOrEncCert,
|
|
privateKey [0] EncryptedValue OPTIONAL,
|
|
-- see [CRMF] for comment on encoding
|
|
publicationInfo [1] PKIPublicationInfo OPTIONAL
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CertOrEncCert.ToAsn1Object">
|
|
<pre>
|
|
CertOrEncCert ::= CHOICE {
|
|
certificate [0] CMPCertificate,
|
|
encryptedCert [1] EncryptedValue
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CertRepMessage.ToAsn1Object">
|
|
<pre>
|
|
CertRepMessage ::= SEQUENCE {
|
|
caPubs [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
|
|
OPTIONAL,
|
|
response SEQUENCE OF CertResponse
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CertResponse.ToAsn1Object">
|
|
<pre>
|
|
CertResponse ::= SEQUENCE {
|
|
certReqId INTEGER,
|
|
-- to match this response with corresponding request (a value
|
|
-- of -1 is to be used if certReqId is not specified in the
|
|
-- corresponding request)
|
|
status PKIStatusInfo,
|
|
certifiedKeyPair CertifiedKeyPair OPTIONAL,
|
|
rspInfo OCTET STRING OPTIONAL
|
|
-- analogous to the id-regInfo-utf8Pairs string defined
|
|
-- for regInfo in CertReqMsg [CRMF]
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CertStatus.ToAsn1Object">
|
|
<pre>
|
|
CertStatus ::= SEQUENCE {
|
|
certHash OCTET STRING,
|
|
-- the hash of the certificate, using the same hash algorithm
|
|
-- as is used to create and verify the certificate signature
|
|
certReqId INTEGER,
|
|
-- to match this confirmation with the corresponding req/rep
|
|
statusInfo PKIStatusInfo OPTIONAL
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.Challenge.ToAsn1Object">
|
|
<pre>
|
|
Challenge ::= SEQUENCE {
|
|
owf AlgorithmIdentifier OPTIONAL,
|
|
|
|
-- MUST be present in the first Challenge; MAY be omitted in
|
|
-- any subsequent Challenge in POPODecKeyChallContent (if
|
|
-- omitted, then the owf used in the immediately preceding
|
|
-- Challenge is to be used).
|
|
|
|
witness OCTET STRING,
|
|
-- the result of applying the one-way function (owf) to a
|
|
-- randomly-generated INTEGER, A. [Note that a different
|
|
-- INTEGER MUST be used for each Challenge.]
|
|
challenge OCTET STRING
|
|
-- the encryption (under the public key for which the cert.
|
|
-- request is being made) of Rand, where Rand is specified as
|
|
-- Rand ::= SEQUENCE {
|
|
-- int INTEGER,
|
|
-- - the randomly-generated INTEGER A (above)
|
|
-- sender GeneralName
|
|
-- - the sender's name (as included in PKIHeader)
|
|
-- }
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CmpCertificate.#ctor(Org.BouncyCastle.Asn1.X509.AttributeCertificate)">
|
|
Note: the addition of attribute certificates is a BC extension.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CmpCertificate.ToAsn1Object">
|
|
<pre>
|
|
CMPCertificate ::= CHOICE {
|
|
x509v3PKCert Certificate
|
|
x509v2AttrCert [1] AttributeCertificate
|
|
}
|
|
</pre>
|
|
Note: the addition of attribute certificates is a BC extension.
|
|
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.CrlAnnContent.ToAsn1Object">
|
|
<pre>
|
|
CrlAnnContent ::= SEQUENCE OF CertificateList
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.ErrorMsgContent.ToAsn1Object">
|
|
<pre>
|
|
ErrorMsgContent ::= SEQUENCE {
|
|
pKIStatusInfo PKIStatusInfo,
|
|
errorCode INTEGER OPTIONAL,
|
|
-- implementation-specific error codes
|
|
errorDetails PKIFreeText OPTIONAL
|
|
-- implementation-specific error details
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.GenMsgContent.ToAsn1Object">
|
|
<pre>
|
|
GenMsgContent ::= SEQUENCE OF InfoTypeAndValue
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.GenRepContent.ToAsn1Object">
|
|
<pre>
|
|
GenRepContent ::= SEQUENCE OF InfoTypeAndValue
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cmp.InfoTypeAndValue">
|
|
Example InfoTypeAndValue contents include, but are not limited
|
|
to, the following (un-comment in this ASN.1 module and use as
|
|
appropriate for a given environment):
|
|
<pre>
|
|
id-it-caProtEncCert OBJECT IDENTIFIER ::= {id-it 1}
|
|
CAProtEncCertValue ::= CMPCertificate
|
|
id-it-signKeyPairTypes OBJECT IDENTIFIER ::= {id-it 2}
|
|
SignKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier
|
|
id-it-encKeyPairTypes OBJECT IDENTIFIER ::= {id-it 3}
|
|
EncKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier
|
|
id-it-preferredSymmAlg OBJECT IDENTIFIER ::= {id-it 4}
|
|
PreferredSymmAlgValue ::= AlgorithmIdentifier
|
|
id-it-caKeyUpdateInfo OBJECT IDENTIFIER ::= {id-it 5}
|
|
CAKeyUpdateInfoValue ::= CAKeyUpdAnnContent
|
|
id-it-currentCRL OBJECT IDENTIFIER ::= {id-it 6}
|
|
CurrentCRLValue ::= CertificateList
|
|
id-it-unsupportedOIDs OBJECT IDENTIFIER ::= {id-it 7}
|
|
UnsupportedOIDsValue ::= SEQUENCE OF OBJECT IDENTIFIER
|
|
id-it-keyPairParamReq OBJECT IDENTIFIER ::= {id-it 10}
|
|
KeyPairParamReqValue ::= OBJECT IDENTIFIER
|
|
id-it-keyPairParamRep OBJECT IDENTIFIER ::= {id-it 11}
|
|
KeyPairParamRepValue ::= AlgorithmIdentifer
|
|
id-it-revPassphrase OBJECT IDENTIFIER ::= {id-it 12}
|
|
RevPassphraseValue ::= EncryptedValue
|
|
id-it-implicitConfirm OBJECT IDENTIFIER ::= {id-it 13}
|
|
ImplicitConfirmValue ::= NULL
|
|
id-it-confirmWaitTime OBJECT IDENTIFIER ::= {id-it 14}
|
|
ConfirmWaitTimeValue ::= GeneralizedTime
|
|
id-it-origPKIMessage OBJECT IDENTIFIER ::= {id-it 15}
|
|
OrigPKIMessageValue ::= PKIMessages
|
|
id-it-suppLangTags OBJECT IDENTIFIER ::= {id-it 16}
|
|
SuppLangTagsValue ::= SEQUENCE OF UTF8String
|
|
|
|
where
|
|
|
|
id-pkix OBJECT IDENTIFIER ::= {
|
|
iso(1) identified-organization(3)
|
|
dod(6) internet(1) security(5) mechanisms(5) pkix(7)}
|
|
and
|
|
id-it OBJECT IDENTIFIER ::= {id-pkix 4}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.InfoTypeAndValue.ToAsn1Object">
|
|
<pre>
|
|
InfoTypeAndValue ::= SEQUENCE {
|
|
infoType OBJECT IDENTIFIER,
|
|
infoValue ANY DEFINED BY infoType OPTIONAL
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.KeyRecRepContent.ToAsn1Object">
|
|
<pre>
|
|
KeyRecRepContent ::= SEQUENCE {
|
|
status PKIStatusInfo,
|
|
newSigCert [0] CMPCertificate OPTIONAL,
|
|
caCerts [1] SEQUENCE SIZE (1..MAX) OF
|
|
CMPCertificate OPTIONAL,
|
|
keyPairHist [2] SEQUENCE SIZE (1..MAX) OF
|
|
CertifiedKeyPair OPTIONAL
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.OobCertHash.ToAsn1Object">
|
|
<pre>
|
|
OobCertHash ::= SEQUENCE {
|
|
hashAlg [0] AlgorithmIdentifier OPTIONAL,
|
|
certId [1] CertId OPTIONAL,
|
|
hashVal BIT STRING
|
|
-- hashVal is calculated over the Der encoding of the
|
|
-- self-signed certificate with the identifier certID.
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PbmParameter.ToAsn1Object">
|
|
<pre>
|
|
PbmParameter ::= SEQUENCE {
|
|
salt OCTET STRING,
|
|
-- note: implementations MAY wish to limit acceptable sizes
|
|
-- of this string to values appropriate for their environment
|
|
-- in order to reduce the risk of denial-of-service attacks
|
|
owf AlgorithmIdentifier,
|
|
-- AlgId for a One-Way Function (SHA-1 recommended)
|
|
iterationCount INTEGER,
|
|
-- number of times the OWF is applied
|
|
-- note: implementations MAY wish to limit acceptable sizes
|
|
-- of this integer to values appropriate for their environment
|
|
-- in order to reduce the risk of denial-of-service attacks
|
|
mac AlgorithmIdentifier
|
|
-- the MAC AlgId (e.g., DES-MAC, Triple-DES-MAC [PKCS11],
|
|
} -- or HMAC [RFC2104, RFC2202])
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiBody.#ctor(System.Int32,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
Creates a new PkiBody.
|
|
@param type one of the TYPE_* constants
|
|
@param content message content
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiBody.ToAsn1Object">
|
|
<pre>
|
|
PkiBody ::= CHOICE { -- message-specific body elements
|
|
ir [0] CertReqMessages, --Initialization Request
|
|
ip [1] CertRepMessage, --Initialization Response
|
|
cr [2] CertReqMessages, --Certification Request
|
|
cp [3] CertRepMessage, --Certification Response
|
|
p10cr [4] CertificationRequest, --imported from [PKCS10]
|
|
popdecc [5] POPODecKeyChallContent, --pop Challenge
|
|
popdecr [6] POPODecKeyRespContent, --pop Response
|
|
kur [7] CertReqMessages, --Key Update Request
|
|
kup [8] CertRepMessage, --Key Update Response
|
|
krr [9] CertReqMessages, --Key Recovery Request
|
|
krp [10] KeyRecRepContent, --Key Recovery Response
|
|
rr [11] RevReqContent, --Revocation Request
|
|
rp [12] RevRepContent, --Revocation Response
|
|
ccr [13] CertReqMessages, --Cross-Cert. Request
|
|
ccp [14] CertRepMessage, --Cross-Cert. Response
|
|
ckuann [15] CAKeyUpdAnnContent, --CA Key Update Ann.
|
|
cann [16] CertAnnContent, --Certificate Ann.
|
|
rann [17] RevAnnContent, --Revocation Ann.
|
|
crlann [18] CRLAnnContent, --CRL Announcement
|
|
pkiconf [19] PKIConfirmContent, --Confirmation
|
|
nested [20] NestedMessageContent, --Nested Message
|
|
genm [21] GenMsgContent, --General Message
|
|
genp [22] GenRepContent, --General Response
|
|
error [23] ErrorMsgContent, --Error Message
|
|
certConf [24] CertConfirmContent, --Certificate confirm
|
|
pollReq [25] PollReqContent, --Polling request
|
|
pollRep [26] PollRepContent --Polling response
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiConfirmContent.ToAsn1Object">
|
|
<pre>
|
|
PkiConfirmContent ::= NULL
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cmp.PkiFailureInfo">
|
|
<pre>
|
|
PKIFailureInfo ::= BIT STRING {
|
|
badAlg (0),
|
|
-- unrecognized or unsupported Algorithm Identifier
|
|
badMessageCheck (1), -- integrity check failed (e.g., signature did not verify)
|
|
badRequest (2),
|
|
-- transaction not permitted or supported
|
|
badTime (3), -- messageTime was not sufficiently close to the system time, as defined by local policy
|
|
badCertId (4), -- no certificate could be found matching the provided criteria
|
|
badDataFormat (5),
|
|
-- the data submitted has the wrong format
|
|
wrongAuthority (6), -- the authority indicated in the request is different from the one creating the response token
|
|
incorrectData (7), -- the requester's data is incorrect (for notary services)
|
|
missingTimeStamp (8), -- when the timestamp is missing but should be there (by policy)
|
|
badPOP (9) -- the proof-of-possession failed
|
|
certRevoked (10),
|
|
certConfirmed (11),
|
|
wrongIntegrity (12),
|
|
badRecipientNonce (13),
|
|
timeNotAvailable (14),
|
|
-- the TSA's time source is not available
|
|
unacceptedPolicy (15),
|
|
-- the requested TSA policy is not supported by the TSA
|
|
unacceptedExtension (16),
|
|
-- the requested extension is not supported by the TSA
|
|
addInfoNotAvailable (17)
|
|
-- the additional information requested could not be understood
|
|
-- or is not available
|
|
badSenderNonce (18),
|
|
badCertTemplate (19),
|
|
signerNotTrusted (20),
|
|
transactionIdInUse (21),
|
|
unsupportedVersion (22),
|
|
notAuthorized (23),
|
|
systemUnavail (24),
|
|
systemFailure (25),
|
|
-- the request cannot be handled due to system failure
|
|
duplicateCertReq (26)
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiFailureInfo.#ctor(System.Int32)">
|
|
Basic constructor.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Cmp.PkiFreeText.Size">
|
|
Return the number of string elements present.
|
|
|
|
@return number of elements present.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Cmp.PkiFreeText.Item(System.Int32)">
|
|
Return the UTF8STRING at index.
|
|
|
|
@param index index of the string of interest
|
|
@return the string at index.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiFreeText.ToAsn1Object">
|
|
<pre>
|
|
PkiFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Cmp.PkiHeader.NULL_NAME">
|
|
Value for a "null" recipient or sender.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiHeader.ToAsn1Object">
|
|
<pre>
|
|
PkiHeader ::= SEQUENCE {
|
|
pvno INTEGER { cmp1999(1), cmp2000(2) },
|
|
sender GeneralName,
|
|
-- identifies the sender
|
|
recipient GeneralName,
|
|
-- identifies the intended recipient
|
|
messageTime [0] GeneralizedTime OPTIONAL,
|
|
-- time of production of this message (used when sender
|
|
-- believes that the transport will be "suitable"; i.e.,
|
|
-- that the time will still be meaningful upon receipt)
|
|
protectionAlg [1] AlgorithmIdentifier OPTIONAL,
|
|
-- algorithm used for calculation of protection bits
|
|
senderKID [2] KeyIdentifier OPTIONAL,
|
|
recipKID [3] KeyIdentifier OPTIONAL,
|
|
-- to identify specific keys used for protection
|
|
transactionID [4] OCTET STRING OPTIONAL,
|
|
-- identifies the transaction; i.e., this will be the same in
|
|
-- corresponding request, response, certConf, and PKIConf
|
|
-- messages
|
|
senderNonce [5] OCTET STRING OPTIONAL,
|
|
recipNonce [6] OCTET STRING OPTIONAL,
|
|
-- nonces used to provide replay protection, senderNonce
|
|
-- is inserted by the creator of this message; recipNonce
|
|
-- is a nonce previously inserted in a related message by
|
|
-- the intended recipient of this message
|
|
freeText [7] PKIFreeText OPTIONAL,
|
|
-- this may be used to indicate context-specific instructions
|
|
-- (this field is intended for human consumption)
|
|
generalInfo [8] SEQUENCE SIZE (1..MAX) OF
|
|
InfoTypeAndValue OPTIONAL
|
|
-- this may be used to convey context-specific information
|
|
-- (this field not primarily intended for human consumption)
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiHeaderBuilder.Build">
|
|
<pre>
|
|
PKIHeader ::= SEQUENCE {
|
|
pvno INTEGER { cmp1999(1), cmp2000(2) },
|
|
sender GeneralName,
|
|
-- identifies the sender
|
|
recipient GeneralName,
|
|
-- identifies the intended recipient
|
|
messageTime [0] GeneralizedTime OPTIONAL,
|
|
-- time of production of this message (used when sender
|
|
-- believes that the transport will be "suitable"; i.e.,
|
|
-- that the time will still be meaningful upon receipt)
|
|
protectionAlg [1] AlgorithmIdentifier OPTIONAL,
|
|
-- algorithm used for calculation of protection bits
|
|
senderKID [2] KeyIdentifier OPTIONAL,
|
|
recipKID [3] KeyIdentifier OPTIONAL,
|
|
-- to identify specific keys used for protection
|
|
transactionID [4] OCTET STRING OPTIONAL,
|
|
-- identifies the transaction; i.e., this will be the same in
|
|
-- corresponding request, response, certConf, and PKIConf
|
|
-- messages
|
|
senderNonce [5] OCTET STRING OPTIONAL,
|
|
recipNonce [6] OCTET STRING OPTIONAL,
|
|
-- nonces used to provide replay protection, senderNonce
|
|
-- is inserted by the creator of this message; recipNonce
|
|
-- is a nonce previously inserted in a related message by
|
|
-- the intended recipient of this message
|
|
freeText [7] PKIFreeText OPTIONAL,
|
|
-- this may be used to indicate context-specific instructions
|
|
-- (this field is intended for human consumption)
|
|
generalInfo [8] SEQUENCE SIZE (1..MAX) OF
|
|
InfoTypeAndValue OPTIONAL
|
|
-- this may be used to convey context-specific information
|
|
-- (this field not primarily intended for human consumption)
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiMessage.#ctor(Org.BouncyCastle.Asn1.Cmp.PkiHeader,Org.BouncyCastle.Asn1.Cmp.PkiBody,Org.BouncyCastle.Asn1.DerBitString,Org.BouncyCastle.Asn1.Cmp.CmpCertificate[])">
|
|
Creates a new PkiMessage.
|
|
|
|
@param header message header
|
|
@param body message body
|
|
@param protection message protection (may be null)
|
|
@param extraCerts extra certificates (may be null)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiMessage.ToAsn1Object">
|
|
<pre>
|
|
PkiMessage ::= SEQUENCE {
|
|
header PKIHeader,
|
|
body PKIBody,
|
|
protection [0] PKIProtection OPTIONAL,
|
|
extraCerts [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
|
|
OPTIONAL
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiMessages.ToAsn1Object">
|
|
<pre>
|
|
PkiMessages ::= SEQUENCE SIZE (1..MAX) OF PkiMessage
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiStatusInfo.#ctor(System.Int32)">
|
|
@param status
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiStatusInfo.#ctor(System.Int32,Org.BouncyCastle.Asn1.Cmp.PkiFreeText)">
|
|
@param status
|
|
@param statusString
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PkiStatusInfo.ToAsn1Object">
|
|
<pre>
|
|
PkiStatusInfo ::= SEQUENCE {
|
|
status PKIStatus, (INTEGER)
|
|
statusString PkiFreeText OPTIONAL,
|
|
failInfo PkiFailureInfo OPTIONAL (BIT STRING)
|
|
}
|
|
|
|
PKIStatus:
|
|
granted (0), -- you got exactly what you asked for
|
|
grantedWithMods (1), -- you got something like what you asked for
|
|
rejection (2), -- you don't get it, more information elsewhere in the message
|
|
waiting (3), -- the request body part has not yet been processed, expect to hear more later
|
|
revocationWarning (4), -- this message contains a warning that a revocation is imminent
|
|
revocationNotification (5), -- notification that a revocation has occurred
|
|
keyUpdateWarning (6) -- update already done for the oldCertId specified in CertReqMsg
|
|
|
|
PkiFailureInfo:
|
|
badAlg (0), -- unrecognized or unsupported Algorithm Identifier
|
|
badMessageCheck (1), -- integrity check failed (e.g., signature did not verify)
|
|
badRequest (2), -- transaction not permitted or supported
|
|
badTime (3), -- messageTime was not sufficiently close to the system time, as defined by local policy
|
|
badCertId (4), -- no certificate could be found matching the provided criteria
|
|
badDataFormat (5), -- the data submitted has the wrong format
|
|
wrongAuthority (6), -- the authority indicated in the request is different from the one creating the response token
|
|
incorrectData (7), -- the requester's data is incorrect (for notary services)
|
|
missingTimeStamp (8), -- when the timestamp is missing but should be there (by policy)
|
|
badPOP (9) -- the proof-of-possession failed
|
|
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PollRepContent.ToAsn1Object">
|
|
<pre>
|
|
PollRepContent ::= SEQUENCE OF SEQUENCE {
|
|
certReqId INTEGER,
|
|
checkAfter INTEGER, -- time in seconds
|
|
reason PKIFreeText OPTIONAL
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PollReqContent.ToAsn1Object">
|
|
<pre>
|
|
PollReqContent ::= SEQUENCE OF SEQUENCE {
|
|
certReqId INTEGER
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PopoDecKeyChallContent.ToAsn1Object">
|
|
<pre>
|
|
PopoDecKeyChallContent ::= SEQUENCE OF Challenge
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.PopoDecKeyRespContent.ToAsn1Object">
|
|
<pre>
|
|
PopoDecKeyRespContent ::= SEQUENCE OF INTEGER
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.ProtectedPart.ToAsn1Object">
|
|
<pre>
|
|
ProtectedPart ::= SEQUENCE {
|
|
header PKIHeader,
|
|
body PKIBody
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.RevAnnContent.ToAsn1Object">
|
|
<pre>
|
|
RevAnnContent ::= SEQUENCE {
|
|
status PKIStatus,
|
|
certId CertId,
|
|
willBeRevokedAt GeneralizedTime,
|
|
badSinceDate GeneralizedTime,
|
|
crlDetails Extensions OPTIONAL
|
|
-- extra CRL details (e.g., crl number, reason, location, etc.)
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.RevDetails.ToAsn1Object">
|
|
<pre>
|
|
RevDetails ::= SEQUENCE {
|
|
certDetails CertTemplate,
|
|
-- allows requester to specify as much as they can about
|
|
-- the cert. for which revocation is requested
|
|
-- (e.g., for cases in which serialNumber is not available)
|
|
crlEntryDetails Extensions OPTIONAL
|
|
-- requested crlEntryExtensions
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.RevRepContent.ToAsn1Object">
|
|
<pre>
|
|
RevRepContent ::= SEQUENCE {
|
|
status SEQUENCE SIZE (1..MAX) OF PKIStatusInfo,
|
|
-- in same order as was sent in RevReqContent
|
|
revCerts [0] SEQUENCE SIZE (1..MAX) OF CertId OPTIONAL,
|
|
-- IDs for which revocation was requested
|
|
-- (same order as status)
|
|
crls [1] SEQUENCE SIZE (1..MAX) OF CertificateList OPTIONAL
|
|
-- the resulting CRLs (there may be more than one)
|
|
}
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cmp.RevReqContent.ToAsn1Object">
|
|
<pre>
|
|
RevReqContent ::= SEQUENCE OF RevDetails
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Attribute.GetInstance(System.Object)">
|
|
return an Attribute object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Attribute.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Attribute ::= SEQUENCE {
|
|
attrType OBJECT IDENTIFIER,
|
|
attrValues SET OF AttributeValue
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Attributes.ToAsn1Object">
|
|
<pre>
|
|
Attributes ::=
|
|
SET SIZE(1..MAX) OF Attribute -- according to RFC 5652
|
|
</pre>
|
|
@return
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Cms.AttributeTable.Item(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
<summary>Return the first attribute matching the given OBJECT IDENTIFIER</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AttributeTable.GetAll(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
Return all the attributes matching the OBJECT IDENTIFIER oid. The vector will be
|
|
empty if there are no attributes of the required type present.
|
|
|
|
@param oid type of attribute required.
|
|
@return a vector of all the attributes found of type oid.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AttributeTable.Add(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
Return a new table with the passed in attribute added.
|
|
|
|
@param attrType
|
|
@param attrValue
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AuthenticatedData.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an AuthenticatedData object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param isExplicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@throws ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AuthenticatedData.GetInstance(System.Object)">
|
|
return an AuthenticatedData object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@throws ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AuthenticatedData.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AuthenticatedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
|
|
recipientInfos RecipientInfos,
|
|
macAlgorithm MessageAuthenticationCodeAlgorithm,
|
|
digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
|
|
encapContentInfo EncapsulatedContentInfo,
|
|
authAttrs [2] IMPLICIT AuthAttributes OPTIONAL,
|
|
mac MessageAuthenticationCode,
|
|
unauthAttrs [3] IMPLICIT UnauthAttributes OPTIONAL }
|
|
|
|
AuthAttributes ::= SET SIZE (1..MAX) OF Attribute
|
|
|
|
UnauthAttributes ::= SET SIZE (1..MAX) OF Attribute
|
|
|
|
MessageAuthenticationCode ::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.AuthenticatedDataParser">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AuthenticatedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
|
|
recipientInfos RecipientInfos,
|
|
macAlgorithm MessageAuthenticationCodeAlgorithm,
|
|
digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
|
|
encapContentInfo EncapsulatedContentInfo,
|
|
authAttrs [2] IMPLICIT AuthAttributes OPTIONAL,
|
|
mac MessageAuthenticationCode,
|
|
unauthAttrs [3] IMPLICIT UnauthAttributes OPTIONAL }
|
|
|
|
AuthAttributes ::= SET SIZE (1..MAX) OF Attribute
|
|
|
|
UnauthAttributes ::= SET SIZE (1..MAX) OF Attribute
|
|
|
|
MessageAuthenticationCode ::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AuthEnvelopedData.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an AuthEnvelopedData object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param isExplicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@throws ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AuthEnvelopedData.GetInstance(System.Object)">
|
|
return an AuthEnvelopedData object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@throws ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.AuthEnvelopedData.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AuthEnvelopedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
|
|
recipientInfos RecipientInfos,
|
|
authEncryptedContentInfo EncryptedContentInfo,
|
|
authAttrs [1] IMPLICIT AuthAttributes OPTIONAL,
|
|
mac MessageAuthenticationCode,
|
|
unauthAttrs [2] IMPLICIT UnauthAttributes OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.AuthEnvelopedDataParser">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
|
|
<pre>
|
|
AuthEnvelopedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
|
|
recipientInfos RecipientInfos,
|
|
authEncryptedContentInfo EncryptedContentInfo,
|
|
authAttrs [1] IMPLICIT AuthAttributes OPTIONAL,
|
|
mac MessageAuthenticationCode,
|
|
unauthAttrs [2] IMPLICIT UnauthAttributes OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Cms.CmsObjectIdentifiers.id_ri">
|
|
The other Revocation Info arc
|
|
id-ri OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
|
|
dod(6) internet(1) security(5) mechanisms(5) pkix(7) ri(16) }
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.CompressedData">
|
|
RFC 3274 - CMS Compressed Data.
|
|
<pre>
|
|
CompressedData ::= Sequence {
|
|
version CMSVersion,
|
|
compressionAlgorithm CompressionAlgorithmIdentifier,
|
|
encapContentInfo EncapsulatedContentInfo
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.CompressedData.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a CompressedData object from a tagged object.
|
|
|
|
@param ato the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.CompressedData.GetInstance(System.Object)">
|
|
return a CompressedData object from the given object.
|
|
|
|
@param _obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.CompressedDataParser">
|
|
RFC 3274 - CMS Compressed Data.
|
|
<pre>
|
|
CompressedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
compressionAlgorithm CompressionAlgorithmIdentifier,
|
|
encapContentInfo EncapsulatedContentInfo
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.ContentInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ContentInfo ::= Sequence {
|
|
contentType ContentType,
|
|
content
|
|
[0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.ContentInfoParser">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ContentInfo ::= SEQUENCE {
|
|
contentType ContentType,
|
|
content
|
|
[0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Ecc.MQVuserKeyingMaterial.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an AuthEnvelopedData object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param isExplicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@throws ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Ecc.MQVuserKeyingMaterial.GetInstance(System.Object)">
|
|
return an AuthEnvelopedData object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@throws ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Ecc.MQVuserKeyingMaterial.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
MQVuserKeyingMaterial ::= SEQUENCE {
|
|
ephemeralPublicKey OriginatorPublicKey,
|
|
addedukm [0] EXPLICIT UserKeyingMaterial OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.EncryptedContentInfo.GetInstance(System.Object)">
|
|
return an EncryptedContentInfo object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.EncryptedContentInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
EncryptedContentInfo ::= Sequence {
|
|
contentType ContentType,
|
|
contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
|
|
encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.EncryptedContentInfoParser">
|
|
<pre>
|
|
EncryptedContentInfo ::= SEQUENCE {
|
|
contentType ContentType,
|
|
contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
|
|
encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.EncryptedData.ToAsn1Object">
|
|
<pre>
|
|
EncryptedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
encryptedContentInfo EncryptedContentInfo,
|
|
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.EnvelopedData.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an EnvelopedData object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.EnvelopedData.GetInstance(System.Object)">
|
|
return an EnvelopedData object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.EnvelopedData.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
EnvelopedData ::= Sequence {
|
|
version CMSVersion,
|
|
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
|
|
recipientInfos RecipientInfos,
|
|
encryptedContentInfo EncryptedContentInfo,
|
|
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.EnvelopedDataParser">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
EnvelopedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
|
|
recipientInfos RecipientInfos,
|
|
encryptedContentInfo EncryptedContentInfo,
|
|
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KekIdentifier.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a KekIdentifier object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KekIdentifier.GetInstance(System.Object)">
|
|
return a KekIdentifier object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KekIdentifier.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
KekIdentifier ::= Sequence {
|
|
keyIdentifier OCTET STRING,
|
|
date GeneralizedTime OPTIONAL,
|
|
other OtherKeyAttribute OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KekRecipientInfo.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a KekRecipientInfo object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KekRecipientInfo.GetInstance(System.Object)">
|
|
return a KekRecipientInfo object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KekRecipientInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
KekRecipientInfo ::= Sequence {
|
|
version CMSVersion, -- always set to 4
|
|
kekID KekIdentifier,
|
|
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
|
|
encryptedKey EncryptedKey
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyAgreeRecipientIdentifier.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an KeyAgreeRecipientIdentifier object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param isExplicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyAgreeRecipientIdentifier.GetInstance(System.Object)">
|
|
return an KeyAgreeRecipientIdentifier object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyAgreeRecipientIdentifier.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
KeyAgreeRecipientIdentifier ::= CHOICE {
|
|
issuerAndSerialNumber IssuerAndSerialNumber,
|
|
rKeyId [0] IMPLICIT RecipientKeyIdentifier
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyAgreeRecipientInfo.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a KeyAgreeRecipientInfo object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyAgreeRecipientInfo.GetInstance(System.Object)">
|
|
return a KeyAgreeRecipientInfo object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyAgreeRecipientInfo.ToAsn1Object">
|
|
* Produce an object suitable for an Asn1OutputStream.
|
|
* <pre>
|
|
* KeyAgreeRecipientInfo ::= Sequence {
|
|
* version CMSVersion, -- always set to 3
|
|
* originator [0] EXPLICIT OriginatorIdentifierOrKey,
|
|
* ukm [1] EXPLICIT UserKeyingMaterial OPTIONAL,
|
|
* keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
|
|
* recipientEncryptedKeys RecipientEncryptedKeys
|
|
* }
|
|
*
|
|
* UserKeyingMaterial ::= OCTET STRING
|
|
* </pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyTransRecipientInfo.GetInstance(System.Object)">
|
|
return a KeyTransRecipientInfo object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.KeyTransRecipientInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
KeyTransRecipientInfo ::= Sequence {
|
|
version CMSVersion, -- always set to 0 or 2
|
|
rid RecipientIdentifier,
|
|
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
|
|
encryptedKey EncryptedKey
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.MetaData.ToAsn1Object">
|
|
<pre>
|
|
MetaData ::= SEQUENCE {
|
|
hashProtected BOOLEAN,
|
|
fileName UTF8String OPTIONAL,
|
|
mediaType IA5String OPTIONAL,
|
|
otherMetaData Attributes OPTIONAL
|
|
}
|
|
</pre>
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an OriginatorIdentifierOrKey object from a tagged object.
|
|
|
|
@param o the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey.GetInstance(System.Object)">
|
|
return an OriginatorIdentifierOrKey object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OriginatorIdentifierOrKey ::= CHOICE {
|
|
issuerAndSerialNumber IssuerAndSerialNumber,
|
|
subjectKeyIdentifier [0] SubjectKeyIdentifier,
|
|
originatorKey [1] OriginatorPublicKey
|
|
}
|
|
|
|
SubjectKeyIdentifier ::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorInfo.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an OriginatorInfo object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorInfo.GetInstance(System.Object)">
|
|
return an OriginatorInfo object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OriginatorInfo ::= Sequence {
|
|
certs [0] IMPLICIT CertificateSet OPTIONAL,
|
|
crls [1] IMPLICIT CertificateRevocationLists OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorPublicKey.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an OriginatorPublicKey object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorPublicKey.GetInstance(System.Object)">
|
|
return an OriginatorPublicKey object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OriginatorPublicKey.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OriginatorPublicKey ::= Sequence {
|
|
algorithm AlgorithmIdentifier,
|
|
publicKey BIT STRING
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherKeyAttribute.GetInstance(System.Object)">
|
|
return an OtherKeyAttribute object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherKeyAttribute.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OtherKeyAttribute ::= Sequence {
|
|
keyAttrId OBJECT IDENTIFIER,
|
|
keyAttr ANY DEFINED BY keyAttrId OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherRecipientInfo.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a OtherRecipientInfo object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherRecipientInfo.GetInstance(System.Object)">
|
|
return a OtherRecipientInfo object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherRecipientInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OtherRecipientInfo ::= Sequence {
|
|
oriType OBJECT IDENTIFIER,
|
|
oriValue ANY DEFINED BY oriType }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherRevocationInfoFormat.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a OtherRevocationInfoFormat object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception IllegalArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherRevocationInfoFormat.GetInstance(System.Object)">
|
|
return a OtherRevocationInfoFormat object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception IllegalArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.OtherRevocationInfoFormat.ToAsn1Object">
|
|
Produce an object suitable for an ASN1OutputStream.
|
|
<pre>
|
|
OtherRevocationInfoFormat ::= SEQUENCE {
|
|
otherRevInfoFormat OBJECT IDENTIFIER,
|
|
otherRevInfo ANY DEFINED BY otherRevInfoFormat }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.PasswordRecipientInfo.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a PasswordRecipientInfo object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.PasswordRecipientInfo.GetInstance(System.Object)">
|
|
return a PasswordRecipientInfo object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.PasswordRecipientInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
PasswordRecipientInfo ::= Sequence {
|
|
version CMSVersion, -- Always set to 0
|
|
keyDerivationAlgorithm [0] KeyDerivationAlgorithmIdentifier
|
|
OPTIONAL,
|
|
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
|
|
encryptedKey EncryptedKey }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientEncryptedKey.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an RecipientEncryptedKey object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want.
|
|
@param isExplicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientEncryptedKey.GetInstance(System.Object)">
|
|
return a RecipientEncryptedKey object from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientEncryptedKey.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
RecipientEncryptedKey ::= SEQUENCE {
|
|
rid KeyAgreeRecipientIdentifier,
|
|
encryptedKey EncryptedKey
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientIdentifier.GetInstance(System.Object)">
|
|
return a RecipientIdentifier object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientIdentifier.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
RecipientIdentifier ::= CHOICE {
|
|
issuerAndSerialNumber IssuerAndSerialNumber,
|
|
subjectKeyIdentifier [0] SubjectKeyIdentifier
|
|
}
|
|
|
|
SubjectKeyIdentifier ::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
RecipientInfo ::= CHOICE {
|
|
ktri KeyTransRecipientInfo,
|
|
kari [1] KeyAgreeRecipientInfo,
|
|
kekri [2] KekRecipientInfo,
|
|
pwri [3] PasswordRecipientInfo,
|
|
ori [4] OtherRecipientInfo }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a RecipientKeyIdentifier object from a tagged object.
|
|
|
|
@param _ato the tagged object holding the object we want.
|
|
@param _explicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the object held by the
|
|
tagged object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier.GetInstance(System.Object)">
|
|
return a RecipientKeyIdentifier object from the given object.
|
|
|
|
@param _obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
RecipientKeyIdentifier ::= Sequence {
|
|
subjectKeyIdentifier SubjectKeyIdentifier,
|
|
date GeneralizedTime OPTIONAL,
|
|
other OtherKeyAttribute OPTIONAL
|
|
}
|
|
|
|
SubjectKeyIdentifier ::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.ScvpReqRes.ToAsn1Object">
|
|
<pre>
|
|
ScvpReqRes ::= SEQUENCE {
|
|
request [0] EXPLICIT ContentInfo OPTIONAL,
|
|
response ContentInfo }
|
|
</pre>
|
|
@return the ASN.1 primitive representation.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.SignedData">
|
|
a signed data object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.SignedData.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SignedData ::= Sequence {
|
|
version CMSVersion,
|
|
digestAlgorithms DigestAlgorithmIdentifiers,
|
|
encapContentInfo EncapsulatedContentInfo,
|
|
certificates [0] IMPLICIT CertificateSet OPTIONAL,
|
|
crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
|
|
signerInfos SignerInfos
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Cms.SignedDataParser">
|
|
<pre>
|
|
SignedData ::= SEQUENCE {
|
|
version CMSVersion,
|
|
digestAlgorithms DigestAlgorithmIdentifiers,
|
|
encapContentInfo EncapsulatedContentInfo,
|
|
certificates [0] IMPLICIT CertificateSet OPTIONAL,
|
|
crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
|
|
signerInfos SignerInfos
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.SignerIdentifier.GetInstance(System.Object)">
|
|
return a SignerIdentifier object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.SignerIdentifier.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SignerIdentifier ::= CHOICE {
|
|
issuerAndSerialNumber IssuerAndSerialNumber,
|
|
subjectKeyIdentifier [0] SubjectKeyIdentifier
|
|
}
|
|
|
|
SubjectKeyIdentifier ::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.SignerInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SignerInfo ::= Sequence {
|
|
version Version,
|
|
SignerIdentifier sid,
|
|
digestAlgorithm DigestAlgorithmIdentifier,
|
|
authenticatedAttributes [0] IMPLICIT Attributes OPTIONAL,
|
|
digestEncryptionAlgorithm DigestEncryptionAlgorithmIdentifier,
|
|
encryptedDigest EncryptedDigest,
|
|
unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL
|
|
}
|
|
|
|
EncryptedDigest ::= OCTET STRING
|
|
|
|
DigestAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
|
|
DigestEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Time.#ctor(System.DateTime)">
|
|
creates a time object from a given date - if the date is between 1950
|
|
and 2049 a UTCTime object is Generated, otherwise a GeneralizedTime
|
|
is used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.Time.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Time ::= CHOICE {
|
|
utcTime UTCTime,
|
|
generalTime GeneralizedTime }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.TimeStampAndCrl.ToAsn1Object">
|
|
<pre>
|
|
TimeStampAndCRL ::= SEQUENCE {
|
|
timeStamp TimeStampToken, -- according to RFC 3161
|
|
crl CertificateList OPTIONAL -- according to RFC 5280
|
|
}
|
|
</pre>
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.TimeStampedData.ToAsn1Object">
|
|
<pre>
|
|
TimeStampedData ::= SEQUENCE {
|
|
version INTEGER { v1(1) },
|
|
dataUri IA5String OPTIONAL,
|
|
metaData MetaData OPTIONAL,
|
|
content OCTET STRING OPTIONAL,
|
|
temporalEvidence Evidence
|
|
}
|
|
</pre>
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Cms.TimeStampTokenEvidence.ToAsn1Object">
|
|
<pre>
|
|
TimeStampTokenEvidence ::=
|
|
SEQUENCE SIZE(1..MAX) OF TimeStampAndCrl
|
|
</pre>
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.AttributeTypeAndValue.ToAsn1Object">
|
|
<pre>
|
|
AttributeTypeAndValue ::= SEQUENCE {
|
|
type OBJECT IDENTIFIER,
|
|
value ANY DEFINED BY type }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertId.ToAsn1Object">
|
|
<pre>
|
|
CertId ::= SEQUENCE {
|
|
issuer GeneralName,
|
|
serialNumber INTEGER }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertReqMessages.ToAsn1Object">
|
|
<pre>
|
|
CertReqMessages ::= SEQUENCE SIZE (1..MAX) OF CertReqMsg
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertReqMsg.#ctor(Org.BouncyCastle.Asn1.Crmf.CertRequest,Org.BouncyCastle.Asn1.Crmf.ProofOfPossession,Org.BouncyCastle.Asn1.Crmf.AttributeTypeAndValue[])">
|
|
Creates a new CertReqMsg.
|
|
@param certReq CertRequest
|
|
@param popo may be null
|
|
@param regInfo may be null
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertReqMsg.ToAsn1Object">
|
|
<pre>
|
|
CertReqMsg ::= SEQUENCE {
|
|
certReq CertRequest,
|
|
pop ProofOfPossession OPTIONAL,
|
|
-- content depends upon key type
|
|
regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertRequest.ToAsn1Object">
|
|
<pre>
|
|
CertRequest ::= SEQUENCE {
|
|
certReqId INTEGER, -- ID for matching request and reply
|
|
certTemplate CertTemplate, -- Selected fields of cert to be issued
|
|
controls Controls OPTIONAL } -- Attributes affecting issuance
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertTemplate.ToAsn1Object">
|
|
<pre>
|
|
CertTemplate ::= SEQUENCE {
|
|
version [0] Version OPTIONAL,
|
|
serialNumber [1] INTEGER OPTIONAL,
|
|
signingAlg [2] AlgorithmIdentifier OPTIONAL,
|
|
issuer [3] Name OPTIONAL,
|
|
validity [4] OptionalValidity OPTIONAL,
|
|
subject [5] Name OPTIONAL,
|
|
publicKey [6] SubjectPublicKeyInfo OPTIONAL,
|
|
issuerUID [7] UniqueIdentifier OPTIONAL,
|
|
subjectUID [8] UniqueIdentifier OPTIONAL,
|
|
extensions [9] Extensions OPTIONAL }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertTemplateBuilder.SetVersion(System.Int32)">
|
|
Sets the X.509 version. Note: for X509v3, use 2 here.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertTemplateBuilder.SetIssuerUID(Org.BouncyCastle.Asn1.DerBitString)">
|
|
Sets the issuer unique ID (deprecated in X.509v3)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertTemplateBuilder.SetSubjectUID(Org.BouncyCastle.Asn1.DerBitString)">
|
|
Sets the subject unique ID (deprecated in X.509v3)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.CertTemplateBuilder.Build">
|
|
<pre>
|
|
CertTemplate ::= SEQUENCE {
|
|
version [0] Version OPTIONAL,
|
|
serialNumber [1] INTEGER OPTIONAL,
|
|
signingAlg [2] AlgorithmIdentifier OPTIONAL,
|
|
issuer [3] Name OPTIONAL,
|
|
validity [4] OptionalValidity OPTIONAL,
|
|
subject [5] Name OPTIONAL,
|
|
publicKey [6] SubjectPublicKeyInfo OPTIONAL,
|
|
issuerUID [7] UniqueIdentifier OPTIONAL,
|
|
subjectUID [8] UniqueIdentifier OPTIONAL,
|
|
extensions [9] Extensions OPTIONAL }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.Controls.ToAsn1Object">
|
|
<pre>
|
|
Controls ::= SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.EncKeyWithID.ToAsn1Object">
|
|
<pre>
|
|
EncKeyWithID ::= SEQUENCE {
|
|
privateKey PrivateKeyInfo,
|
|
identifier CHOICE {
|
|
string UTF8String,
|
|
generalName GeneralName
|
|
} OPTIONAL
|
|
}
|
|
</pre>
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.EncryptedKey.ToAsn1Object">
|
|
<pre>
|
|
EncryptedKey ::= CHOICE {
|
|
encryptedValue EncryptedValue, -- deprecated
|
|
envelopedData [0] EnvelopedData }
|
|
-- The encrypted private key MUST be placed in the envelopedData
|
|
-- encryptedContentInfo encryptedContent OCTET STRING.
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.EncryptedValue.ToAsn1Object">
|
|
<pre>
|
|
EncryptedValue ::= SEQUENCE {
|
|
intendedAlg [0] AlgorithmIdentifier OPTIONAL,
|
|
-- the intended algorithm for which the value will be used
|
|
symmAlg [1] AlgorithmIdentifier OPTIONAL,
|
|
-- the symmetric algorithm used to encrypt the value
|
|
encSymmKey [2] BIT STRING OPTIONAL,
|
|
-- the (encrypted) symmetric key used to encrypt the value
|
|
keyAlg [3] AlgorithmIdentifier OPTIONAL,
|
|
-- algorithm used to encrypt the symmetric key
|
|
valueHint [4] OCTET STRING OPTIONAL,
|
|
-- a brief description or identifier of the encValue content
|
|
-- (may be meaningful only to the sending entity, and used only
|
|
-- if EncryptedValue might be re-examined by the sending entity
|
|
-- in the future)
|
|
encValue BIT STRING }
|
|
-- the encrypted value itself
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.OptionalValidity.ToAsn1Object">
|
|
<pre>
|
|
OptionalValidity ::= SEQUENCE {
|
|
notBefore [0] Time OPTIONAL,
|
|
notAfter [1] Time OPTIONAL } --at least one MUST be present
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PkiArchiveOptions.ToAsn1Object">
|
|
<pre>
|
|
PkiArchiveOptions ::= CHOICE {
|
|
encryptedPrivKey [0] EncryptedKey,
|
|
-- the actual value of the private key
|
|
keyGenParameters [1] KeyGenParameters,
|
|
-- parameters which allow the private key to be re-generated
|
|
archiveRemGenPrivKey [2] BOOLEAN }
|
|
-- set to TRUE if sender wishes receiver to archive the private
|
|
-- key of a key pair that the receiver generates in response to
|
|
-- this request; set to FALSE if no archival is desired.
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PkiPublicationInfo.ToAsn1Object">
|
|
<pre>
|
|
PkiPublicationInfo ::= SEQUENCE {
|
|
action INTEGER {
|
|
dontPublish (0),
|
|
pleasePublish (1) },
|
|
pubInfos SEQUENCE SIZE (1..MAX) OF SinglePubInfo OPTIONAL }
|
|
-- pubInfos MUST NOT be present if action is "dontPublish"
|
|
-- (if action is "pleasePublish" and pubInfos is omitted,
|
|
-- "dontCare" is assumed)
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Crmf.PKMacValue">
|
|
Password-based MAC value for use with POPOSigningKeyInput.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PKMacValue.#ctor(Org.BouncyCastle.Asn1.Cmp.PbmParameter,Org.BouncyCastle.Asn1.DerBitString)">
|
|
Creates a new PKMACValue.
|
|
@param params parameters for password-based MAC
|
|
@param value MAC of the DER-encoded SubjectPublicKeyInfo
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PKMacValue.#ctor(Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,Org.BouncyCastle.Asn1.DerBitString)">
|
|
Creates a new PKMACValue.
|
|
@param aid CMPObjectIdentifiers.passwordBasedMAC, with PBMParameter
|
|
@param value MAC of the DER-encoded SubjectPublicKeyInfo
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PKMacValue.ToAsn1Object">
|
|
<pre>
|
|
PKMACValue ::= SEQUENCE {
|
|
algId AlgorithmIdentifier,
|
|
-- algorithm value shall be PasswordBasedMac 1.2.840.113533.7.66.13
|
|
-- parameter value is PBMParameter
|
|
value BIT STRING }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PopoPrivKey.ToAsn1Object">
|
|
<pre>
|
|
PopoPrivKey ::= CHOICE {
|
|
thisMessage [0] BIT STRING, -- Deprecated
|
|
-- possession is proven in this message (which contains the private
|
|
-- key itself (encrypted for the CA))
|
|
subsequentMessage [1] SubsequentMessage,
|
|
-- possession will be proven in a subsequent message
|
|
dhMAC [2] BIT STRING, -- Deprecated
|
|
agreeMAC [3] PKMACValue,
|
|
encryptedKey [4] EnvelopedData }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PopoSigningKey.#ctor(Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput,Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,Org.BouncyCastle.Asn1.DerBitString)">
|
|
Creates a new Proof of Possession object for a signing key.
|
|
@param poposkIn the PopoSigningKeyInput structure, or null if the
|
|
CertTemplate includes both subject and publicKey values.
|
|
@param aid the AlgorithmIdentifier used to sign the proof of possession.
|
|
@param signature a signature over the DER-encoded value of poposkIn,
|
|
or the DER-encoded value of certReq if poposkIn is null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PopoSigningKey.ToAsn1Object">
|
|
<pre>
|
|
PopoSigningKey ::= SEQUENCE {
|
|
poposkInput [0] PopoSigningKeyInput OPTIONAL,
|
|
algorithmIdentifier AlgorithmIdentifier,
|
|
signature BIT STRING }
|
|
-- The signature (using "algorithmIdentifier") is on the
|
|
-- DER-encoded value of poposkInput. NOTE: If the CertReqMsg
|
|
-- certReq CertTemplate contains the subject and publicKey values,
|
|
-- then poposkInput MUST be omitted and the signature MUST be
|
|
-- computed on the DER-encoded value of CertReqMsg certReq. If
|
|
-- the CertReqMsg certReq CertTemplate does not contain the public
|
|
-- key and subject values, then poposkInput MUST be present and
|
|
-- MUST be signed. This strategy ensures that the public key is
|
|
-- not present in both the poposkInput and CertReqMsg certReq
|
|
-- CertTemplate fields.
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput.#ctor(Org.BouncyCastle.Asn1.X509.GeneralName,Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)">
|
|
Creates a new PopoSigningKeyInput with sender name as authInfo.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput.#ctor(Org.BouncyCastle.Asn1.Crmf.PKMacValue,Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)">
|
|
Creates a new PopoSigningKeyInput using password-based MAC.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput.Sender">
|
|
Returns the sender field, or null if authInfo is publicKeyMac
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput.PublicKeyMac">
|
|
Returns the publicKeyMac field, or null if authInfo is sender
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput.ToAsn1Object">
|
|
<pre>
|
|
PopoSigningKeyInput ::= SEQUENCE {
|
|
authInfo CHOICE {
|
|
sender [0] GeneralName,
|
|
-- used only if an authenticated identity has been
|
|
-- established for the sender (e.g., a DN from a
|
|
-- previously-issued and currently-valid certificate
|
|
publicKeyMac PKMacValue },
|
|
-- used if no authenticated GeneralName currently exists for
|
|
-- the sender; publicKeyMac contains a password-based MAC
|
|
-- on the DER-encoded value of publicKey
|
|
publicKey SubjectPublicKeyInfo } -- from CertTemplate
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.ProofOfPossession.#ctor">
|
|
Creates a ProofOfPossession with type raVerified.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.ProofOfPossession.#ctor(Org.BouncyCastle.Asn1.Crmf.PopoSigningKey)">
|
|
Creates a ProofOfPossession for a signing key.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.ProofOfPossession.#ctor(System.Int32,Org.BouncyCastle.Asn1.Crmf.PopoPrivKey)">
|
|
Creates a ProofOfPossession for key encipherment or agreement.
|
|
@param type one of TYPE_KEY_ENCIPHERMENT or TYPE_KEY_AGREEMENT
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.ProofOfPossession.ToAsn1Object">
|
|
<pre>
|
|
ProofOfPossession ::= CHOICE {
|
|
raVerified [0] NULL,
|
|
-- used if the RA has already verified that the requester is in
|
|
-- possession of the private key
|
|
signature [1] PopoSigningKey,
|
|
keyEncipherment [2] PopoPrivKey,
|
|
keyAgreement [3] PopoPrivKey }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Crmf.SinglePubInfo.ToAsn1Object">
|
|
<pre>
|
|
SinglePubInfo ::= SEQUENCE {
|
|
pubMethod INTEGER {
|
|
dontCare (0),
|
|
x500 (1),
|
|
web (2),
|
|
ldap (3) },
|
|
pubLocation GeneralName OPTIONAL }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.CryptoPro.ECGost3410NamedCurves">
|
|
<summary>
|
|
Table of the available named parameters for GOST 3410-2001 / 2012.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.CryptoPro.ECGost3410NamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the ECDomainParameters object for the given OID, null if it
|
|
isn't present.
|
|
|
|
@param oid an object identifier representing a named parameters, if present.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.CryptoPro.ECGost3410NamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.CryptoPro.ECGost3410NamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.CryptoPro.Gost28147Parameters.ToAsn1Object">
|
|
<pre>
|
|
Gost28147-89-Parameters ::=
|
|
SEQUENCE {
|
|
iv Gost28147-89-IV,
|
|
encryptionParamSet OBJECT IDENTIFIER
|
|
}
|
|
|
|
Gost28147-89-IV ::= OCTET STRING (SIZE (8))
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.CryptoPro.Gost3410NamedParameters">
|
|
table of the available named parameters for GOST 3410-94.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.CryptoPro.Gost3410NamedParameters.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the GOST3410ParamSetParameters object for the given OID, null if it
|
|
isn't present.
|
|
|
|
@param oid an object identifier representing a named parameters, if present.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.CryptoPro.Gost3410NamedParameters.Names">
|
|
returns an enumeration containing the name strings for parameters
|
|
contained in this structure.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerApplicationSpecific">
|
|
Base class for an application specific object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerApplicationSpecific.GetObject">
|
|
Return the enclosed object assuming explicit tagging.
|
|
|
|
@return the resulting object
|
|
@throws IOException if reconstruction fails.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerApplicationSpecific.GetObject(System.Int32)">
|
|
Return the enclosed object assuming implicit tagging.
|
|
|
|
@param derTagNo the type tag that should be applied to the object's contents.
|
|
@return the resulting object
|
|
@throws IOException if reconstruction fails.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBitString.GetInstance(System.Object)">
|
|
return a Bit string from the passed in object
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBitString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Bit string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBitString.#ctor(System.Byte[],System.Int32)">
|
|
@param data the octets making up the bit string.
|
|
@param padBits the number of extra bits at the end of the string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBitString.GetOctets">
|
|
Return the octets contained in this BIT STRING, checking that this BIT STRING really
|
|
does represent an octet aligned string. Only use this method when the standard you are
|
|
following dictates that the BIT STRING will be octet aligned.
|
|
|
|
@return a copy of the octet aligned data.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.DerBitString.IntValue">
|
|
@return the value of the bit string as an int (truncating if necessary)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerBmpString">
|
|
Der BMPString object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBmpString.GetInstance(System.Object)">
|
|
return a BMP string from the given object.
|
|
|
|
@param obj the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBmpString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a BMP string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBmpString.#ctor(System.Byte[])">
|
|
basic constructor - byte encoded string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBmpString.#ctor(System.String)">
|
|
basic constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBoolean.GetInstance(System.Object)">
|
|
return a bool from the passed in object.
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBoolean.GetInstance(System.Boolean)">
|
|
return a DerBoolean from the passed in bool.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerBoolean.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Boolean from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerEnumerated.GetInstance(System.Object)">
|
|
return an integer from the passed in object
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerEnumerated.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an Enumerated from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerExternal">
|
|
Class representing the DER-type External
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerExternal.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.DerInteger,Org.BouncyCastle.Asn1.Asn1Object,Org.BouncyCastle.Asn1.DerTaggedObject)">
|
|
Creates a new instance of DerExternal
|
|
See X.690 for more informations about the meaning of these parameters
|
|
@param directReference The direct reference or <code>null</code> if not set.
|
|
@param indirectReference The indirect reference or <code>null</code> if not set.
|
|
@param dataValueDescriptor The data value descriptor or <code>null</code> if not set.
|
|
@param externalData The external data in its encoded form.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerExternal.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.DerInteger,Org.BouncyCastle.Asn1.Asn1Object,System.Int32,Org.BouncyCastle.Asn1.Asn1Object)">
|
|
Creates a new instance of DerExternal.
|
|
See X.690 for more informations about the meaning of these parameters
|
|
@param directReference The direct reference or <code>null</code> if not set.
|
|
@param indirectReference The indirect reference or <code>null</code> if not set.
|
|
@param dataValueDescriptor The data value descriptor or <code>null</code> if not set.
|
|
@param encoding The encoding to be used for the external data
|
|
@param externalData The external data
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.DerExternal.Encoding">
|
|
The encoding of the content. Valid values are
|
|
<ul>
|
|
<li><code>0</code> single-ASN1-type</li>
|
|
<li><code>1</code> OCTET STRING</li>
|
|
<li><code>2</code> BIT STRING</li>
|
|
</ul>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerGeneralizedTime">
|
|
Generalized time object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGeneralizedTime.GetInstance(System.Object)">
|
|
return a generalized time from the passed in object
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGeneralizedTime.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Generalized Time object from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGeneralizedTime.#ctor(System.String)">
|
|
The correct format for this is YYYYMMDDHHMMSS[.f]Z, or without the Z
|
|
for local time, or Z+-HHMM on the end, for difference between local
|
|
time and UTC time. The fractional second amount f must consist of at
|
|
least one number with trailing zeroes removed.
|
|
|
|
@param time the time string.
|
|
@exception ArgumentException if string is an illegal format.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGeneralizedTime.#ctor(System.DateTime)">
|
|
base constructor from a local time object
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.DerGeneralizedTime.TimeString">
|
|
Return the time.
|
|
@return The time string as it appeared in the encoded object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGeneralizedTime.GetTime">
|
|
return the time - always in the form of
|
|
YYYYMMDDhhmmssGMT(+hh:mm|-hh:mm).
|
|
<p>
|
|
Normally in a certificate we would expect "Z" rather than "GMT",
|
|
however adding the "GMT" means we can just use:
|
|
<pre>
|
|
dateF = new SimpleDateFormat("yyyyMMddHHmmssz");
|
|
</pre>
|
|
To read in the time and Get a date which is compatible with our local
|
|
time zone.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGraphicString.GetInstance(System.Object)">
|
|
return a Graphic String from the passed in object
|
|
|
|
@param obj a DerGraphicString or an object that can be converted into one.
|
|
@exception IllegalArgumentException if the object cannot be converted.
|
|
@return a DerGraphicString instance, or null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGraphicString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Graphic String from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception IllegalArgumentException if the tagged object cannot
|
|
be converted.
|
|
@return a DerGraphicString instance, or null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerGraphicString.#ctor(System.Byte[])">
|
|
basic constructor - with bytes.
|
|
@param string the byte encoding of the characters making up the string.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerIA5String">
|
|
Der IA5String object - this is an ascii string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerIA5String.GetInstance(System.Object)">
|
|
return a IA5 string from the passed in object
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerIA5String.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an IA5 string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerIA5String.#ctor(System.Byte[])">
|
|
basic constructor - with bytes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerIA5String.#ctor(System.String)">
|
|
basic constructor - without validation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerIA5String.#ctor(System.String,System.Boolean)">
|
|
Constructor with optional validation.
|
|
|
|
@param string the base string to wrap.
|
|
@param validate whether or not to check the string.
|
|
@throws ArgumentException if validate is true and the string
|
|
contains characters that should not be in an IA5String.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerIA5String.IsIA5String(System.String)">
|
|
return true if the passed in String can be represented without
|
|
loss as an IA5String, false otherwise.
|
|
|
|
@return true if in printable set, false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerInteger.GetInstance(System.Object)">
|
|
return an integer from the passed in object
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerInteger.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an Integer from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param isExplicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.DerInteger.PositiveValue">
|
|
in some cases positive values Get crammed into a space,
|
|
that's not quite big enough...
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerInteger.IsMalformed(System.Byte[])">
|
|
Apply the correct validation for an INTEGER primitive following the BER rules.
|
|
|
|
@param bytes The raw encoding of the integer.
|
|
@return true if the (in)put fails this validation.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerNull">
|
|
A Null object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerNumericString">
|
|
Der NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerNumericString.GetInstance(System.Object)">
|
|
return a Numeric string from the passed in object
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerNumericString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an Numeric string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerNumericString.#ctor(System.Byte[])">
|
|
basic constructor - with bytes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerNumericString.#ctor(System.String)">
|
|
basic constructor - without validation..
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerNumericString.#ctor(System.String,System.Boolean)">
|
|
Constructor with optional validation.
|
|
|
|
@param string the base string to wrap.
|
|
@param validate whether or not to check the string.
|
|
@throws ArgumentException if validate is true and the string
|
|
contains characters that should not be in a NumericString.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerNumericString.IsNumericString(System.String)">
|
|
Return true if the string can be represented as a NumericString ('0'..'9', ' ')
|
|
|
|
@param str string to validate.
|
|
@return true if numeric, fale otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerObjectIdentifier.GetInstance(System.Object)">
|
|
return an Oid from the passed in object
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerObjectIdentifier.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an object Identifier from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerObjectIdentifier.On(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
Return true if this oid is an extension of the passed in branch, stem.
|
|
@param stem the arc or branch that is a possible parent.
|
|
@return true if the branch is on the passed in stem, false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerOctetString.#ctor(System.Byte[])">
|
|
<param name="str">The octets making up the octet string.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerPrintableString">
|
|
Der PrintableString object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerPrintableString.GetInstance(System.Object)">
|
|
return a printable string from the passed in object.
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerPrintableString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Printable string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerPrintableString.#ctor(System.Byte[])">
|
|
basic constructor - byte encoded string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerPrintableString.#ctor(System.String)">
|
|
basic constructor - this does not validate the string
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerPrintableString.#ctor(System.String,System.Boolean)">
|
|
Constructor with optional validation.
|
|
|
|
@param string the base string to wrap.
|
|
@param validate whether or not to check the string.
|
|
@throws ArgumentException if validate is true and the string
|
|
contains characters that should not be in a PrintableString.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerPrintableString.IsPrintableString(System.String)">
|
|
return true if the passed in String can be represented without
|
|
loss as a PrintableString, false otherwise.
|
|
|
|
@return true if in printable set, false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerSequence.#ctor">
|
|
create an empty sequence
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerSequence.#ctor(Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
create a sequence containing one object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerSequence.#ctor(Org.BouncyCastle.Asn1.Asn1EncodableVector)">
|
|
create a sequence containing a vector of objects.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerSet">
|
|
A Der encoded set object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerSet.#ctor">
|
|
create an empty set
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerSet.#ctor(Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param obj - a single object that makes up the set.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerSet.#ctor(Org.BouncyCastle.Asn1.Asn1EncodableVector)">
|
|
@param v - a vector of objects making up the set.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerT61String">
|
|
Der T61String (also the teletex string) - 8-bit characters
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerT61String.GetInstance(System.Object)">
|
|
return a T61 string from the passed in object.
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerT61String.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an T61 string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerT61String.#ctor(System.Byte[])">
|
|
basic constructor - with bytes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerT61String.#ctor(System.String)">
|
|
basic constructor - with string.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerTaggedObject">
|
|
DER TaggedObject - in ASN.1 notation this is any object preceded by
|
|
a [n] where n is some number - these are assumed to follow the construction
|
|
rules (as with sequences).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerTaggedObject.#ctor(System.Int32,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param tagNo the tag number for this object.
|
|
@param obj the tagged object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerTaggedObject.#ctor(System.Boolean,System.Int32,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param explicitly true if an explicitly tagged object.
|
|
@param tagNo the tag number for this object.
|
|
@param obj the tagged object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerTaggedObject.#ctor(System.Int32)">
|
|
create an implicitly tagged object that contains a zero
|
|
length sequence.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerUniversalString">
|
|
Der UniversalString object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUniversalString.GetInstance(System.Object)">
|
|
return a Universal string from the passed in object.
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUniversalString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Universal string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUniversalString.#ctor(System.Byte[])">
|
|
basic constructor - byte encoded string.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerUtcTime">
|
|
UTC time object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtcTime.GetInstance(System.Object)">
|
|
return an UTC Time from the passed in object.
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtcTime.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an UTC Time from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtcTime.#ctor(System.String)">
|
|
The correct format for this is YYMMDDHHMMSSZ (it used to be that seconds were
|
|
never encoded. When you're creating one of these objects from scratch, that's
|
|
what you want to use, otherwise we'll try to deal with whatever Gets read from
|
|
the input stream... (this is why the input format is different from the GetTime()
|
|
method output).
|
|
<p>
|
|
@param time the time string.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtcTime.#ctor(System.DateTime)">
|
|
base constructor from a DateTime object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtcTime.ToDateTime">
|
|
return the time as a date based on whatever a 2 digit year will return. For
|
|
standardised processing use ToAdjustedDateTime().
|
|
|
|
@return the resulting date
|
|
@exception ParseException if the date string cannot be parsed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtcTime.ToAdjustedDateTime">
|
|
return the time as an adjusted date
|
|
in the range of 1950 - 2049.
|
|
|
|
@return a date in the range of 1950 to 2049.
|
|
@exception ParseException if the date string cannot be parsed.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.DerUtcTime.TimeString">
|
|
return the time - always in the form of
|
|
YYMMDDhhmmssGMT(+hh:mm|-hh:mm).
|
|
<p>
|
|
Normally in a certificate we would expect "Z" rather than "GMT",
|
|
however adding the "GMT" means we can just use:
|
|
<pre>
|
|
dateF = new SimpleDateFormat("yyMMddHHmmssz");
|
|
</pre>
|
|
To read in the time and Get a date which is compatible with our local
|
|
time zone.</p>
|
|
<p>
|
|
<b>Note:</b> In some cases, due to the local date processing, this
|
|
may lead to unexpected results. If you want to stick the normal
|
|
convention of 1950 to 2049 use the GetAdjustedTime() method.</p>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.DerUtcTime.AdjustedTimeString">
|
|
<summary>
|
|
Return a time string as an adjusted date with a 4 digit year.
|
|
This goes in the range of 1950 - 2049.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerUtf8String">
|
|
Der UTF8String object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtf8String.GetInstance(System.Object)">
|
|
return an UTF8 string from the passed in object.
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtf8String.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return an UTF8 string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtf8String.#ctor(System.Byte[])">
|
|
basic constructor - byte encoded string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerUtf8String.#ctor(System.String)">
|
|
basic constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerVideotexString.GetInstance(System.Object)">
|
|
return a Videotex String from the passed in object
|
|
|
|
@param obj a DERVideotexString or an object that can be converted into one.
|
|
@exception IllegalArgumentException if the object cannot be converted.
|
|
@return a DERVideotexString instance, or null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerVideotexString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Videotex String from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicit true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception IllegalArgumentException if the tagged object cannot
|
|
be converted.
|
|
@return a DERVideotexString instance, or null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerVideotexString.#ctor(System.Byte[])">
|
|
basic constructor - with bytes.
|
|
@param string the byte encoding of the characters making up the string.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.DerVisibleString">
|
|
Der VisibleString object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerVisibleString.GetInstance(System.Object)">
|
|
return a Visible string from the passed in object.
|
|
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerVisibleString.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
return a Visible string from a tagged object.
|
|
|
|
@param obj the tagged object holding the object we want
|
|
@param explicitly true if the object is meant to be explicitly
|
|
tagged false otherwise.
|
|
@exception ArgumentException if the tagged object cannot
|
|
be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerVisibleString.#ctor(System.Byte[])">
|
|
basic constructor - byte encoded string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.DerVisibleString.#ctor(System.String)">
|
|
basic constructor
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.EdEC.EdECObjectIdentifiers">
|
|
Edwards Elliptic Curve Object Identifiers (RFC 8410)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CertificateValues">
|
|
<remarks>
|
|
RFC 3126: 4.3.1 Certificate Values Attribute Definition
|
|
<code>
|
|
CertificateValues ::= SEQUENCE OF Certificate
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Esf.CommitmentTypeIndication.ToAsn1Object">
|
|
<pre>
|
|
CommitmentTypeIndication ::= SEQUENCE {
|
|
commitmentTypeId CommitmentTypeIdentifier,
|
|
commitmentTypeQualifier SEQUENCE SIZE (1..MAX) OF
|
|
CommitmentTypeQualifier OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CommitmentTypeQualifier">
|
|
Commitment type qualifiers, used in the Commitment-Type-Indication attribute (RFC3126).
|
|
|
|
<pre>
|
|
CommitmentTypeQualifier ::= SEQUENCE {
|
|
commitmentTypeIdentifier CommitmentTypeIdentifier,
|
|
qualifier ANY DEFINED BY commitmentTypeIdentifier OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Esf.CommitmentTypeQualifier.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
Creates a new <code>CommitmentTypeQualifier</code> instance.
|
|
|
|
@param commitmentTypeIdentifier a <code>CommitmentTypeIdentifier</code> value
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Esf.CommitmentTypeQualifier.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
Creates a new <code>CommitmentTypeQualifier</code> instance.
|
|
|
|
@param commitmentTypeIdentifier a <code>CommitmentTypeIdentifier</code> value
|
|
@param qualifier the qualifier, defined by the above field.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Esf.CommitmentTypeQualifier.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Creates a new <code>CommitmentTypeQualifier</code> instance.
|
|
|
|
@param as <code>CommitmentTypeQualifier</code> structure
|
|
encoded as an Asn1Sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Esf.CommitmentTypeQualifier.ToAsn1Object">
|
|
Returns a DER-encodable representation of this instance.
|
|
|
|
@return a <code>Asn1Object</code> value
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CompleteCertificateRefs">
|
|
<remarks>
|
|
RFC 3126: 4.2.1 Complete Certificate Refs Attribute Definition
|
|
<code>
|
|
CompleteCertificateRefs ::= SEQUENCE OF OtherCertID
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CompleteRevocationRefs">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
CompleteRevocationRefs ::= SEQUENCE OF CrlOcspRef
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CrlIdentifier">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
CrlIdentifier ::= SEQUENCE
|
|
{
|
|
crlissuer Name,
|
|
crlIssuedTime UTCTime,
|
|
crlNumber INTEGER OPTIONAL
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CrlListID">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
CRLListID ::= SEQUENCE
|
|
{
|
|
crls SEQUENCE OF CrlValidatedID
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CrlOcspRef">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
CrlOcspRef ::= SEQUENCE {
|
|
crlids [0] CRLListID OPTIONAL,
|
|
ocspids [1] OcspListID OPTIONAL,
|
|
otherRev [2] OtherRevRefs OPTIONAL
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.CrlValidatedID">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
CrlValidatedID ::= SEQUENCE {
|
|
crlHash OtherHash,
|
|
crlIdentifier CrlIdentifier OPTIONAL}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OcspIdentifier">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
OcspIdentifier ::= SEQUENCE {
|
|
ocspResponderID ResponderID,
|
|
-- As in OCSP response data
|
|
producedAt GeneralizedTime
|
|
-- As in OCSP response data
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OcspListID">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
OcspListID ::= SEQUENCE {
|
|
ocspResponses SEQUENCE OF OcspResponsesID
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OcspResponsesID">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
OcspResponsesID ::= SEQUENCE {
|
|
ocspIdentifier OcspIdentifier,
|
|
ocspRepHash OtherHash OPTIONAL
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OtherCertID">
|
|
<remarks>
|
|
<code>
|
|
OtherCertID ::= SEQUENCE {
|
|
otherCertHash OtherHash,
|
|
issuerSerial IssuerSerial OPTIONAL
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OtherHash">
|
|
<remarks>
|
|
<code>
|
|
OtherHash ::= CHOICE {
|
|
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
|
|
otherHash OtherHashAlgAndValue
|
|
}
|
|
|
|
OtherHashValue ::= OCTET STRING
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OtherHashAlgAndValue">
|
|
<summary>
|
|
Summary description for OtherHashAlgAndValue.
|
|
</summary>
|
|
<remarks>
|
|
<code>
|
|
OtherHashAlgAndValue ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
hashValue OtherHashValue
|
|
}
|
|
|
|
OtherHashValue ::= OCTET STRING
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OtherRevRefs">
|
|
<remarks>
|
|
RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition
|
|
<code>
|
|
OtherRevRefs ::= SEQUENCE
|
|
{
|
|
otherRevRefType OtherRevRefType,
|
|
otherRevRefs ANY DEFINED BY otherRevRefType
|
|
}
|
|
|
|
OtherRevRefType ::= OBJECT IDENTIFIER
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OtherRevVals">
|
|
<remarks>
|
|
RFC 3126: 4.3.2 Revocation Values Attribute Definition
|
|
<code>
|
|
OtherRevVals ::= SEQUENCE
|
|
{
|
|
otherRevValType OtherRevValType,
|
|
otherRevVals ANY DEFINED BY otherRevValType
|
|
}
|
|
|
|
OtherRevValType ::= OBJECT IDENTIFIER
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.OtherSigningCertificate">
|
|
<remarks>
|
|
<code>
|
|
OtherSigningCertificate ::= SEQUENCE {
|
|
certs SEQUENCE OF OtherCertID,
|
|
policies SEQUENCE OF PolicyInformation OPTIONAL
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.RevocationValues">
|
|
<remarks>
|
|
RFC 5126: 6.3.4. revocation-values Attribute Definition
|
|
<code>
|
|
RevocationValues ::= SEQUENCE {
|
|
crlVals [0] SEQUENCE OF CertificateList OPTIONAL,
|
|
ocspVals [1] SEQUENCE OF BasicOCSPResponse OPTIONAL,
|
|
otherRevVals [2] OtherRevVals OPTIONAL
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.SignaturePolicyId">
|
|
<remarks>
|
|
<code>
|
|
SignaturePolicyId ::= SEQUENCE {
|
|
sigPolicyIdentifier SigPolicyId,
|
|
sigPolicyHash SigPolicyHash,
|
|
sigPolicyQualifiers SEQUENCE SIZE (1..MAX) OF SigPolicyQualifierInfo OPTIONAL
|
|
}
|
|
|
|
SigPolicyId ::= OBJECT IDENTIFIER
|
|
|
|
SigPolicyHash ::= OtherHashAlgAndValue
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.SignaturePolicyIdentifier">
|
|
<remarks>
|
|
<code>
|
|
SignaturePolicyIdentifier ::= CHOICE {
|
|
SignaturePolicyId SignaturePolicyId,
|
|
SignaturePolicyImplied SignaturePolicyImplied
|
|
}
|
|
|
|
SignaturePolicyImplied ::= NULL
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Esf.SignerAttribute.ToAsn1Object">
|
|
|
|
<pre>
|
|
SignerAttribute ::= SEQUENCE OF CHOICE {
|
|
claimedAttributes [0] ClaimedAttributes,
|
|
certifiedAttributes [1] CertifiedAttributes }
|
|
|
|
ClaimedAttributes ::= SEQUENCE OF Attribute
|
|
CertifiedAttributes ::= AttributeCertificate -- as defined in RFC 3281: see clause 4.1.
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.SignerLocation">
|
|
Signer-Location attribute (RFC3126).
|
|
|
|
<pre>
|
|
SignerLocation ::= SEQUENCE {
|
|
countryName [0] DirectoryString OPTIONAL,
|
|
localityName [1] DirectoryString OPTIONAL,
|
|
postalAddress [2] PostalAddress OPTIONAL }
|
|
|
|
PostalAddress ::= SEQUENCE SIZE(1..6) OF DirectoryString
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Esf.SignerLocation.ToAsn1Object">
|
|
<pre>
|
|
SignerLocation ::= SEQUENCE {
|
|
countryName [0] DirectoryString OPTIONAL,
|
|
localityName [1] DirectoryString OPTIONAL,
|
|
postalAddress [2] PostalAddress OPTIONAL }
|
|
|
|
PostalAddress ::= SEQUENCE SIZE(1..6) OF DirectoryString
|
|
|
|
DirectoryString ::= CHOICE {
|
|
teletexString TeletexString (SIZE (1..MAX)),
|
|
printableString PrintableString (SIZE (1..MAX)),
|
|
universalString UniversalString (SIZE (1..MAX)),
|
|
utf8String UTF8String (SIZE (1.. MAX)),
|
|
bmpString BMPString (SIZE (1..MAX)) }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Esf.SigPolicyQualifierInfo">
|
|
<remarks>
|
|
<code>
|
|
SigPolicyQualifierInfo ::= SEQUENCE {
|
|
sigPolicyQualifierId SigPolicyQualifierId,
|
|
sigQualifier ANY DEFINED BY sigPolicyQualifierId
|
|
}
|
|
|
|
SigPolicyQualifierId ::= OBJECT IDENTIFIER
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.ContentHints.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.ContentHints.ToAsn1Object">
|
|
<pre>
|
|
ContentHints ::= SEQUENCE {
|
|
contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
|
|
contentType ContentType }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.ContentIdentifier.#ctor(Org.BouncyCastle.Asn1.Asn1OctetString)">
|
|
Create from OCTET STRING whose octets represent the identifier.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.ContentIdentifier.#ctor(System.Byte[])">
|
|
Create from byte array representing the identifier.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.ContentIdentifier.ToAsn1Object">
|
|
The definition of ContentIdentifier is
|
|
<pre>
|
|
ContentIdentifier ::= OCTET STRING
|
|
</pre>
|
|
id-aa-contentIdentifier OBJECT IDENTIFIER ::= { iso(1)
|
|
member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
|
|
smime(16) id-aa(2) 7 }
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.EssCertID.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.EssCertID.ToAsn1Object">
|
|
<pre>
|
|
EssCertID ::= SEQUENCE {
|
|
certHash Hash,
|
|
issuerSerial IssuerSerial OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.EssCertIDv2.ToAsn1Object">
|
|
<pre>
|
|
EssCertIDv2 ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier
|
|
DEFAULT {algorithm id-sha256},
|
|
certHash Hash,
|
|
issuerSerial IssuerSerial OPTIONAL
|
|
}
|
|
|
|
Hash ::= OCTET STRING
|
|
|
|
IssuerSerial ::= SEQUENCE {
|
|
issuer GeneralNames,
|
|
serialNumber CertificateSerialNumber
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.OtherCertID.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.OtherCertID.ToAsn1Object">
|
|
<pre>
|
|
OtherCertID ::= SEQUENCE {
|
|
otherCertHash OtherHash,
|
|
issuerSerial IssuerSerial OPTIONAL }
|
|
|
|
OtherHash ::= CHOICE {
|
|
sha1Hash OCTET STRING,
|
|
otherHash OtherHashAlgAndValue }
|
|
|
|
OtherHashAlgAndValue ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
hashValue OCTET STRING }
|
|
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.OtherSigningCertificate.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
constructors
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.OtherSigningCertificate.ToAsn1Object">
|
|
The definition of OtherSigningCertificate is
|
|
<pre>
|
|
OtherSigningCertificate ::= SEQUENCE {
|
|
certs SEQUENCE OF OtherCertID,
|
|
policies SEQUENCE OF PolicyInformation OPTIONAL
|
|
}
|
|
</pre>
|
|
id-aa-ets-otherSigCert OBJECT IDENTIFIER ::= { iso(1)
|
|
member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
|
|
smime(16) id-aa(2) 19 }
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.SigningCertificate.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
constructors
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.SigningCertificate.ToAsn1Object">
|
|
The definition of SigningCertificate is
|
|
<pre>
|
|
SigningCertificate ::= SEQUENCE {
|
|
certs SEQUENCE OF EssCertID,
|
|
policies SEQUENCE OF PolicyInformation OPTIONAL
|
|
}
|
|
</pre>
|
|
id-aa-signingCertificate OBJECT IDENTIFIER ::= { iso(1)
|
|
member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
|
|
smime(16) id-aa(2) 12 }
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ess.SigningCertificateV2.ToAsn1Object">
|
|
The definition of SigningCertificateV2 is
|
|
<pre>
|
|
SigningCertificateV2 ::= SEQUENCE {
|
|
certs SEQUENCE OF EssCertIDv2,
|
|
policies SEQUENCE OF PolicyInformation OPTIONAL
|
|
}
|
|
</pre>
|
|
id-aa-signingCertificateV2 OBJECT IDENTIFIER ::= { iso(1)
|
|
member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
|
|
smime(16) id-aa(2) 47 }
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.GM.GMNamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the X9ECParameters object for the named curve represented by
|
|
the passed in object identifier. Null if the curve isn't present.
|
|
|
|
@param oid an object identifier representing a named curve, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.GM.GMNamedCurves.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.GM.GMNamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.GM.GMNamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Gnu.GnuObjectIdentifiers.EllipticCurve">
|
|
1.3.6.1.4.1.11591.15 - ellipticCurve
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IAsn1Choice">
|
|
Marker interface for CHOICE objects - if you implement this in a roll-your-own
|
|
object, any attempt to tag the object implicitly will convert the tag to an
|
|
explicit one as the encoding rules require.
|
|
<p>
|
|
If you use this interface your class should also implement the getInstance
|
|
pattern which takes a tag object and the tagging mode used.
|
|
</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IAsn1String">
|
|
basic interface for Der string objects.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Icao.CscaMasterList">
|
|
The CscaMasterList object. This object can be wrapped in a
|
|
CMSSignedData to be published in LDAP.
|
|
|
|
<pre>
|
|
CscaMasterList ::= SEQUENCE {
|
|
version CscaMasterListVersion,
|
|
certList SET OF Certificate }
|
|
|
|
CscaMasterListVersion :: INTEGER {v0(0)}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Icao.DataGroupHash">
|
|
The DataGroupHash object.
|
|
<pre>
|
|
DataGroupHash ::= SEQUENCE {
|
|
dataGroupNumber DataGroupNumber,
|
|
dataGroupHashValue OCTET STRING }
|
|
|
|
DataGroupNumber ::= INTEGER {
|
|
dataGroup1 (1),
|
|
dataGroup1 (2),
|
|
dataGroup1 (3),
|
|
dataGroup1 (4),
|
|
dataGroup1 (5),
|
|
dataGroup1 (6),
|
|
dataGroup1 (7),
|
|
dataGroup1 (8),
|
|
dataGroup1 (9),
|
|
dataGroup1 (10),
|
|
dataGroup1 (11),
|
|
dataGroup1 (12),
|
|
dataGroup1 (13),
|
|
dataGroup1 (14),
|
|
dataGroup1 (15),
|
|
dataGroup1 (16) }
|
|
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Icao.LdsSecurityObject">
|
|
The LDSSecurityObject object (V1.8).
|
|
<pre>
|
|
LDSSecurityObject ::= SEQUENCE {
|
|
version LDSSecurityObjectVersion,
|
|
hashAlgorithm DigestAlgorithmIdentifier,
|
|
dataGroupHashValues SEQUENCE SIZE (2..ub-DataGroups) OF DataHashGroup,
|
|
ldsVersionInfo LDSVersionInfo OPTIONAL
|
|
-- if present, version MUST be v1 }
|
|
|
|
DigestAlgorithmIdentifier ::= AlgorithmIdentifier,
|
|
|
|
LDSSecurityObjectVersion :: INTEGER {V0(0)}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Icao.LdsVersionInfo.ToAsn1Object">
|
|
<pre>
|
|
LDSVersionInfo ::= SEQUENCE {
|
|
ldsVersion PRINTABLE STRING
|
|
unicodeVersion PRINTABLE STRING
|
|
}
|
|
</pre>
|
|
@return
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttCPAccredited">
|
|
The id-isismtt-cp-accredited OID indicates that the certificate is a
|
|
qualified certificate according to Directive 1999/93/EC of the European
|
|
Parliament and of the Council of 13 December 1999 on a Community
|
|
Framework for Electronic Signatures, which additionally conforms the
|
|
special requirements of the SigG and has been issued by an accredited CA.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATDateOfCertGen">
|
|
Certificate extensionDate of certificate generation
|
|
|
|
<pre>
|
|
DateOfCertGenSyntax ::= GeneralizedTime
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATProcuration">
|
|
Attribute to indicate that the certificate holder may sign in the name of
|
|
a third person. May also be used as extension in a certificate.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATAdmission">
|
|
Attribute to indicate admissions to certain professions. May be used as
|
|
attribute in attribute certificate or as extension in a certificate
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATMonetaryLimit">
|
|
Monetary limit for transactions. The QcEuMonetaryLimit QC statement MUST
|
|
be used in new certificates in place of the extension/attribute
|
|
MonetaryLimit since January 1, 2004. For the sake of backward
|
|
compatibility with certificates already in use, SigG conforming
|
|
components MUST support MonetaryLimit (as well as QcEuLimitValue).
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATDeclarationOfMajority">
|
|
A declaration of majority. May be used as attribute in attribute
|
|
certificate or as extension in a certificate
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATIccsn">
|
|
|
|
Serial number of the smart card containing the corresponding private key
|
|
|
|
<pre>
|
|
ICCSNSyntax ::= OCTET STRING (SIZE(8..20))
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATPKReference">
|
|
|
|
Reference for a file of a smartcard that stores the public key of this
|
|
certificate and that is used as �security anchor�.
|
|
|
|
<pre>
|
|
PKReferenceSyntax ::= OCTET STRING (SIZE(20))
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATRestriction">
|
|
Some other restriction regarding the usage of this certificate. May be
|
|
used as attribute in attribute certificate or as extension in a
|
|
certificate.
|
|
|
|
<pre>
|
|
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
|
|
</pre>
|
|
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATRetrieveIfAllowed">
|
|
|
|
(Single)Request extension: Clients may include this extension in a
|
|
(single) Request to request the responder to send the certificate in the
|
|
response message along with the status information. Besides the LDAP
|
|
service, this extension provides another mechanism for the distribution
|
|
of certificates, which MAY optionally be provided by certificate
|
|
repositories.
|
|
|
|
<pre>
|
|
RetrieveIfAllowed ::= BOOLEAN
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATRequestedCertificate">
|
|
SingleOCSPResponse extension: The certificate requested by the client by
|
|
inserting the RetrieveIfAllowed extension in the request, will be
|
|
returned in this extension.
|
|
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATNamingAuthorities">
|
|
Base ObjectIdentifier for naming authorities
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATCertInDirSince">
|
|
SingleOCSPResponse extension: Date, when certificate has been published
|
|
in the directory and status information has become available. Currently,
|
|
accrediting authorities enforce that SigG-conforming OCSP servers include
|
|
this extension in the responses.
|
|
|
|
<pre>
|
|
CertInDirSince ::= GeneralizedTime
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATCertHash">
|
|
Hash of a certificate in OCSP.
|
|
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATNameAtBirth">
|
|
<pre>
|
|
NameAtBirth ::= DirectoryString(SIZE(1..64)
|
|
</pre>
|
|
|
|
Used in
|
|
{@link Org.BouncyCastle.Asn1.X509.SubjectDirectoryAttributes SubjectDirectoryAttributes}
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATAdditionalInformation">
|
|
Some other information of non-restrictive nature regarding the usage of
|
|
this certificate. May be used as attribute in atribute certificate or as
|
|
extension in a certificate.
|
|
|
|
<pre>
|
|
AdditionalInformationSyntax ::= DirectoryString (SIZE(1..2048))
|
|
</pre>
|
|
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.IsisMttObjectIdentifiers.IdIsisMttATLiabilityLimitationFlag">
|
|
Indicates that an attribute certificate exists, which limits the
|
|
usability of this public key certificate. Whenever verifying a signature
|
|
with the help of this certificate, the content of the corresponding
|
|
attribute certificate should be concerned. This extension MUST be
|
|
included in a PKC, if a corresponding attribute certificate (having the
|
|
PKC as base certificate) contains some attribute that restricts the
|
|
usability of the PKC too. Attribute certificates with restricting content
|
|
MUST always be included in the signed document.
|
|
|
|
<pre>
|
|
LiabilityLimitationFlagSyntax ::= BOOLEAN
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash">
|
|
ISIS-MTT PROFILE: The responder may include this extension in a response to
|
|
send the hash of the requested certificate to the responder. This hash is
|
|
cryptographically bound to the certificate and serves as evidence that the
|
|
certificate is known to the responder (i.e. it has been issued and is present
|
|
in the directory). Hence, this extension is a means to provide a positive
|
|
statement of availability as described in T8.[8]. As explained in T13.[1],
|
|
clients may rely on this information to be able to validate signatures after
|
|
the expiry of the corresponding certificate. Hence, clients MUST support this
|
|
extension. If a positive statement of availability is to be delivered, this
|
|
extension syntax and OID MUST be used.
|
|
<p/>
|
|
<p/>
|
|
<pre>
|
|
CertHash ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
certificateHash OCTET STRING
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
The sequence is of type CertHash:
|
|
<p/>
|
|
<pre>
|
|
CertHash ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
certificateHash OCTET STRING
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash.#ctor(Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,System.Byte[])">
|
|
Constructor from a given details.
|
|
|
|
@param hashAlgorithm The hash algorithm identifier.
|
|
@param certificateHash The hash of the whole DER encoding of the certificate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
CertHash ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
certificateHash OCTET STRING
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate">
|
|
ISIS-MTT-Optional: The certificate requested by the client by inserting the
|
|
RetrieveIfAllowed extension in the request, will be returned in this
|
|
extension.
|
|
<p/>
|
|
ISIS-MTT-SigG: The signature act allows publishing certificates only then,
|
|
when the certificate owner gives his isExplicit permission. Accordingly, there
|
|
may be �nondownloadable� certificates, about which the responder must provide
|
|
status information, but MUST NOT include them in the response. Clients may
|
|
get therefore the following three kind of answers on a single request
|
|
including the RetrieveIfAllowed extension:
|
|
<ul>
|
|
<li> a) the responder supports the extension and is allowed to publish the
|
|
certificate: RequestedCertificate returned including the requested
|
|
certificate</li>
|
|
<li>b) the responder supports the extension but is NOT allowed to publish
|
|
the certificate: RequestedCertificate returned including an empty OCTET
|
|
STRING</li>
|
|
<li>c) the responder does not support the extension: RequestedCertificate is
|
|
not included in the response</li>
|
|
</ul>
|
|
Clients requesting RetrieveIfAllowed MUST be able to handle these cases. If
|
|
any of the OCTET STRING options is used, it MUST contain the DER encoding of
|
|
the requested certificate.
|
|
<p/>
|
|
<pre>
|
|
RequestedCertificate ::= CHOICE {
|
|
Certificate Certificate,
|
|
publicKeyCertificate [0] EXPLICIT OCTET STRING,
|
|
attributeCertificate [1] EXPLICIT OCTET STRING
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate.#ctor(Org.BouncyCastle.Asn1.X509.X509CertificateStructure)">
|
|
Constructor from a given details.
|
|
<p/>
|
|
Only one parameter can be given. All other must be <code>null</code>.
|
|
|
|
@param certificate Given as Certificate
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
RequestedCertificate ::= CHOICE {
|
|
Certificate Certificate,
|
|
publicKeyCertificate [0] EXPLICIT OCTET STRING,
|
|
attributeCertificate [1] EXPLICIT OCTET STRING
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax">
|
|
Some other information of non-restrictive nature regarding the usage of this
|
|
certificate.
|
|
|
|
<pre>
|
|
AdditionalInformationSyntax ::= DirectoryString (SIZE(1..2048))
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax.#ctor(System.String)">
|
|
Constructor from a given details.
|
|
|
|
@param information The describtion of the information.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
AdditionalInformationSyntax ::= DirectoryString (SIZE(1..2048))
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions">
|
|
An Admissions structure.
|
|
<p/>
|
|
<pre>
|
|
Admissions ::= SEQUENCE
|
|
{
|
|
admissionAuthority [0] EXPLICIT GeneralName OPTIONAL
|
|
namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL
|
|
professionInfos SEQUENCE OF ProfessionInfo
|
|
}
|
|
<p/>
|
|
</pre>
|
|
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
The sequence is of type ProcurationSyntax:
|
|
<p/>
|
|
<pre>
|
|
Admissions ::= SEQUENCE
|
|
{
|
|
admissionAuthority [0] EXPLICIT GeneralName OPTIONAL
|
|
namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL
|
|
professionInfos SEQUENCE OF ProfessionInfo
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions.#ctor(Org.BouncyCastle.Asn1.X509.GeneralName,Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority,Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo[])">
|
|
Constructor from a given details.
|
|
<p/>
|
|
Parameter <code>professionInfos</code> is mandatory.
|
|
|
|
@param admissionAuthority The admission authority.
|
|
@param namingAuthority The naming authority.
|
|
@param professionInfos The profession infos.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
Admissions ::= SEQUENCE
|
|
{
|
|
admissionAuthority [0] EXPLICIT GeneralName OPTIONAL
|
|
namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL
|
|
professionInfos SEQUENCE OF ProfessionInfo
|
|
}
|
|
<p/>
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax">
|
|
Attribute to indicate admissions to certain professions.
|
|
<p/>
|
|
<pre>
|
|
AdmissionSyntax ::= SEQUENCE
|
|
{
|
|
admissionAuthority GeneralName OPTIONAL,
|
|
contentsOfAdmissions SEQUENCE OF Admissions
|
|
}
|
|
<p/>
|
|
Admissions ::= SEQUENCE
|
|
{
|
|
admissionAuthority [0] EXPLICIT GeneralName OPTIONAL
|
|
namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL
|
|
professionInfos SEQUENCE OF ProfessionInfo
|
|
}
|
|
<p/>
|
|
NamingAuthority ::= SEQUENCE
|
|
{
|
|
namingAuthorityId OBJECT IDENTIFIER OPTIONAL,
|
|
namingAuthorityUrl IA5String OPTIONAL,
|
|
namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
|
|
}
|
|
<p/>
|
|
ProfessionInfo ::= SEQUENCE
|
|
{
|
|
namingAuthority [0] EXPLICIT NamingAuthority OPTIONAL,
|
|
professionItems SEQUENCE OF DirectoryString (SIZE(1..128)),
|
|
professionOIDs SEQUENCE OF OBJECT IDENTIFIER OPTIONAL,
|
|
registrationNumber PrintableString(SIZE(1..128)) OPTIONAL,
|
|
addProfessionInfo OCTET STRING OPTIONAL
|
|
}
|
|
</pre>
|
|
<p/>
|
|
<p/>
|
|
ISIS-MTT PROFILE: The relatively complex structure of AdmissionSyntax
|
|
supports the following concepts and requirements:
|
|
<ul>
|
|
<li> External institutions (e.g. professional associations, chambers, unions,
|
|
administrative bodies, companies, etc.), which are responsible for granting
|
|
and verifying professional admissions, are indicated by means of the data
|
|
field admissionAuthority. An admission authority is indicated by a
|
|
GeneralName object. Here an X.501 directory name (distinguished name) can be
|
|
indicated in the field directoryName, a URL address can be indicated in the
|
|
field uniformResourceIdentifier, and an object identifier can be indicated in
|
|
the field registeredId.</li>
|
|
<li> The names of authorities which are responsible for the administration of
|
|
title registers are indicated in the data field namingAuthority. The name of
|
|
the authority can be identified by an object identifier in the field
|
|
namingAuthorityId, by means of a text string in the field
|
|
namingAuthorityText, by means of a URL address in the field
|
|
namingAuthorityUrl, or by a combination of them. For example, the text string
|
|
can contain the name of the authority, the country and the name of the title
|
|
register. The URL-option refers to a web page which contains lists with
|
|
officially registered professions (text and possibly OID) as well as
|
|
further information on these professions. Object identifiers for the
|
|
component namingAuthorityId are grouped under the OID-branch
|
|
id-isis-at-namingAuthorities and must be applied for.</li>
|
|
<li>See http://www.teletrust.de/anwend.asp?Id=30200&Sprache=E_&HomePG=0
|
|
for an application form and http://www.teletrust.de/links.asp?id=30220,11
|
|
for an overview of registered naming authorities.</li>
|
|
<li> By means of the data type ProfessionInfo certain professions,
|
|
specializations, disciplines, fields of activity, etc. are identified. A
|
|
profession is represented by one or more text strings, resp. profession OIDs
|
|
in the fields professionItems and professionOIDs and by a registration number
|
|
in the field registrationNumber. An indication in text form must always be
|
|
present, whereas the other indications are optional. The component
|
|
addProfessionInfo may contain additional applicationspecific information in
|
|
DER-encoded form.</li>
|
|
</ul>
|
|
<p/>
|
|
By means of different namingAuthority-OIDs or profession OIDs hierarchies of
|
|
professions, specializations, disciplines, fields of activity, etc. can be
|
|
expressed. The issuing admission authority should always be indicated (field
|
|
admissionAuthority), whenever a registration number is presented. Still,
|
|
information on admissions can be given without indicating an admission or a
|
|
naming authority by the exclusive use of the component professionItems. In
|
|
this case the certification authority is responsible for the verification of
|
|
the admission information.
|
|
<p/>
|
|
<p/>
|
|
<p/>
|
|
This attribute is single-valued. Still, several admissions can be captured in
|
|
the sequence structure of the component contentsOfAdmissions of
|
|
AdmissionSyntax or in the component professionInfos of Admissions. The
|
|
component admissionAuthority of AdmissionSyntax serves as default value for
|
|
the component admissionAuthority of Admissions. Within the latter component
|
|
the default value can be overwritten, in case that another authority is
|
|
responsible. The component namingAuthority of Admissions serves as a default
|
|
value for the component namingAuthority of ProfessionInfo. Within the latter
|
|
component the default value can be overwritten, in case that another naming
|
|
authority needs to be recorded.
|
|
<p/>
|
|
The length of the string objects is limited to 128 characters. It is
|
|
recommended to indicate a namingAuthorityURL in all issued attribute
|
|
certificates. If a namingAuthorityURL is indicated, the field professionItems
|
|
of ProfessionInfo should contain only registered titles. If the field
|
|
professionOIDs exists, it has to contain the OIDs of the professions listed
|
|
in professionItems in the same order. In general, the field professionInfos
|
|
should contain only one entry, unless the admissions that are to be listed
|
|
are logically connected (e.g. they have been issued under the same admission
|
|
number).
|
|
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
The sequence is of type ProcurationSyntax:
|
|
<p/>
|
|
<pre>
|
|
AdmissionSyntax ::= SEQUENCE
|
|
{
|
|
admissionAuthority GeneralName OPTIONAL,
|
|
contentsOfAdmissions SEQUENCE OF Admissions
|
|
}
|
|
<p/>
|
|
Admissions ::= SEQUENCE
|
|
{
|
|
admissionAuthority [0] EXPLICIT GeneralName OPTIONAL
|
|
namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL
|
|
professionInfos SEQUENCE OF ProfessionInfo
|
|
}
|
|
<p/>
|
|
NamingAuthority ::= SEQUENCE
|
|
{
|
|
namingAuthorityId OBJECT IDENTIFIER OPTIONAL,
|
|
namingAuthorityUrl IA5String OPTIONAL,
|
|
namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
|
|
}
|
|
<p/>
|
|
ProfessionInfo ::= SEQUENCE
|
|
{
|
|
namingAuthority [0] EXPLICIT NamingAuthority OPTIONAL,
|
|
professionItems SEQUENCE OF DirectoryString (SIZE(1..128)),
|
|
professionOIDs SEQUENCE OF OBJECT IDENTIFIER OPTIONAL,
|
|
registrationNumber PrintableString(SIZE(1..128)) OPTIONAL,
|
|
addProfessionInfo OCTET STRING OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax.#ctor(Org.BouncyCastle.Asn1.X509.GeneralName,Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from given details.
|
|
|
|
@param admissionAuthority The admission authority.
|
|
@param contentsOfAdmissions The admissions.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
AdmissionSyntax ::= SEQUENCE
|
|
{
|
|
admissionAuthority GeneralName OPTIONAL,
|
|
contentsOfAdmissions SEQUENCE OF Admissions
|
|
}
|
|
<p/>
|
|
Admissions ::= SEQUENCE
|
|
{
|
|
admissionAuthority [0] EXPLICIT GeneralName OPTIONAL
|
|
namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL
|
|
professionInfos SEQUENCE OF ProfessionInfo
|
|
}
|
|
<p/>
|
|
NamingAuthority ::= SEQUENCE
|
|
{
|
|
namingAuthorityId OBJECT IDENTIFIER OPTIONAL,
|
|
namingAuthorityUrl IA5String OPTIONAL,
|
|
namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
|
|
}
|
|
<p/>
|
|
ProfessionInfo ::= SEQUENCE
|
|
{
|
|
namingAuthority [0] EXPLICIT NamingAuthority OPTIONAL,
|
|
professionItems SEQUENCE OF DirectoryString (SIZE(1..128)),
|
|
professionOIDs SEQUENCE OF OBJECT IDENTIFIER OPTIONAL,
|
|
registrationNumber PrintableString(SIZE(1..128)) OPTIONAL,
|
|
addProfessionInfo OCTET STRING OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax.AdmissionAuthority">
|
|
@return Returns the admissionAuthority if present, null otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax.GetContentsOfAdmissions">
|
|
@return Returns the contentsOfAdmissions.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority">
|
|
A declaration of majority.
|
|
<p/>
|
|
<pre>
|
|
DeclarationOfMajoritySyntax ::= CHOICE
|
|
{
|
|
notYoungerThan [0] IMPLICIT INTEGER,
|
|
fullAgeAtCountry [1] IMPLICIT SEQUENCE
|
|
{
|
|
fullAge BOOLEAN DEFAULT TRUE,
|
|
country PrintableString (SIZE(2))
|
|
}
|
|
dateOfBirth [2] IMPLICIT GeneralizedTime
|
|
}
|
|
</pre>
|
|
<p/>
|
|
fullAgeAtCountry indicates the majority of the owner with respect to the laws
|
|
of a specific country.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
DeclarationOfMajoritySyntax ::= CHOICE
|
|
{
|
|
notYoungerThan [0] IMPLICIT INTEGER,
|
|
fullAgeAtCountry [1] IMPLICIT SEQUENCE
|
|
{
|
|
fullAge BOOLEAN DEFAULT TRUE,
|
|
country PrintableString (SIZE(2))
|
|
}
|
|
dateOfBirth [2] IMPLICIT GeneralizedTime
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority.NotYoungerThan">
|
|
@return notYoungerThan if that's what we are, -1 otherwise
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.MonetaryLimit">
|
|
Monetary limit for transactions. The QcEuMonetaryLimit QC statement MUST be
|
|
used in new certificates in place of the extension/attribute MonetaryLimit
|
|
since January 1, 2004. For the sake of backward compatibility with
|
|
certificates already in use, components SHOULD support MonetaryLimit (as well
|
|
as QcEuLimitValue).
|
|
<p/>
|
|
Indicates a monetary limit within which the certificate holder is authorized
|
|
to act. (This value DOES NOT express a limit on the liability of the
|
|
certification authority).
|
|
<p/>
|
|
<pre>
|
|
MonetaryLimitSyntax ::= SEQUENCE
|
|
{
|
|
currency PrintableString (SIZE(3)),
|
|
amount INTEGER,
|
|
exponent INTEGER
|
|
}
|
|
</pre>
|
|
<p/>
|
|
currency must be the ISO code.
|
|
<p/>
|
|
value = amount�10*exponent
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.MonetaryLimit.#ctor(System.String,System.Int32,System.Int32)">
|
|
Constructor from a given details.
|
|
<p/>
|
|
<p/>
|
|
value = amount�10^exponent
|
|
|
|
@param currency The currency. Must be the ISO code.
|
|
@param amount The amount
|
|
@param exponent The exponent
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.MonetaryLimit.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
MonetaryLimitSyntax ::= SEQUENCE
|
|
{
|
|
currency PrintableString (SIZE(3)),
|
|
amount INTEGER,
|
|
exponent INTEGER
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority">
|
|
Names of authorities which are responsible for the administration of title
|
|
registers.
|
|
|
|
<pre>
|
|
NamingAuthority ::= SEQUENCE
|
|
{
|
|
namingAuthorityID OBJECT IDENTIFIER OPTIONAL,
|
|
namingAuthorityUrl IA5String OPTIONAL,
|
|
namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
|
|
}
|
|
</pre>
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern">
|
|
Profession OIDs should always be defined under the OID branch of the
|
|
responsible naming authority. At the time of this writing, the work group
|
|
�Recht, Wirtschaft, Steuern� (�Law, Economy, Taxes�) is registered as the
|
|
first naming authority under the OID id-isismtt-at-namingAuthorities.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
<p/>
|
|
<pre>
|
|
NamingAuthority ::= SEQUENCE
|
|
{
|
|
namingAuthorityID OBJECT IDENTIFIER OPTIONAL,
|
|
namingAuthorityUrl IA5String OPTIONAL,
|
|
namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority.NamingAuthorityID">
|
|
@return Returns the namingAuthorityID.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority.NamingAuthorityText">
|
|
@return Returns the namingAuthorityText.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority.NamingAuthorityUrl">
|
|
@return Returns the namingAuthorityUrl.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.String,Org.BouncyCastle.Asn1.X500.DirectoryString)">
|
|
Constructor from given details.
|
|
<p/>
|
|
All parameters can be combined.
|
|
|
|
@param namingAuthorityID ObjectIdentifier for naming authority.
|
|
@param namingAuthorityUrl URL for naming authority.
|
|
@param namingAuthorityText Textual representation of naming authority.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
NamingAuthority ::= SEQUENCE
|
|
{
|
|
namingAuthorityID OBJECT IDENTIFIER OPTIONAL,
|
|
namingAuthorityUrl IA5String OPTIONAL,
|
|
namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax">
|
|
Attribute to indicate that the certificate holder may sign in the name of a
|
|
third person.
|
|
<p>
|
|
ISIS-MTT PROFILE: The corresponding ProcurationSyntax contains either the
|
|
name of the person who is represented (subcomponent thirdPerson) or a
|
|
reference to his/her base certificate (in the component signingFor,
|
|
subcomponent certRef), furthermore the optional components country and
|
|
typeSubstitution to indicate the country whose laws apply, and respectively
|
|
the type of procuration (e.g. manager, procuration, custody).
|
|
</p>
|
|
<p>
|
|
ISIS-MTT PROFILE: The GeneralName MUST be of type directoryName and MAY only
|
|
contain: - RFC3039 attributes, except pseudonym (countryName, commonName,
|
|
surname, givenName, serialNumber, organizationName, organizationalUnitName,
|
|
stateOrProvincename, localityName, postalAddress) and - SubjectDirectoryName
|
|
attributes (title, dateOfBirth, placeOfBirth, gender, countryOfCitizenship,
|
|
countryOfResidence and NameAtBirth).
|
|
</p>
|
|
<pre>
|
|
ProcurationSyntax ::= SEQUENCE {
|
|
country [1] EXPLICIT PrintableString(SIZE(2)) OPTIONAL,
|
|
typeOfSubstitution [2] EXPLICIT DirectoryString (SIZE(1..128)) OPTIONAL,
|
|
signingFor [3] EXPLICIT SigningFor
|
|
}
|
|
|
|
SigningFor ::= CHOICE
|
|
{
|
|
thirdPerson GeneralName,
|
|
certRef IssuerSerial
|
|
}
|
|
</pre>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
The sequence is of type ProcurationSyntax:
|
|
<p/>
|
|
<pre>
|
|
ProcurationSyntax ::= SEQUENCE {
|
|
country [1] EXPLICIT PrintableString(SIZE(2)) OPTIONAL,
|
|
typeOfSubstitution [2] EXPLICIT DirectoryString (SIZE(1..128)) OPTIONAL,
|
|
signingFor [3] EXPLICIT SigningFor
|
|
}
|
|
<p/>
|
|
SigningFor ::= CHOICE
|
|
{
|
|
thirdPerson GeneralName,
|
|
certRef IssuerSerial
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax.#ctor(System.String,Org.BouncyCastle.Asn1.X500.DirectoryString,Org.BouncyCastle.Asn1.X509.IssuerSerial)">
|
|
Constructor from a given details.
|
|
<p/>
|
|
<p/>
|
|
Either <code>generalName</code> or <code>certRef</code> MUST be
|
|
<code>null</code>.
|
|
|
|
@param country The country code whose laws apply.
|
|
@param typeOfSubstitution The type of procuration.
|
|
@param certRef Reference to certificate of the person who is represented.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax.#ctor(System.String,Org.BouncyCastle.Asn1.X500.DirectoryString,Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Constructor from a given details.
|
|
<p/>
|
|
<p/>
|
|
Either <code>generalName</code> or <code>certRef</code> MUST be
|
|
<code>null</code>.
|
|
|
|
@param country The country code whose laws apply.
|
|
@param typeOfSubstitution The type of procuration.
|
|
@param thirdPerson The GeneralName of the person who is represented.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
ProcurationSyntax ::= SEQUENCE {
|
|
country [1] EXPLICIT PrintableString(SIZE(2)) OPTIONAL,
|
|
typeOfSubstitution [2] EXPLICIT DirectoryString (SIZE(1..128)) OPTIONAL,
|
|
signingFor [3] EXPLICIT SigningFor
|
|
}
|
|
<p/>
|
|
SigningFor ::= CHOICE
|
|
{
|
|
thirdPerson GeneralName,
|
|
certRef IssuerSerial
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo">
|
|
Professions, specializations, disciplines, fields of activity, etc.
|
|
|
|
<pre>
|
|
ProfessionInfo ::= SEQUENCE
|
|
{
|
|
namingAuthority [0] EXPLICIT NamingAuthority OPTIONAL,
|
|
professionItems SEQUENCE OF DirectoryString (SIZE(1..128)),
|
|
professionOids SEQUENCE OF OBJECT IDENTIFIER OPTIONAL,
|
|
registrationNumber PrintableString(SIZE(1..128)) OPTIONAL,
|
|
addProfessionInfo OCTET STRING OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@see Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Rechtsanwltin">
|
|
Rechtsanw�ltin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Rechtsanwalt">
|
|
Rechtsanwalt
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Rechtsbeistand">
|
|
Rechtsbeistand
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Steuerberaterin">
|
|
Steuerberaterin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Steuerberater">
|
|
Steuerberater
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Steuerbevollmchtigte">
|
|
Steuerbevollm�chtigte
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Steuerbevollmchtigter">
|
|
Steuerbevollm�chtigter
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Notarin">
|
|
Notarin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Notar">
|
|
Notar
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Notarvertreterin">
|
|
Notarvertreterin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Notarvertreter">
|
|
Notarvertreter
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Notariatsverwalterin">
|
|
Notariatsverwalterin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Notariatsverwalter">
|
|
Notariatsverwalter
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Wirtschaftsprferin">
|
|
Wirtschaftspr�ferin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Wirtschaftsprfer">
|
|
Wirtschaftspr�fer
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.VereidigteBuchprferin">
|
|
Vereidigte Buchpr�ferin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.VereidigterBuchprfer">
|
|
Vereidigter Buchpr�fer
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Patentanwltin">
|
|
Patentanw�ltin
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.Patentanwalt">
|
|
Patentanwalt
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
<p/>
|
|
<pre>
|
|
ProfessionInfo ::= SEQUENCE
|
|
{
|
|
namingAuthority [0] EXPLICIT NamingAuthority OPTIONAL,
|
|
professionItems SEQUENCE OF DirectoryString (SIZE(1..128)),
|
|
professionOids SEQUENCE OF OBJECT IDENTIFIER OPTIONAL,
|
|
registrationNumber PrintableString(SIZE(1..128)) OPTIONAL,
|
|
addProfessionInfo OCTET STRING OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.#ctor(Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority,Org.BouncyCastle.Asn1.X500.DirectoryString[],Org.BouncyCastle.Asn1.DerObjectIdentifier[],System.String,Org.BouncyCastle.Asn1.Asn1OctetString)">
|
|
Constructor from given details.
|
|
<p/>
|
|
<code>professionItems</code> is mandatory, all other parameters are
|
|
optional.
|
|
|
|
@param namingAuthority The naming authority.
|
|
@param professionItems Directory strings of the profession.
|
|
@param professionOids DERObjectIdentfier objects for the
|
|
profession.
|
|
@param registrationNumber Registration number.
|
|
@param addProfessionInfo Additional infos in encoded form.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
ProfessionInfo ::= SEQUENCE
|
|
{
|
|
namingAuthority [0] EXPLICIT NamingAuthority OPTIONAL,
|
|
professionItems SEQUENCE OF DirectoryString (SIZE(1..128)),
|
|
professionOids SEQUENCE OF OBJECT IDENTIFIER OPTIONAL,
|
|
registrationNumber PrintableString(SIZE(1..128)) OPTIONAL,
|
|
addProfessionInfo OCTET STRING OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.AddProfessionInfo">
|
|
@return Returns the addProfessionInfo.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.NamingAuthority">
|
|
@return Returns the namingAuthority.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.GetProfessionItems">
|
|
@return Returns the professionItems.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.GetProfessionOids">
|
|
@return Returns the professionOids.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo.RegistrationNumber">
|
|
@return Returns the registrationNumber.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction">
|
|
Some other restriction regarding the usage of this certificate.
|
|
<p/>
|
|
<pre>
|
|
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction.#ctor(Org.BouncyCastle.Asn1.X500.DirectoryString)">
|
|
Constructor from DirectoryString.
|
|
<p/>
|
|
The DirectoryString is of type RestrictionSyntax:
|
|
<p/>
|
|
<pre>
|
|
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
|
|
</pre>
|
|
|
|
@param restriction A IAsn1String.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction.#ctor(System.String)">
|
|
Constructor from a given details.
|
|
|
|
@param restriction The description of the restriction.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
|
|
<p/>
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Misc.Cast5CbcParameters.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
cast5CBCParameters ::= Sequence {
|
|
iv OCTET STRING DEFAULT 0,
|
|
-- Initialization vector
|
|
keyLength Integer
|
|
-- Key length, in bits
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Misc.IdeaCbcPar.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
IDEA-CBCPar ::= Sequence {
|
|
iv OCTET STRING OPTIONAL -- exactly 8 octets
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Misc.NetscapeCertType">
|
|
The NetscapeCertType object.
|
|
<pre>
|
|
NetscapeCertType ::= BIT STRING {
|
|
SSLClient (0),
|
|
SSLServer (1),
|
|
S/MIME (2),
|
|
Object Signing (3),
|
|
Reserved (4),
|
|
SSL CA (5),
|
|
S/MIME CA (6),
|
|
Object Signing CA (7) }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Misc.NetscapeCertType.#ctor(System.Int32)">
|
|
Basic constructor.
|
|
|
|
@param usage - the bitwise OR of the Key Usage flags giving the
|
|
allowed uses for the key.
|
|
e.g. (X509NetscapeCertType.sslCA | X509NetscapeCertType.smimeCA)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Mozilla.PublicKeyAndChallenge">
|
|
This is designed to parse
|
|
the PublicKeyAndChallenge created by the KEYGEN tag included by
|
|
Mozilla based browsers.
|
|
<pre>
|
|
PublicKeyAndChallenge ::= SEQUENCE {
|
|
spki SubjectPublicKeyInfo,
|
|
challenge IA5STRING
|
|
}
|
|
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Nist.NistNamedCurves">
|
|
Utility class for fetching curves using their NIST names as published in FIPS-PUB 186-3
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Nist.NistNamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the X9ECParameters object for the named curve represented by
|
|
the passed in object identifier. Null if the curve isn't present.
|
|
|
|
@param oid an object identifier representing a named curve, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Nist.NistNamedCurves.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Nist.NistNamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Nist.NistNamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdDsaWithSha3_224">
|
|
2.16.840.1.101.3.4.3.5
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdDsaWithSha3_256">
|
|
2.16.840.1.101.3.4.3.6
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdDsaWithSha3_384">
|
|
2.16.840.1.101.3.4.3.7
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdDsaWithSha3_512">
|
|
2.16.840.1.101.3.4.3.8
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdEcdsaWithSha3_224">
|
|
2.16.840.1.101.3.4.3.9
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdEcdsaWithSha3_256">
|
|
2.16.840.1.101.3.4.3.10
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdEcdsaWithSha3_384">
|
|
2.16.840.1.101.3.4.3.11
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdEcdsaWithSha3_512">
|
|
2.16.840.1.101.3.4.3.12
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_224">
|
|
2.16.840.1.101.3.4.3.9
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_256">
|
|
2.16.840.1.101.3.4.3.10
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_384">
|
|
2.16.840.1.101.3.4.3.11
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Nist.NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_512">
|
|
2.16.840.1.101.3.4.3.12
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Ntt.NttObjectIdentifiers">
|
|
<summary>From RFC 3657</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.BasicOcspResponse.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
BasicOcspResponse ::= Sequence {
|
|
tbsResponseData ResponseData,
|
|
signatureAlgorithm AlgorithmIdentifier,
|
|
signature BIT STRING,
|
|
certs [0] EXPLICIT Sequence OF Certificate OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.CertID.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
CertID ::= Sequence {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
issuerNameHash OCTET STRING, -- Hash of Issuer's DN
|
|
issuerKeyHash OCTET STRING, -- Hash of Issuers public key
|
|
serialNumber CertificateSerialNumber }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.CertStatus.#ctor">
|
|
create a CertStatus object with a tag of zero.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.CertStatus.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
CertStatus ::= CHOICE {
|
|
good [0] IMPLICIT Null,
|
|
revoked [1] IMPLICIT RevokedInfo,
|
|
unknown [2] IMPLICIT UnknownInfo }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.CrlID.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
CrlID ::= Sequence {
|
|
crlUrl [0] EXPLICIT IA5String OPTIONAL,
|
|
crlNum [1] EXPLICIT Integer OPTIONAL,
|
|
crlTime [2] EXPLICIT GeneralizedTime OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.OcspRequest.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OcspRequest ::= Sequence {
|
|
tbsRequest TBSRequest,
|
|
optionalSignature [0] EXPLICIT Signature OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.OcspResponse.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OcspResponse ::= Sequence {
|
|
responseStatus OcspResponseStatus,
|
|
responseBytes [0] EXPLICIT ResponseBytes OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.OcspResponseStatus.#ctor(System.Int32)">
|
|
The OcspResponseStatus enumeration.
|
|
<pre>
|
|
OcspResponseStatus ::= Enumerated {
|
|
successful (0), --Response has valid confirmations
|
|
malformedRequest (1), --Illegal confirmation request
|
|
internalError (2), --Internal error in issuer
|
|
tryLater (3), --Try again later
|
|
--(4) is not used
|
|
sigRequired (5), --Must sign the request
|
|
unauthorized (6) --Request unauthorized
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.Request.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Request ::= Sequence {
|
|
reqCert CertID,
|
|
singleRequestExtensions [0] EXPLICIT Extensions OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.ResponderID.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ResponderID ::= CHOICE {
|
|
byName [1] Name,
|
|
byKey [2] KeyHash }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.ResponseBytes.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ResponseBytes ::= Sequence {
|
|
responseType OBJECT IDENTIFIER,
|
|
response OCTET STRING }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.ResponseData.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ResponseData ::= Sequence {
|
|
version [0] EXPLICIT Version DEFAULT v1,
|
|
responderID ResponderID,
|
|
producedAt GeneralizedTime,
|
|
responses Sequence OF SingleResponse,
|
|
responseExtensions [1] EXPLICIT Extensions OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.RevokedInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
RevokedInfo ::= Sequence {
|
|
revocationTime GeneralizedTime,
|
|
revocationReason [0] EXPLICIT CRLReason OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.ServiceLocator.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ServiceLocator ::= Sequence {
|
|
issuer Name,
|
|
locator AuthorityInfoAccessSyntax OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.Signature.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Signature ::= Sequence {
|
|
signatureAlgorithm AlgorithmIdentifier,
|
|
signature BIT STRING,
|
|
certs [0] EXPLICIT Sequence OF Certificate OPTIONAL}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.SingleResponse.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SingleResponse ::= Sequence {
|
|
certID CertID,
|
|
certStatus CertStatus,
|
|
thisUpdate GeneralizedTime,
|
|
nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL,
|
|
singleExtensions [1] EXPLICIT Extensions OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Ocsp.TbsRequest.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
TBSRequest ::= Sequence {
|
|
version [0] EXPLICIT Version DEFAULT v1,
|
|
requestorName [1] EXPLICIT GeneralName OPTIONAL,
|
|
requestList Sequence OF Request,
|
|
requestExtensions [2] EXPLICIT Extensions OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.OidTokenizer">
|
|
class for breaking up an Oid into it's component tokens, ala
|
|
java.util.StringTokenizer. We need this class as some of the
|
|
lightweight Java environment don't support classes like
|
|
StringTokenizer.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.AttributePkcs.GetInstance(System.Object)">
|
|
return an Attribute object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.AttributePkcs.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Attr ::= Sequence {
|
|
attrType OBJECT IDENTIFIER,
|
|
attrValues Set OF AttributeValue
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Pkcs.CertificationRequest">
|
|
Pkcs10 Certfication request object.
|
|
<pre>
|
|
CertificationRequest ::= Sequence {
|
|
certificationRequestInfo CertificationRequestInfo,
|
|
signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }},
|
|
signature BIT STRING
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Pkcs.CertificationRequestInfo">
|
|
Pkcs10 CertificationRequestInfo object.
|
|
<pre>
|
|
CertificationRequestInfo ::= Sequence {
|
|
version Integer { v1(0) } (v1,...),
|
|
subject Name,
|
|
subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
|
|
attributes [0] Attributes{{ CRIAttributes }}
|
|
}
|
|
|
|
Attributes { ATTRIBUTE:IOSet } ::= Set OF Attr{{ IOSet }}
|
|
|
|
Attr { ATTRIBUTE:IOSet } ::= Sequence {
|
|
type ATTRIBUTE.&id({IOSet}),
|
|
values Set SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{\@type})
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.ContentInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ContentInfo ::= Sequence {
|
|
contentType ContentType,
|
|
content
|
|
[0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Pkcs.EncryptedData">
|
|
The EncryptedData object.
|
|
<pre>
|
|
EncryptedData ::= Sequence {
|
|
version Version,
|
|
encryptedContentInfo EncryptedContentInfo
|
|
}
|
|
|
|
|
|
EncryptedContentInfo ::= Sequence {
|
|
contentType ContentType,
|
|
contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
|
|
encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL
|
|
}
|
|
|
|
EncryptedContent ::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
EncryptedPrivateKeyInfo ::= Sequence {
|
|
encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
|
|
encryptedData EncryptedData
|
|
}
|
|
|
|
EncryptedData ::= OCTET STRING
|
|
|
|
KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
|
|
... -- For local profiles
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.MacData.ToAsn1Object">
|
|
<pre>
|
|
MacData ::= SEQUENCE {
|
|
mac DigestInfo,
|
|
macSalt OCTET STRING,
|
|
iterations INTEGER DEFAULT 1
|
|
-- Note: The default is for historic reasons and its use is deprecated. A
|
|
-- higher value, like 1024 is recommended.
|
|
</pre>
|
|
@return the basic DERObject construction.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Pkcs.Pfx">
|
|
the infamous Pfx from Pkcs12
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.Sha512_224WithRSAEncryption">
|
|
PKCS#1: 1.2.840.113549.1.1.15
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.Sha512_256WithRSAEncryption">
|
|
PKCS#1: 1.2.840.113549.1.1.16
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.IdAlgAeadChaCha20Poly1305">
|
|
<pre>
|
|
id-alg-AEADChaCha20Poly1305 OBJECT IDENTIFIER ::=
|
|
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
|
|
pkcs9(9) smime(16) alg(3) 18 }
|
|
|
|
AEADChaCha20Poly1305Nonce ::= OCTET STRING (SIZE(12))
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.IdAADecryptKeyID">
|
|
PKCS#9: 1.2.840.113549.1.9.16.2.37 - <a href="https://tools.ietf.org/html/rfc4108#section-2.2.5">RFC 4108</a>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.IdAAImplCryptoAlgs">
|
|
PKCS#9: 1.2.840.113549.1.9.16.2.38 - <a href="https://tools.ietf.org/html/rfc4108#section-2.2.6">RFC 4108</a>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.IdAAAsymmDecryptKeyID">
|
|
PKCS#9: 1.2.840.113549.1.9.16.2.54 <a href="https://tools.ietf.org/html/rfc7030">RFC7030</a>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.IdAAImplCompressAlgs">
|
|
PKCS#9: 1.2.840.113549.1.9.16.2.43 <a href="https://tools.ietf.org/html/rfc7030">RFC7030</a>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers.IdAACommunityIdentifiers">
|
|
PKCS#9: 1.2.840.113549.1.9.16.2.40 <a href="https://tools.ietf.org/html/rfc7030">RFC7030</a>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo">
|
|
RFC 5958
|
|
|
|
<pre>
|
|
[IMPLICIT TAGS]
|
|
|
|
OneAsymmetricKey ::= SEQUENCE {
|
|
version Version,
|
|
privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
|
|
privateKey PrivateKey,
|
|
attributes [0] Attributes OPTIONAL,
|
|
...,
|
|
[[2: publicKey [1] PublicKey OPTIONAL ]],
|
|
...
|
|
}
|
|
|
|
PrivateKeyInfo ::= OneAsymmetricKey
|
|
|
|
Version ::= INTEGER { v1(0), v2(1) } (v1, ..., v2)
|
|
|
|
PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
{ PUBLIC-KEY,
|
|
{ PrivateKeyAlgorithms } }
|
|
|
|
PrivateKey ::= OCTET STRING
|
|
-- Content varies based on type of key. The
|
|
-- algorithm identifier dictates the format of
|
|
-- the key.
|
|
|
|
PublicKey ::= BIT STRING
|
|
-- Content varies based on type of key. The
|
|
-- algorithm identifier dictates the format of
|
|
-- the key.
|
|
|
|
Attributes ::= SET OF Attribute { { OneAsymmetricKeyAttributes } }
|
|
</pre>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo.HasPublicKey">
|
|
<summary>Return true if a public key is present, false otherwise.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo.ParsePublicKey">
|
|
<summary>For when the public key is an ASN.1 encoding.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo.PublicKeyData">
|
|
<summary>Return the public key as a raw bit string.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.RsaesOaepParameters.#ctor">
|
|
The default version
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.RsaesOaepParameters.ToAsn1Object">
|
|
<pre>
|
|
RSAES-OAEP-params ::= SEQUENCE {
|
|
hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1,
|
|
maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1,
|
|
pSourceAlgorithm [2] PKCS1PSourceAlgorithms DEFAULT pSpecifiedEmpty
|
|
}
|
|
|
|
OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= {
|
|
{ OID id-sha1 PARAMETERS NULL }|
|
|
{ OID id-sha256 PARAMETERS NULL }|
|
|
{ OID id-sha384 PARAMETERS NULL }|
|
|
{ OID id-sha512 PARAMETERS NULL },
|
|
... -- Allows for future expansion --
|
|
}
|
|
PKCS1MGFAlgorithms ALGORITHM-IDENTIFIER ::= {
|
|
{ OID id-mgf1 PARAMETERS OAEP-PSSDigestAlgorithms },
|
|
... -- Allows for future expansion --
|
|
}
|
|
PKCS1PSourceAlgorithms ALGORITHM-IDENTIFIER ::= {
|
|
{ OID id-pSpecified PARAMETERS OCTET STRING },
|
|
... -- Allows for future expansion --
|
|
}
|
|
</pre>
|
|
@return the asn1 primitive representing the parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.RsaPrivateKeyStructure.ToAsn1Object">
|
|
This outputs the key in Pkcs1v2 format.
|
|
<pre>
|
|
RsaPrivateKey ::= Sequence {
|
|
version Version,
|
|
modulus Integer, -- n
|
|
publicExponent Integer, -- e
|
|
privateExponent Integer, -- d
|
|
prime1 Integer, -- p
|
|
prime2 Integer, -- q
|
|
exponent1 Integer, -- d mod (p-1)
|
|
exponent2 Integer, -- d mod (q-1)
|
|
coefficient Integer -- (inverse of q) mod p
|
|
}
|
|
|
|
Version ::= Integer
|
|
</pre>
|
|
<p>This routine is written to output Pkcs1 version 0, private keys.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.RsassaPssParameters.#ctor">
|
|
The default version
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.RsassaPssParameters.ToAsn1Object">
|
|
<pre>
|
|
RSASSA-PSS-params ::= SEQUENCE {
|
|
hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1,
|
|
maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1,
|
|
saltLength [2] INTEGER DEFAULT 20,
|
|
trailerField [3] TrailerField DEFAULT trailerFieldBC
|
|
}
|
|
|
|
OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= {
|
|
{ OID id-sha1 PARAMETERS NULL }|
|
|
{ OID id-sha256 PARAMETERS NULL }|
|
|
{ OID id-sha384 PARAMETERS NULL }|
|
|
{ OID id-sha512 PARAMETERS NULL },
|
|
... -- Allows for future expansion --
|
|
}
|
|
|
|
PKCS1MGFAlgorithms ALGORITHM-IDENTIFIER ::= {
|
|
{ OID id-mgf1 PARAMETERS OAEP-PSSDigestAlgorithms },
|
|
... -- Allows for future expansion --
|
|
}
|
|
|
|
TrailerField ::= INTEGER { trailerFieldBC(1) }
|
|
</pre>
|
|
@return the asn1 primitive representing the parameters.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Pkcs.SignedData">
|
|
a Pkcs#7 signed data object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.SignedData.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SignedData ::= Sequence {
|
|
version Version,
|
|
digestAlgorithms DigestAlgorithmIdentifiers,
|
|
contentInfo ContentInfo,
|
|
certificates
|
|
[0] IMPLICIT ExtendedCertificatesAndCertificates
|
|
OPTIONAL,
|
|
crls
|
|
[1] IMPLICIT CertificateRevocationLists OPTIONAL,
|
|
signerInfos SignerInfos }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Pkcs.SignerInfo">
|
|
a Pkcs#7 signer info object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Pkcs.SignerInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SignerInfo ::= Sequence {
|
|
version Version,
|
|
issuerAndSerialNumber IssuerAndSerialNumber,
|
|
digestAlgorithm DigestAlgorithmIdentifier,
|
|
authenticatedAttributes [0] IMPLICIT Attributes OPTIONAL,
|
|
digestEncryptionAlgorithm DigestEncryptionAlgorithmIdentifier,
|
|
encryptedDigest EncryptedDigest,
|
|
unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL
|
|
}
|
|
|
|
EncryptedDigest ::= OCTET STRING
|
|
|
|
DigestAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
|
|
DigestEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Sec.ECPrivateKeyStructure">
|
|
the elliptic curve private key object from SEC 1
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Sec.ECPrivateKeyStructure.ToAsn1Object">
|
|
ECPrivateKey ::= SEQUENCE {
|
|
version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
|
|
privateKey OCTET STRING,
|
|
parameters [0] Parameters OPTIONAL,
|
|
publicKey [1] BIT STRING OPTIONAL }
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Sec.SecNamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the X9ECParameters object for the named curve represented by
|
|
the passed in object identifier. Null if the curve isn't present.
|
|
|
|
@param oid an object identifier representing a named curve, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Sec.SecNamedCurves.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Sec.SecNamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.Sec.SecNamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Sec.SecObjectIdentifiers.EllipticCurve">
|
|
EllipticCurve OBJECT IDENTIFIER ::= {
|
|
iso(1) identified-organization(3) certicom(132) curve(0)
|
|
}
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Smime.SmimeCapabilities">
|
|
Handler class for dealing with S/MIME Capabilities
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Smime.SmimeCapabilities.PreferSignedData">
|
|
general preferences
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Smime.SmimeCapabilities.Aes256Cbc">
|
|
encryption algorithms preferences
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Smime.SmimeCapabilities.GetInstance(System.Object)">
|
|
return an Attr object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Smime.SmimeCapabilities.GetCapabilitiesForOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
returns an ArrayList with 0 or more objects of all the capabilities
|
|
matching the passed in capability Oid. If the Oid passed is null the
|
|
entire set is returned.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Smime.SmimeCapabilities.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SMIMECapabilities ::= Sequence OF SMIMECapability
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Smime.SmimeCapability.PreferSignedData">
|
|
general preferences
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.Smime.SmimeCapability.DesCbc">
|
|
encryption algorithms preferences
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Smime.SmimeCapability.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SMIMECapability ::= Sequence {
|
|
capabilityID OBJECT IDENTIFIER,
|
|
parameters ANY DEFINED BY capabilityID OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Smime.SmimeCapabilityVector">
|
|
Handler for creating a vector S/MIME Capabilities
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.Smime.SmimeEncryptionKeyPreferenceAttribute">
|
|
The SmimeEncryptionKeyPreference object.
|
|
<pre>
|
|
SmimeEncryptionKeyPreference ::= CHOICE {
|
|
issuerAndSerialNumber [0] IssuerAndSerialNumber,
|
|
receipentKeyId [1] RecipientKeyIdentifier,
|
|
subjectAltKeyIdentifier [2] SubjectKeyIdentifier
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Smime.SmimeEncryptionKeyPreferenceAttribute.#ctor(Org.BouncyCastle.Asn1.Asn1OctetString)">
|
|
@param sKeyId the subjectKeyIdentifier value (normally the X.509 one)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.TeleTrust.TeleTrusTNamedCurves">
|
|
elliptic curves defined in "ECC Brainpool Standard Curves and Curve Generation"
|
|
http://www.ecc-brainpool.org/download/draft_pkix_additional_ecc_dp.txt
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.TeleTrust.TeleTrusTNamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the X9ECParameters object for the named curve represented by
|
|
the passed in object identifier. Null if the curve isn't present.
|
|
|
|
@param oid an object identifier representing a named curve, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.TeleTrust.TeleTrusTNamedCurves.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.TeleTrust.TeleTrusTNamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.TeleTrust.TeleTrusTNamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Tsp.Accuracy.ToAsn1Object">
|
|
<pre>
|
|
Accuracy ::= SEQUENCE {
|
|
seconds INTEGER OPTIONAL,
|
|
millis [0] INTEGER (1..999) OPTIONAL,
|
|
micros [1] INTEGER (1..999) OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Tsp.MessageImprint.GetInstance(System.Object)">
|
|
@param o
|
|
@return a MessageImprint object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Tsp.MessageImprint.ToAsn1Object">
|
|
<pre>
|
|
MessageImprint ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
hashedMessage OCTET STRING }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Tsp.TimeStampReq.ToAsn1Object">
|
|
<pre>
|
|
TimeStampReq ::= SEQUENCE {
|
|
version INTEGER { v1(1) },
|
|
messageImprint MessageImprint,
|
|
--a hash algorithm OID and the hash value of the data to be
|
|
--time-stamped
|
|
reqPolicy TSAPolicyId OPTIONAL,
|
|
nonce INTEGER OPTIONAL,
|
|
certReq BOOLEAN DEFAULT FALSE,
|
|
extensions [0] IMPLICIT Extensions OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Tsp.TimeStampResp.ToAsn1Object">
|
|
<pre>
|
|
TimeStampResp ::= SEQUENCE {
|
|
status PkiStatusInfo,
|
|
timeStampToken TimeStampToken OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Tsp.TstInfo.ToAsn1Object">
|
|
<pre>
|
|
|
|
TstInfo ::= SEQUENCE {
|
|
version INTEGER { v1(1) },
|
|
policy TSAPolicyId,
|
|
messageImprint MessageImprint,
|
|
-- MUST have the same value as the similar field in
|
|
-- TimeStampReq
|
|
serialNumber INTEGER,
|
|
-- Time-Stamping users MUST be ready to accommodate integers
|
|
-- up to 160 bits.
|
|
genTime GeneralizedTime,
|
|
accuracy Accuracy OPTIONAL,
|
|
ordering BOOLEAN DEFAULT FALSE,
|
|
nonce INTEGER OPTIONAL,
|
|
-- MUST be present if the similar field was present
|
|
-- in TimeStampReq. In that case it MUST have the same value.
|
|
tsa [0] GeneralName OPTIONAL,
|
|
extensions [1] IMPLICIT Extensions OPTIONAL }
|
|
|
|
</pre>
|
|
</member>
|
|
<!-- Badly formed XML comment ignored for member "T:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers" -->
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.UaOid">
|
|
Base OID: 1.2.804.2.1.1.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu4145le">
|
|
DSTU4145 Little Endian presentation. OID: 1.2.804.2.1.1.1.1.3.1.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu4145be">
|
|
DSTU4145 Big Endian presentation. OID: 1.2.804.2.1.1.1.1.3.1.1.1
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7564digest_256">
|
|
DSTU7564 256-bit digest presentation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7564digest_384">
|
|
DSTU7564 384-bit digest presentation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7564digest_512">
|
|
DSTU7564 512-bit digest presentation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7564mac_256">
|
|
DSTU7564 256-bit mac presentation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7564mac_384">
|
|
DSTU7564 384-bit mac presentation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7564mac_512">
|
|
DSTU7564 512-bit mac presentation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ecb_128">
|
|
DSTU7624 in ECB mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ecb_256">
|
|
DSTU7624 in ECB mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ecb_512">
|
|
DSTU7624 in ECB mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ctr_128">
|
|
DSTU7624 in CTR mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ctr_256">
|
|
DSTU7624 in CTR mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ctr_512">
|
|
DSTU7624 in CTR mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cfb_128">
|
|
DSTU7624 in CFB mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cfb_256">
|
|
DSTU7624 in CFB mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cfb_512">
|
|
DSTU7624 in CFB mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cmac_128">
|
|
DSTU7624 in MAC mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cmac_256">
|
|
DSTU7624 in MAC mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cmac_512">
|
|
DSTU7624 in MAC mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cbc_128">
|
|
DSTU7624 in CBC mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cbc_256">
|
|
DSTU7624 in CBC mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624cbc_512">
|
|
DSTU7624 in CBC mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ofb_128">
|
|
DSTU7624 in OFB mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ofb_256">
|
|
DSTU7624 in OFB mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ofb_512">
|
|
DSTU7624 in OFB mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624gmac_128">
|
|
DSTU7624 in GMAC (GCM witout encryption) mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624gmac_256">
|
|
DSTU7624 in GMAC (GCM witout encryption) mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624gmac_512">
|
|
DSTU7624 in GMAC (GCM witout encryption) mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ccm_128">
|
|
DSTU7624 in CCM mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ccm_256">
|
|
DSTU7624 in CCM mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624ccm_512">
|
|
DSTU7624 in CCM mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624xts_128">
|
|
DSTU7624 in XTS mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624xts_256">
|
|
DSTU7624 in XTS mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624xts_512">
|
|
DSTU7624 in XTS mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624kw_128">
|
|
DSTU7624 in key wrap (KW) mode with 128 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624kw_256">
|
|
DSTU7624 in key wrap (KW) mode with 256 bit block/key presentation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.UA.UAObjectIdentifiers.dstu7624kw_512">
|
|
DSTU7624 in key wrap (KW) mode with 512 bit block/key presentation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Utilities.Asn1Dump.AsString(System.String,System.Boolean,Org.BouncyCastle.Asn1.Asn1Object,System.Text.StringBuilder)">
|
|
dump a Der object as a formatted string with indentation
|
|
|
|
@param obj the Asn1Object to be dumped out.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Utilities.Asn1Dump.DumpAsString(Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
dump out a DER object as a formatted string, in non-verbose mode
|
|
|
|
@param obj the Asn1Encodable to be dumped out.
|
|
@return the resulting string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.Utilities.Asn1Dump.DumpAsString(Org.BouncyCastle.Asn1.Asn1Encodable,System.Boolean)">
|
|
Dump out the object as a string
|
|
|
|
@param obj the Asn1Encodable to be dumped out.
|
|
@param verbose if true, dump out the contents of octet and bit strings.
|
|
@return the resulting string.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X500.AttributeTypeAndValue">
|
|
Holding class for the AttributeTypeAndValue structures that make up an RDN.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X500.AttributeTypeAndValue.ToAsn1Object">
|
|
<pre>
|
|
AttributeTypeAndValue ::= SEQUENCE {
|
|
type OBJECT IDENTIFIER,
|
|
value ANY DEFINED BY type }
|
|
</pre>
|
|
@return a basic ASN.1 object representation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X500.DirectoryString.ToAsn1Object">
|
|
<pre>
|
|
DirectoryString ::= CHOICE {
|
|
teletexString TeletexString (SIZE (1..MAX)),
|
|
printableString PrintableString (SIZE (1..MAX)),
|
|
universalString UniversalString (SIZE (1..MAX)),
|
|
utf8String UTF8String (SIZE (1..MAX)),
|
|
bmpString BMPString (SIZE (1..MAX)) }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X500.Rdn">
|
|
Holding class for a single Relative Distinguished Name (RDN).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X500.Rdn.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
Create a single valued RDN.
|
|
|
|
@param oid RDN type.
|
|
@param value RDN value.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X500.Rdn.#ctor(Org.BouncyCastle.Asn1.X500.AttributeTypeAndValue[])">
|
|
Create a multi-valued RDN.
|
|
|
|
@param aAndVs attribute type/value pairs making up the RDN
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X500.Rdn.Count">
|
|
Return the number of AttributeTypeAndValue objects in this RDN,
|
|
|
|
@return size of RDN, greater than 1 if multi-valued.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X500.Rdn.ToAsn1Object">
|
|
* <pre>
|
|
* RelativeDistinguishedName ::=
|
|
* SET OF AttributeTypeAndValue
|
|
|
|
* AttributeTypeAndValue ::= SEQUENCE {
|
|
* type AttributeType,
|
|
* value AttributeValue }
|
|
* </pre>
|
|
* @return this object as its ASN1Primitive type
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.AccessDescription">
|
|
The AccessDescription object.
|
|
<pre>
|
|
AccessDescription ::= SEQUENCE {
|
|
accessMethod OBJECT IDENTIFIER,
|
|
accessLocation GeneralName }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AccessDescription.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
create an AccessDescription with the oid and location provided.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.AccessDescription.AccessMethod">
|
|
|
|
@return the access method.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.AccessDescription.AccessLocation">
|
|
|
|
@return the access location
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier.Algorithm">
|
|
<summary>
|
|
Return the OID in the Algorithm entry of this identifier.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier.Parameters">
|
|
<summary>
|
|
Return the parameters structure in the Parameters entry of this identifier.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AlgorithmIdentifier ::= Sequence {
|
|
algorithm OBJECT IDENTIFIER,
|
|
parameters ANY DEFINED BY algorithm OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttCertIssuer.#ctor(Org.BouncyCastle.Asn1.X509.GeneralNames)">
|
|
<summary>
|
|
Don't use this one if you are trying to be RFC 3281 compliant.
|
|
Use it for v1 attribute certificates only.
|
|
</summary>
|
|
<param name="names">Our GeneralNames structure</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttCertIssuer.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AttCertIssuer ::= CHOICE {
|
|
v1Form GeneralNames, -- MUST NOT be used in this
|
|
-- profile
|
|
v2Form [0] V2Form -- v2 only
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttCertValidityPeriod.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AttCertValidityPeriod ::= Sequence {
|
|
notBeforeTime GeneralizedTime,
|
|
notAfterTime GeneralizedTime
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttributeX509.GetInstance(System.Object)">
|
|
return an Attr object from the given object.
|
|
|
|
@param o the object we want converted.
|
|
@exception ArgumentException if the object cannot be converted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttributeX509.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Attr ::= Sequence {
|
|
attrType OBJECT IDENTIFIER,
|
|
attrValues Set OF AttributeValue
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttributeCertificate.GetInstance(System.Object)">
|
|
@param obj
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttributeCertificate.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AttributeCertificate ::= Sequence {
|
|
acinfo AttributeCertificateInfo,
|
|
signatureAlgorithm AlgorithmIdentifier,
|
|
signatureValue BIT STRING
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AttributeCertificateInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
AttributeCertificateInfo ::= Sequence {
|
|
version AttCertVersion -- version is v2,
|
|
holder Holder,
|
|
issuer AttCertIssuer,
|
|
signature AlgorithmIdentifier,
|
|
serialNumber CertificateSerialNumber,
|
|
attrCertValidityPeriod AttCertValidityPeriod,
|
|
attributes Sequence OF Attr,
|
|
issuerUniqueID UniqueIdentifier OPTIONAL,
|
|
extensions Extensions OPTIONAL
|
|
}
|
|
|
|
AttCertVersion ::= Integer { v2(1) }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.AuthorityInformationAccess">
|
|
The AuthorityInformationAccess object.
|
|
<pre>
|
|
id-pe-authorityInfoAccess OBJECT IDENTIFIER ::= { id-pe 1 }
|
|
|
|
AuthorityInfoAccessSyntax ::=
|
|
Sequence SIZE (1..MAX) OF AccessDescription
|
|
AccessDescription ::= Sequence {
|
|
accessMethod OBJECT IDENTIFIER,
|
|
accessLocation GeneralName }
|
|
|
|
id-ad OBJECT IDENTIFIER ::= { id-pkix 48 }
|
|
id-ad-caIssuers OBJECT IDENTIFIER ::= { id-ad 2 }
|
|
id-ad-ocsp OBJECT IDENTIFIER ::= { id-ad 1 }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AuthorityInformationAccess.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
create an AuthorityInformationAccess with the oid and location provided.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.AuthorityKeyIdentifier">
|
|
The AuthorityKeyIdentifier object.
|
|
<pre>
|
|
id-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 35 }
|
|
|
|
AuthorityKeyIdentifier ::= Sequence {
|
|
keyIdentifier [0] IMPLICIT KeyIdentifier OPTIONAL,
|
|
authorityCertIssuer [1] IMPLICIT GeneralNames OPTIONAL,
|
|
authorityCertSerialNumber [2] IMPLICIT CertificateSerialNumber OPTIONAL }
|
|
|
|
KeyIdentifier ::= OCTET STRING
|
|
</pre>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AuthorityKeyIdentifier.#ctor(Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)">
|
|
*
|
|
* Calulates the keyidentifier using a SHA1 hash over the BIT STRING
|
|
* from SubjectPublicKeyInfo as defined in RFC2459.
|
|
*
|
|
* Example of making a AuthorityKeyIdentifier:
|
|
* <pre>
|
|
* SubjectPublicKeyInfo apki = new SubjectPublicKeyInfo((ASN1Sequence)new ASN1InputStream(
|
|
* publicKey.getEncoded()).readObject());
|
|
* AuthorityKeyIdentifier aki = new AuthorityKeyIdentifier(apki);
|
|
* </pre>
|
|
*
|
|
*
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AuthorityKeyIdentifier.#ctor(Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo,Org.BouncyCastle.Asn1.X509.GeneralNames,Org.BouncyCastle.Math.BigInteger)">
|
|
create an AuthorityKeyIdentifier with the GeneralNames tag and
|
|
the serial number provided as well.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AuthorityKeyIdentifier.#ctor(Org.BouncyCastle.Asn1.X509.GeneralNames,Org.BouncyCastle.Math.BigInteger)">
|
|
create an AuthorityKeyIdentifier with the GeneralNames tag and
|
|
the serial number provided.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AuthorityKeyIdentifier.#ctor(System.Byte[])">
|
|
create an AuthorityKeyIdentifier with a precomputed key identifier
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AuthorityKeyIdentifier.#ctor(System.Byte[],Org.BouncyCastle.Asn1.X509.GeneralNames,Org.BouncyCastle.Math.BigInteger)">
|
|
create an AuthorityKeyIdentifier with a precomupted key identifier
|
|
and the GeneralNames tag and the serial number provided as well.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.AuthorityKeyIdentifier.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.BasicConstraints.#ctor(System.Int32)">
|
|
create a cA=true object for the given path length constraint.
|
|
|
|
@param pathLenConstraint
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.BasicConstraints.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
BasicConstraints := Sequence {
|
|
cA Boolean DEFAULT FALSE,
|
|
pathLenConstraint Integer (0..MAX) OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.CertificateList">
|
|
PKIX RFC-2459
|
|
|
|
The X.509 v2 CRL syntax is as follows. For signature calculation,
|
|
the data that is to be signed is ASN.1 Der encoded.
|
|
|
|
<pre>
|
|
CertificateList ::= Sequence {
|
|
tbsCertList TbsCertList,
|
|
signatureAlgorithm AlgorithmIdentifier,
|
|
signatureValue BIT STRING }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.CertificatePair">
|
|
This class helps to support crossCerfificatePairs in a LDAP directory
|
|
according RFC 2587
|
|
|
|
<pre>
|
|
crossCertificatePairATTRIBUTE::={
|
|
WITH SYNTAX CertificatePair
|
|
EQUALITY MATCHING RULE certificatePairExactMatch
|
|
ID joint-iso-ccitt(2) ds(5) attributeType(4) crossCertificatePair(40)}
|
|
</pre>
|
|
|
|
<blockquote> The forward elements of the crossCertificatePair attribute of a
|
|
CA's directory entry shall be used to store all, except self-issued
|
|
certificates issued to this CA. Optionally, the reverse elements of the
|
|
crossCertificatePair attribute, of a CA's directory entry may contain a
|
|
subset of certificates issued by this CA to other CAs. When both the forward
|
|
and the reverse elements are present in a single attribute value, issuer name
|
|
in one certificate shall match the subject name in the other and vice versa,
|
|
and the subject public key in one certificate shall be capable of verifying
|
|
the digital signature on the other certificate and vice versa.
|
|
|
|
When a reverse element is present, the forward element value and the reverse
|
|
element value need not be stored in the same attribute value; in other words,
|
|
they can be stored in either a single attribute value or two attribute
|
|
values. </blockquote>
|
|
|
|
<pre>
|
|
CertificatePair ::= SEQUENCE {
|
|
forward [0] Certificate OPTIONAL,
|
|
reverse [1] Certificate OPTIONAL,
|
|
-- at least one of the pair shall be present -- }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.CertificatePair.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
The sequence is of type CertificatePair:
|
|
<p/>
|
|
<pre>
|
|
CertificatePair ::= SEQUENCE {
|
|
forward [0] Certificate OPTIONAL,
|
|
reverse [1] Certificate OPTIONAL,
|
|
-- at least one of the pair shall be present -- }
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.CertificatePair.#ctor(Org.BouncyCastle.Asn1.X509.X509CertificateStructure,Org.BouncyCastle.Asn1.X509.X509CertificateStructure)">
|
|
Constructor from a given details.
|
|
|
|
@param forward Certificates issued to this CA.
|
|
@param reverse Certificates issued by this CA to other CAs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.CertificatePair.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
CertificatePair ::= SEQUENCE {
|
|
forward [0] Certificate OPTIONAL,
|
|
reverse [1] Certificate OPTIONAL,
|
|
-- at least one of the pair shall be present -- }
|
|
</pre>
|
|
|
|
@return a DERObject
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.CertificatePair.Forward">
|
|
@return Returns the forward.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.CertificatePair.Reverse">
|
|
@return Returns the reverse.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.CertificatePolicies.#ctor(Org.BouncyCastle.Asn1.X509.PolicyInformation)">
|
|
Construct a CertificatePolicies object containing one PolicyInformation.
|
|
|
|
@param name the name to be contained.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.CertificatePolicies.ToAsn1Object">
|
|
Produce an object suitable for an ASN1OutputStream.
|
|
<pre>
|
|
CertificatePolicies ::= SEQUENCE SIZE {1..MAX} OF PolicyInformation
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.CertPolicyID">
|
|
CertPolicyId, used in the CertificatePolicies and PolicyMappings
|
|
X509V3 Extensions.
|
|
|
|
<pre>
|
|
CertPolicyId ::= OBJECT IDENTIFIER
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.CrlDistPoint.GetDistributionPoints">
|
|
Return the distribution points making up the sequence.
|
|
|
|
@return DistributionPoint[]
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.CrlDistPoint.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
CrlDistPoint ::= Sequence SIZE {1..MAX} OF DistributionPoint
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.CrlNumber">
|
|
The CRLNumber object.
|
|
<pre>
|
|
CRLNumber::= Integer(0..MAX)
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.CrlReason">
|
|
The CRLReason enumeration.
|
|
<pre>
|
|
CRLReason ::= Enumerated {
|
|
unspecified (0),
|
|
keyCompromise (1),
|
|
cACompromise (2),
|
|
affiliationChanged (3),
|
|
superseded (4),
|
|
cessationOfOperation (5),
|
|
certificateHold (6),
|
|
removeFromCRL (8),
|
|
privilegeWithdrawn (9),
|
|
aACompromise (10)
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.DigestInfo">
|
|
The DigestInfo object.
|
|
<pre>
|
|
DigestInfo::=Sequence{
|
|
digestAlgorithm AlgorithmIdentifier,
|
|
digest OCTET STRING }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.DisplayText">
|
|
<code>DisplayText</code> class, used in
|
|
<code>CertificatePolicies</code> X509 V3 extensions (in policy qualifiers).
|
|
|
|
<p>It stores a string in a chosen encoding.
|
|
<pre>
|
|
DisplayText ::= CHOICE {
|
|
ia5String IA5String (SIZE (1..200)),
|
|
visibleString VisibleString (SIZE (1..200)),
|
|
bmpString BMPString (SIZE (1..200)),
|
|
utf8String UTF8String (SIZE (1..200)) }
|
|
</pre></p>
|
|
@see PolicyQualifierInfo
|
|
@see PolicyInformation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.DisplayText.ContentTypeIA5String">
|
|
Constant corresponding to ia5String encoding.
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.DisplayText.ContentTypeBmpString">
|
|
Constant corresponding to bmpString encoding.
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.DisplayText.ContentTypeUtf8String">
|
|
Constant corresponding to utf8String encoding.
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.DisplayText.ContentTypeVisibleString">
|
|
Constant corresponding to visibleString encoding.
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.DisplayText.DisplayTextMaximumSize">
|
|
Describe constant <code>DisplayTextMaximumSize</code> here.
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.DisplayText.#ctor(System.Int32,System.String)">
|
|
Creates a new <code>DisplayText</code> instance.
|
|
|
|
@param type the desired encoding type for the text.
|
|
@param text the text to store. Strings longer than 200
|
|
characters are truncated.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.DisplayText.#ctor(System.String)">
|
|
Creates a new <code>DisplayText</code> instance.
|
|
|
|
@param text the text to encapsulate. Strings longer than 200
|
|
characters are truncated.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.DisplayText.#ctor(Org.BouncyCastle.Asn1.IAsn1String)">
|
|
Creates a new <code>DisplayText</code> instance.
|
|
<p>Useful when reading back a <code>DisplayText</code> class
|
|
from it's Asn1Encodable form.</p>
|
|
|
|
@param contents an <code>Asn1Encodable</code> instance.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.DisplayText.GetString">
|
|
Returns the stored <code>string</code> object.
|
|
|
|
@return the stored text as a <code>string</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.DistributionPoint">
|
|
The DistributionPoint object.
|
|
<pre>
|
|
DistributionPoint ::= Sequence {
|
|
distributionPoint [0] DistributionPointName OPTIONAL,
|
|
reasons [1] ReasonFlags OPTIONAL,
|
|
cRLIssuer [2] GeneralNames OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.DistributionPointName">
|
|
The DistributionPointName object.
|
|
<pre>
|
|
DistributionPointName ::= CHOICE {
|
|
fullName [0] GeneralNames,
|
|
nameRelativeToCRLIssuer [1] RDN
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.ExtendedKeyUsage">
|
|
The extendedKeyUsage object.
|
|
<pre>
|
|
extendedKeyUsage ::= Sequence SIZE (1..MAX) OF KeyPurposeId
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.ExtendedKeyUsage.GetAllUsages">
|
|
Returns all extended key usages.
|
|
The returned ArrayList contains DerObjectIdentifier instances.
|
|
@return An ArrayList with all key purposes.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.GeneralName">
|
|
The GeneralName object.
|
|
<pre>
|
|
GeneralName ::= CHOICE {
|
|
otherName [0] OtherName,
|
|
rfc822Name [1] IA5String,
|
|
dNSName [2] IA5String,
|
|
x400Address [3] ORAddress,
|
|
directoryName [4] Name,
|
|
ediPartyName [5] EDIPartyName,
|
|
uniformResourceIdentifier [6] IA5String,
|
|
iPAddress [7] OCTET STRING,
|
|
registeredID [8] OBJECT IDENTIFIER}
|
|
|
|
OtherName ::= Sequence {
|
|
type-id OBJECT IDENTIFIER,
|
|
value [0] EXPLICIT ANY DEFINED BY type-id }
|
|
|
|
EDIPartyName ::= Sequence {
|
|
nameAssigner [0] DirectoryString OPTIONAL,
|
|
partyName [1] DirectoryString }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.GeneralName.#ctor(Org.BouncyCastle.Asn1.Asn1Object,System.Int32)">
|
|
When the subjectAltName extension contains an Internet mail address,
|
|
the address MUST be included as an rfc822Name. The format of an
|
|
rfc822Name is an "addr-spec" as defined in RFC 822 [RFC 822].
|
|
|
|
When the subjectAltName extension contains a domain name service
|
|
label, the domain name MUST be stored in the dNSName (an IA5String).
|
|
The name MUST be in the "preferred name syntax," as specified by RFC
|
|
1034 [RFC 1034].
|
|
|
|
When the subjectAltName extension contains a URI, the name MUST be
|
|
stored in the uniformResourceIdentifier (an IA5String). The name MUST
|
|
be a non-relative URL, and MUST follow the URL syntax and encoding
|
|
rules specified in [RFC 1738]. The name must include both a scheme
|
|
(e.g., "http" or "ftp") and a scheme-specific-part. The scheme-
|
|
specific-part must include a fully qualified domain name or IP
|
|
address as the host.
|
|
|
|
When the subjectAltName extension contains a iPAddress, the address
|
|
MUST be stored in the octet string in "network byte order," as
|
|
specified in RFC 791 [RFC 791]. The least significant bit (LSB) of
|
|
each octet is the LSB of the corresponding byte in the network
|
|
address. For IP Version 4, as specified in RFC 791, the octet string
|
|
MUST contain exactly four octets. For IP Version 6, as specified in
|
|
RFC 1883, the octet string MUST contain exactly sixteen octets [RFC
|
|
1883].
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.GeneralName.#ctor(System.Int32,System.String)">
|
|
Create a GeneralName for the given tag from the passed in string.
|
|
<p>
|
|
This constructor can handle:
|
|
<ul>
|
|
<li>rfc822Name</li>
|
|
<li>iPAddress</li>
|
|
<li>directoryName</li>
|
|
<li>dNSName</li>
|
|
<li>uniformResourceIdentifier</li>
|
|
<li>registeredID</li>
|
|
</ul>
|
|
For x400Address, otherName and ediPartyName there is no common string
|
|
format defined.
|
|
</p><p>
|
|
Note: A directory name can be encoded in different ways into a byte
|
|
representation. Be aware of this if the byte representation is used for
|
|
comparing results.
|
|
</p>
|
|
|
|
@param tag tag number
|
|
@param name string representation of name
|
|
@throws ArgumentException if the string encoding is not correct or
|
|
not supported.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.GeneralNames.#ctor(Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
<summary>Construct a GeneralNames object containing one GeneralName.</summary>
|
|
<param name="name">The name to be contained.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.GeneralNames.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
GeneralNames ::= Sequence SIZE {1..MAX} OF GeneralName
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.GeneralSubtree">
|
|
Class for containing a restriction object subtrees in NameConstraints. See
|
|
RFC 3280.
|
|
|
|
<pre>
|
|
|
|
GeneralSubtree ::= SEQUENCE
|
|
{
|
|
baseName GeneralName,
|
|
minimum [0] BaseDistance DEFAULT 0,
|
|
maximum [1] BaseDistance OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@see org.bouncycastle.asn1.x509.NameConstraints
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.GeneralSubtree.#ctor(Org.BouncyCastle.Asn1.X509.GeneralName,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor from a given details.
|
|
|
|
According RFC 3280, the minimum and maximum fields are not used with any
|
|
name forms, thus minimum MUST be zero, and maximum MUST be absent.
|
|
<p>
|
|
If minimum is <code>null</code>, zero is assumed, if
|
|
maximum is <code>null</code>, maximum is absent.</p>
|
|
|
|
@param baseName
|
|
A restriction.
|
|
@param minimum
|
|
Minimum
|
|
|
|
@param maximum
|
|
Maximum
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.GeneralSubtree.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
|
|
Returns:
|
|
|
|
<pre>
|
|
GeneralSubtree ::= SEQUENCE
|
|
{
|
|
baseName GeneralName,
|
|
minimum [0] BaseDistance DEFAULT 0,
|
|
maximum [1] BaseDistance OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@return a DERObject
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Holder">
|
|
The Holder object.
|
|
<p>
|
|
For an v2 attribute certificate this is:
|
|
|
|
<pre>
|
|
Holder ::= SEQUENCE {
|
|
baseCertificateID [0] IssuerSerial OPTIONAL,
|
|
-- the issuer and serial number of
|
|
-- the holder's Public Key Certificate
|
|
entityName [1] GeneralNames OPTIONAL,
|
|
-- the name of the claimant or role
|
|
objectDigestInfo [2] ObjectDigestInfo OPTIONAL
|
|
-- used to directly authenticate the holder,
|
|
-- for example, an executable
|
|
}
|
|
</pre>
|
|
</p>
|
|
<p>
|
|
For an v1 attribute certificate this is:
|
|
|
|
<pre>
|
|
subject CHOICE {
|
|
baseCertificateID [0] IssuerSerial,
|
|
-- associated with a Public Key Certificate
|
|
subjectName [1] GeneralNames },
|
|
-- associated with a name
|
|
</pre>
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Holder.#ctor(Org.BouncyCastle.Asn1.Asn1TaggedObject)">
|
|
Constructor for a holder for an v1 attribute certificate.
|
|
|
|
@param tagObj The ASN.1 tagged holder object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Holder.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor for a holder for an v2 attribute certificate. *
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Holder.#ctor(Org.BouncyCastle.Asn1.X509.IssuerSerial,System.Int32)">
|
|
Constructs a holder from a IssuerSerial.
|
|
@param baseCertificateID The IssuerSerial.
|
|
@param version The version of the attribute certificate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.Holder.Version">
|
|
Returns 1 for v2 attribute certificates or 0 for v1 attribute
|
|
certificates.
|
|
@return The version of the attribute certificate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Holder.#ctor(Org.BouncyCastle.Asn1.X509.GeneralNames)">
|
|
Constructs a holder with an entityName for v2 attribute certificates or
|
|
with a subjectName for v1 attribute certificates.
|
|
|
|
@param entityName The entity or subject name.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Holder.#ctor(Org.BouncyCastle.Asn1.X509.GeneralNames,System.Int32)">
|
|
Constructs a holder with an entityName for v2 attribute certificates or
|
|
with a subjectName for v1 attribute certificates.
|
|
|
|
@param entityName The entity or subject name.
|
|
@param version The version of the attribute certificate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Holder.#ctor(Org.BouncyCastle.Asn1.X509.ObjectDigestInfo)">
|
|
Constructs a holder from an object digest info.
|
|
|
|
@param objectDigestInfo The object digest info object.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.Holder.EntityName">
|
|
Returns the entityName for an v2 attribute certificate or the subjectName
|
|
for an v1 attribute certificate.
|
|
|
|
@return The entityname or subjectname.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Holder.ToAsn1Object">
|
|
The Holder object.
|
|
<pre>
|
|
Holder ::= Sequence {
|
|
baseCertificateID [0] IssuerSerial OPTIONAL,
|
|
-- the issuer and serial number of
|
|
-- the holder's Public Key Certificate
|
|
entityName [1] GeneralNames OPTIONAL,
|
|
-- the name of the claimant or role
|
|
objectDigestInfo [2] ObjectDigestInfo OPTIONAL
|
|
-- used to directly authenticate the holder,
|
|
-- for example, an executable
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.IetfAttrSyntax">
|
|
Implementation of <code>IetfAttrSyntax</code> as specified by RFC3281.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.IetfAttrSyntax.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.IetfAttrSyntax.ToAsn1Object">
|
|
|
|
<pre>
|
|
|
|
IetfAttrSyntax ::= Sequence {
|
|
policyAuthority [0] GeneralNames OPTIONAL,
|
|
values Sequence OF CHOICE {
|
|
octets OCTET STRING,
|
|
oid OBJECT IDENTIFIER,
|
|
string UTF8String
|
|
}
|
|
}
|
|
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.IssuerSerial.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
IssuerSerial ::= Sequence {
|
|
issuer GeneralNames,
|
|
serial CertificateSerialNumber,
|
|
issuerUid UniqueIdentifier OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.IssuingDistributionPoint">
|
|
<pre>
|
|
IssuingDistributionPoint ::= SEQUENCE {
|
|
distributionPoint [0] DistributionPointName OPTIONAL,
|
|
onlyContainsUserCerts [1] BOOLEAN DEFAULT FALSE,
|
|
onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE,
|
|
onlySomeReasons [3] ReasonFlags OPTIONAL,
|
|
indirectCRL [4] BOOLEAN DEFAULT FALSE,
|
|
onlyContainsAttributeCerts [5] BOOLEAN DEFAULT FALSE }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.IssuingDistributionPoint.#ctor(Org.BouncyCastle.Asn1.X509.DistributionPointName,System.Boolean,System.Boolean,Org.BouncyCastle.Asn1.X509.ReasonFlags,System.Boolean,System.Boolean)">
|
|
Constructor from given details.
|
|
|
|
@param distributionPoint
|
|
May contain an URI as pointer to most current CRL.
|
|
@param onlyContainsUserCerts Covers revocation information for end certificates.
|
|
@param onlyContainsCACerts Covers revocation information for CA certificates.
|
|
|
|
@param onlySomeReasons
|
|
Which revocation reasons does this point cover.
|
|
@param indirectCRL
|
|
If <code>true</code> then the CRL contains revocation
|
|
information about certificates ssued by other CAs.
|
|
@param onlyContainsAttributeCerts Covers revocation information for attribute certificates.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.IssuingDistributionPoint.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.IssuingDistributionPoint.DistributionPoint">
|
|
@return Returns the distributionPoint.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.IssuingDistributionPoint.OnlySomeReasons">
|
|
@return Returns the onlySomeReasons.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.KeyPurposeID">
|
|
The KeyPurposeID object.
|
|
<pre>
|
|
KeyPurposeID ::= OBJECT IDENTIFIER
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.KeyUsage">
|
|
The KeyUsage object.
|
|
<pre>
|
|
id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 }
|
|
|
|
KeyUsage ::= BIT STRING {
|
|
digitalSignature (0),
|
|
nonRepudiation (1),
|
|
keyEncipherment (2),
|
|
dataEncipherment (3),
|
|
keyAgreement (4),
|
|
keyCertSign (5),
|
|
cRLSign (6),
|
|
encipherOnly (7),
|
|
decipherOnly (8) }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.KeyUsage.#ctor(System.Int32)">
|
|
Basic constructor.
|
|
|
|
@param usage - the bitwise OR of the Key Usage flags giving the
|
|
allowed uses for the key.
|
|
e.g. (KeyUsage.keyEncipherment | KeyUsage.dataEncipherment)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.NameConstraints.#ctor(System.Collections.IList,System.Collections.IList)">
|
|
Constructor from a given details.
|
|
|
|
<p>permitted and excluded are Vectors of GeneralSubtree objects.</p>
|
|
|
|
@param permitted Permitted subtrees
|
|
@param excluded Excluded subtrees
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.NoticeReference">
|
|
<code>NoticeReference</code> class, used in
|
|
<code>CertificatePolicies</code> X509 V3 extensions
|
|
(in policy qualifiers).
|
|
|
|
<pre>
|
|
NoticeReference ::= Sequence {
|
|
organization DisplayText,
|
|
noticeNumbers Sequence OF Integer }
|
|
|
|
</pre>
|
|
|
|
@see PolicyQualifierInfo
|
|
@see PolicyInformation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.NoticeReference.#ctor(System.String,System.Collections.IList)">
|
|
Creates a new <code>NoticeReference</code> instance.
|
|
|
|
@param organization a <code>String</code> value
|
|
@param numbers a <code>Vector</code> value
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.NoticeReference.#ctor(System.String,Org.BouncyCastle.Asn1.Asn1EncodableVector)">
|
|
Creates a new <code>NoticeReference</code> instance.
|
|
|
|
@param organization a <code>String</code> value
|
|
@param noticeNumbers an <code>ASN1EncodableVector</code> value
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.NoticeReference.#ctor(Org.BouncyCastle.Asn1.X509.DisplayText,Org.BouncyCastle.Asn1.Asn1EncodableVector)">
|
|
Creates a new <code>NoticeReference</code> instance.
|
|
|
|
@param organization displayText
|
|
@param noticeNumbers an <code>ASN1EncodableVector</code> value
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.NoticeReference.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Creates a new <code>NoticeReference</code> instance.
|
|
<p>Useful for reconstructing a <code>NoticeReference</code>
|
|
instance from its encodable/encoded form.</p>
|
|
|
|
@param as an <code>Asn1Sequence</code> value obtained from either
|
|
calling @{link ToAsn1Object()} for a <code>NoticeReference</code>
|
|
instance or from parsing it from a Der-encoded stream.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.NoticeReference.ToAsn1Object">
|
|
Describe <code>ToAsn1Object</code> method here.
|
|
|
|
@return a <code>Asn1Object</code> value
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.ObjectDigestInfo">
|
|
ObjectDigestInfo ASN.1 structure used in v2 attribute certificates.
|
|
|
|
<pre>
|
|
|
|
ObjectDigestInfo ::= SEQUENCE {
|
|
digestedObjectType ENUMERATED {
|
|
publicKey (0),
|
|
publicKeyCert (1),
|
|
otherObjectTypes (2) },
|
|
-- otherObjectTypes MUST NOT
|
|
-- be used in this profile
|
|
otherObjectTypeID OBJECT IDENTIFIER OPTIONAL,
|
|
digestAlgorithm AlgorithmIdentifier,
|
|
objectDigest BIT STRING
|
|
}
|
|
|
|
</pre>
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.ObjectDigestInfo.PublicKey">
|
|
The public key is hashed.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.ObjectDigestInfo.PublicKeyCert">
|
|
The public key certificate is hashed.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.ObjectDigestInfo.OtherObjectDigest">
|
|
An other object is hashed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.ObjectDigestInfo.#ctor(System.Int32,System.String,Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,System.Byte[])">
|
|
Constructor from given details.
|
|
<p>
|
|
If <code>digestedObjectType</code> is not {@link #publicKeyCert} or
|
|
{@link #publicKey} <code>otherObjectTypeID</code> must be given,
|
|
otherwise it is ignored.</p>
|
|
|
|
@param digestedObjectType The digest object type.
|
|
@param otherObjectTypeID The object type ID for
|
|
<code>otherObjectDigest</code>.
|
|
@param digestAlgorithm The algorithm identifier for the hash.
|
|
@param objectDigest The hash value.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.ObjectDigestInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
|
|
<pre>
|
|
|
|
ObjectDigestInfo ::= SEQUENCE {
|
|
digestedObjectType ENUMERATED {
|
|
publicKey (0),
|
|
publicKeyCert (1),
|
|
otherObjectTypes (2) },
|
|
-- otherObjectTypes MUST NOT
|
|
-- be used in this profile
|
|
otherObjectTypeID OBJECT IDENTIFIER OPTIONAL,
|
|
digestAlgorithm AlgorithmIdentifier,
|
|
objectDigest BIT STRING
|
|
}
|
|
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.PolicyMappings">
|
|
PolicyMappings V3 extension, described in RFC3280.
|
|
<pre>
|
|
PolicyMappings ::= Sequence SIZE (1..MAX) OF Sequence {
|
|
issuerDomainPolicy CertPolicyId,
|
|
subjectDomainPolicy CertPolicyId }
|
|
</pre>
|
|
|
|
@see <a href="http://www.faqs.org/rfc/rfc3280.txt">RFC 3280, section 4.2.1.6</a>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.PolicyMappings.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Creates a new <code>PolicyMappings</code> instance.
|
|
|
|
@param seq an <code>Asn1Sequence</code> constructed as specified
|
|
in RFC 3280
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.PolicyMappings.#ctor(System.Collections.IDictionary)">
|
|
Creates a new <code>PolicyMappings</code> instance.
|
|
|
|
@param mappings a <code>HashMap</code> value that maps
|
|
<code>string</code> oids
|
|
to other <code>string</code> oids.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.PolicyQualifierID">
|
|
PolicyQualifierId, used in the CertificatePolicies
|
|
X509V3 extension.
|
|
|
|
<pre>
|
|
id-qt OBJECT IDENTIFIER ::= { id-pkix 2 }
|
|
id-qt-cps OBJECT IDENTIFIER ::= { id-qt 1 }
|
|
id-qt-unotice OBJECT IDENTIFIER ::= { id-qt 2 }
|
|
PolicyQualifierId ::=
|
|
OBJECT IDENTIFIER ( id-qt-cps | id-qt-unotice )
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.PolicyQualifierInfo">
|
|
Policy qualifiers, used in the X509V3 CertificatePolicies
|
|
extension.
|
|
|
|
<pre>
|
|
PolicyQualifierInfo ::= Sequence {
|
|
policyQualifierId PolicyQualifierId,
|
|
qualifier ANY DEFINED BY policyQualifierId }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.PolicyQualifierInfo.#ctor(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
Creates a new <code>PolicyQualifierInfo</code> instance.
|
|
|
|
@param policyQualifierId a <code>PolicyQualifierId</code> value
|
|
@param qualifier the qualifier, defined by the above field.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.PolicyQualifierInfo.#ctor(System.String)">
|
|
Creates a new <code>PolicyQualifierInfo</code> containing a
|
|
cPSuri qualifier.
|
|
|
|
@param cps the CPS (certification practice statement) uri as a
|
|
<code>string</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.PolicyQualifierInfo.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Creates a new <code>PolicyQualifierInfo</code> instance.
|
|
|
|
@param as <code>PolicyQualifierInfo</code> X509 structure
|
|
encoded as an Asn1Sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.PolicyQualifierInfo.ToAsn1Object">
|
|
Returns a Der-encodable representation of this instance.
|
|
|
|
@return a <code>Asn1Object</code> value
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.PrivateKeyUsagePeriod">
|
|
<remarks>
|
|
<pre>
|
|
PrivateKeyUsagePeriod ::= SEQUENCE
|
|
{
|
|
notBefore [0] GeneralizedTime OPTIONAL,
|
|
notAfter [1] GeneralizedTime OPTIONAL }
|
|
</pre>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Qualified.BiometricData">
|
|
The BiometricData object.
|
|
<pre>
|
|
BiometricData ::= SEQUENCE {
|
|
typeOfBiometricData TypeOfBiometricData,
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
biometricDataHash OCTET STRING,
|
|
sourceDataUri IA5String OPTIONAL }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Qualified.Iso4217CurrencyCode">
|
|
The Iso4217CurrencyCode object.
|
|
<pre>
|
|
Iso4217CurrencyCode ::= CHOICE {
|
|
alphabetic PrintableString (SIZE 3), --Recommended
|
|
numeric INTEGER (1..999) }
|
|
-- Alphabetic or numeric currency code as defined in ISO 4217
|
|
-- It is recommended that the Alphabetic form is used
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Qualified.MonetaryValue">
|
|
The MonetaryValue object.
|
|
<pre>
|
|
MonetaryValue ::= SEQUENCE {
|
|
currency Iso4217CurrencyCode,
|
|
amount INTEGER,
|
|
exponent INTEGER }
|
|
-- value = amount * 10^exponent
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Qualified.QCStatement">
|
|
The QCStatement object.
|
|
<pre>
|
|
QCStatement ::= SEQUENCE {
|
|
statementId OBJECT IDENTIFIER,
|
|
statementInfo ANY DEFINED BY statementId OPTIONAL}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Qualified.SemanticsInformation">
|
|
The SemanticsInformation object.
|
|
<pre>
|
|
SemanticsInformation ::= SEQUENCE {
|
|
semanticsIdentifier OBJECT IDENTIFIER OPTIONAL,
|
|
nameRegistrationAuthorities NameRegistrationAuthorities
|
|
OPTIONAL }
|
|
(WITH COMPONENTS {..., semanticsIdentifier PRESENT}|
|
|
WITH COMPONENTS {..., nameRegistrationAuthorities PRESENT})
|
|
|
|
NameRegistrationAuthorities ::= SEQUENCE SIZE (1..MAX) OF
|
|
GeneralName
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Qualified.TypeOfBiometricData">
|
|
The TypeOfBiometricData object.
|
|
<pre>
|
|
TypeOfBiometricData ::= CHOICE {
|
|
predefinedBiometricType PredefinedBiometricType,
|
|
biometricDataOid OBJECT IDENTIFIER }
|
|
|
|
PredefinedBiometricType ::= INTEGER {
|
|
picture(0),handwritten-signature(1)}
|
|
(picture|handwritten-signature)
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.ReasonFlags">
|
|
The ReasonFlags object.
|
|
<pre>
|
|
ReasonFlags ::= BIT STRING {
|
|
unused(0),
|
|
keyCompromise(1),
|
|
cACompromise(2),
|
|
affiliationChanged(3),
|
|
superseded(4),
|
|
cessationOfOperation(5),
|
|
certficateHold(6)
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.ReasonFlags.#ctor(System.Int32)">
|
|
@param reasons - the bitwise OR of the Key Reason flags giving the
|
|
allowed uses for the key.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.RoleSyntax">
|
|
Implementation of the RoleSyntax object as specified by the RFC3281.
|
|
|
|
<pre>
|
|
RoleSyntax ::= SEQUENCE {
|
|
roleAuthority [0] GeneralNames OPTIONAL,
|
|
roleName [1] GeneralName
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.GetInstance(System.Object)">
|
|
RoleSyntax factory method.
|
|
@param obj the object used to construct an instance of <code>
|
|
RoleSyntax</code>. It must be an instance of <code>RoleSyntax
|
|
</code> or <code>Asn1Sequence</code>.
|
|
@return the instance of <code>RoleSyntax</code> built from the
|
|
supplied object.
|
|
@throws java.lang.ArgumentException if the object passed
|
|
to the factory is not an instance of <code>RoleSyntax</code> or
|
|
<code>Asn1Sequence</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.#ctor(Org.BouncyCastle.Asn1.X509.GeneralNames,Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Constructor.
|
|
@param roleAuthority the role authority of this RoleSyntax.
|
|
@param roleName the role name of this RoleSyntax.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.#ctor(Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Constructor. Invoking this constructor is the same as invoking
|
|
<code>new RoleSyntax(null, roleName)</code>.
|
|
@param roleName the role name of this RoleSyntax.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.#ctor(System.String)">
|
|
Utility constructor. Takes a <code>string</code> argument representing
|
|
the role name, builds a <code>GeneralName</code> to hold the role name
|
|
and calls the constructor that takes a <code>GeneralName</code>.
|
|
@param roleName
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor that builds an instance of <code>RoleSyntax</code> by
|
|
extracting the encoded elements from the <code>Asn1Sequence</code>
|
|
object supplied.
|
|
@param seq an instance of <code>Asn1Sequence</code> that holds
|
|
the encoded elements used to build this <code>RoleSyntax</code>.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.RoleSyntax.RoleAuthority">
|
|
Gets the role authority of this RoleSyntax.
|
|
@return an instance of <code>GeneralNames</code> holding the
|
|
role authority of this RoleSyntax.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.RoleSyntax.RoleName">
|
|
Gets the role name of this RoleSyntax.
|
|
@return an instance of <code>GeneralName</code> holding the
|
|
role name of this RoleSyntax.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.GetRoleNameAsString">
|
|
Gets the role name as a <code>java.lang.string</code> object.
|
|
@return the role name of this RoleSyntax represented as a
|
|
<code>string</code> object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.GetRoleAuthorityAsString">
|
|
Gets the role authority as a <code>string[]</code> object.
|
|
@return the role authority of this RoleSyntax represented as a
|
|
<code>string[]</code> array.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RoleSyntax.ToAsn1Object">
|
|
Implementation of the method <code>ToAsn1Object</code> as
|
|
required by the superclass <code>ASN1Encodable</code>.
|
|
|
|
<pre>
|
|
RoleSyntax ::= SEQUENCE {
|
|
roleAuthority [0] GeneralNames OPTIONAL,
|
|
roleName [1] GeneralName
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.RsaPublicKeyStructure.ToAsn1Object">
|
|
This outputs the key in Pkcs1v2 format.
|
|
<pre>
|
|
RSAPublicKey ::= Sequence {
|
|
modulus Integer, -- n
|
|
publicExponent Integer, -- e
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym">
|
|
Structure for a name or pseudonym.
|
|
|
|
<pre>
|
|
NameOrPseudonym ::= CHOICE {
|
|
surAndGivenName SEQUENCE {
|
|
surName DirectoryString,
|
|
givenName SEQUENCE OF DirectoryString
|
|
},
|
|
pseudonym DirectoryString
|
|
}
|
|
</pre>
|
|
|
|
@see org.bouncycastle.asn1.x509.sigi.PersonalData
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym.#ctor(Org.BouncyCastle.Asn1.X500.DirectoryString)">
|
|
Constructor from DERString.
|
|
<p/>
|
|
The sequence is of type NameOrPseudonym:
|
|
<p/>
|
|
<pre>
|
|
NameOrPseudonym ::= CHOICE {
|
|
surAndGivenName SEQUENCE {
|
|
surName DirectoryString,
|
|
givenName SEQUENCE OF DirectoryString
|
|
},
|
|
pseudonym DirectoryString
|
|
}
|
|
</pre>
|
|
@param pseudonym pseudonym value to use.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
The sequence is of type NameOrPseudonym:
|
|
<p/>
|
|
<pre>
|
|
NameOrPseudonym ::= CHOICE {
|
|
surAndGivenName SEQUENCE {
|
|
surName DirectoryString,
|
|
givenName SEQUENCE OF DirectoryString
|
|
},
|
|
pseudonym DirectoryString
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym.#ctor(System.String)">
|
|
Constructor from a given details.
|
|
|
|
@param pseudonym The pseudonym.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym.#ctor(Org.BouncyCastle.Asn1.X500.DirectoryString,Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from a given details.
|
|
|
|
@param surname The surname.
|
|
@param givenName A sequence of directory strings making up the givenName
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
NameOrPseudonym ::= CHOICE {
|
|
surAndGivenName SEQUENCE {
|
|
surName DirectoryString,
|
|
givenName SEQUENCE OF DirectoryString
|
|
},
|
|
pseudonym DirectoryString
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.SigI.PersonalData">
|
|
Contains personal data for the otherName field in the subjectAltNames
|
|
extension.
|
|
<p/>
|
|
<pre>
|
|
PersonalData ::= SEQUENCE {
|
|
nameOrPseudonym NameOrPseudonym,
|
|
nameDistinguisher [0] INTEGER OPTIONAL,
|
|
dateOfBirth [1] GeneralizedTime OPTIONAL,
|
|
placeOfBirth [2] DirectoryString OPTIONAL,
|
|
gender [3] PrintableString OPTIONAL,
|
|
postalAddress [4] DirectoryString OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@see org.bouncycastle.asn1.x509.sigi.NameOrPseudonym
|
|
@see org.bouncycastle.asn1.x509.sigi.SigIObjectIdentifiers
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.PersonalData.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
<p/>
|
|
The sequence is of type NameOrPseudonym:
|
|
<p/>
|
|
<pre>
|
|
PersonalData ::= SEQUENCE {
|
|
nameOrPseudonym NameOrPseudonym,
|
|
nameDistinguisher [0] INTEGER OPTIONAL,
|
|
dateOfBirth [1] GeneralizedTime OPTIONAL,
|
|
placeOfBirth [2] DirectoryString OPTIONAL,
|
|
gender [3] PrintableString OPTIONAL,
|
|
postalAddress [4] DirectoryString OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@param seq The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.PersonalData.#ctor(Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Asn1.DerGeneralizedTime,Org.BouncyCastle.Asn1.X500.DirectoryString,System.String,Org.BouncyCastle.Asn1.X500.DirectoryString)">
|
|
Constructor from a given details.
|
|
|
|
@param nameOrPseudonym Name or pseudonym.
|
|
@param nameDistinguisher Name distinguisher.
|
|
@param dateOfBirth Date of birth.
|
|
@param placeOfBirth Place of birth.
|
|
@param gender Gender.
|
|
@param postalAddress Postal Address.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SigI.PersonalData.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<p/>
|
|
Returns:
|
|
<p/>
|
|
<pre>
|
|
PersonalData ::= SEQUENCE {
|
|
nameOrPseudonym NameOrPseudonym,
|
|
nameDistinguisher [0] INTEGER OPTIONAL,
|
|
dateOfBirth [1] GeneralizedTime OPTIONAL,
|
|
placeOfBirth [2] DirectoryString OPTIONAL,
|
|
gender [3] PrintableString OPTIONAL,
|
|
postalAddress [4] DirectoryString OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.SigI.SigIObjectIdentifiers">
|
|
Object Identifiers of SigI specifciation (German Signature Law
|
|
Interoperability specification).
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.SigI.SigIObjectIdentifiers.IdSigIKP">
|
|
Key purpose IDs for German SigI (Signature Interoperability
|
|
Specification)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.SigI.SigIObjectIdentifiers.IdSigICP">
|
|
Certificate policy IDs for German SigI (Signature Interoperability
|
|
Specification)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.SigI.SigIObjectIdentifiers.IdSigION">
|
|
Other Name IDs for German SigI (Signature Interoperability Specification)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.SigI.SigIObjectIdentifiers.IdSigIKPDirectoryService">
|
|
To be used for for the generation of directory service certificates.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.SigI.SigIObjectIdentifiers.IdSigIONPersonalData">
|
|
ID for PersonalData
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.SigI.SigIObjectIdentifiers.IdSigICPSigConform">
|
|
Certificate is conform to german signature law.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.SubjectDirectoryAttributes">
|
|
This extension may contain further X.500 attributes of the subject. See also
|
|
RFC 3039.
|
|
|
|
<pre>
|
|
SubjectDirectoryAttributes ::= Attributes
|
|
Attributes ::= SEQUENCE SIZE (1..MAX) OF Attribute
|
|
Attribute ::= SEQUENCE
|
|
{
|
|
type AttributeType
|
|
values SET OF AttributeValue
|
|
}
|
|
|
|
AttributeType ::= OBJECT IDENTIFIER
|
|
AttributeValue ::= ANY DEFINED BY AttributeType
|
|
</pre>
|
|
|
|
@see org.bouncycastle.asn1.x509.X509Name for AttributeType ObjectIdentifiers.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectDirectoryAttributes.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
|
|
The sequence is of type SubjectDirectoryAttributes:
|
|
|
|
<pre>
|
|
SubjectDirectoryAttributes ::= Attributes
|
|
Attributes ::= SEQUENCE SIZE (1..MAX) OF Attribute
|
|
Attribute ::= SEQUENCE
|
|
{
|
|
type AttributeType
|
|
values SET OF AttributeValue
|
|
}
|
|
|
|
AttributeType ::= OBJECT IDENTIFIER
|
|
AttributeValue ::= ANY DEFINED BY AttributeType
|
|
</pre>
|
|
|
|
@param seq
|
|
The ASN.1 sequence.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectDirectoryAttributes.#ctor(System.Collections.IList)">
|
|
Constructor from an ArrayList of attributes.
|
|
|
|
The ArrayList consists of attributes of type {@link Attribute Attribute}
|
|
|
|
@param attributes The attributes.
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectDirectoryAttributes.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
|
|
Returns:
|
|
|
|
<pre>
|
|
SubjectDirectoryAttributes ::= Attributes
|
|
Attributes ::= SEQUENCE SIZE (1..MAX) OF Attribute
|
|
Attribute ::= SEQUENCE
|
|
{
|
|
type AttributeType
|
|
values SET OF AttributeValue
|
|
}
|
|
|
|
AttributeType ::= OBJECT IDENTIFIER
|
|
AttributeValue ::= ANY DEFINED BY AttributeType
|
|
</pre>
|
|
|
|
@return a DERObject
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.SubjectDirectoryAttributes.Attributes">
|
|
@return Returns the attributes.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.SubjectKeyIdentifier">
|
|
The SubjectKeyIdentifier object.
|
|
<pre>
|
|
SubjectKeyIdentifier::= OCTET STRING
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectKeyIdentifier.#ctor(Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)">
|
|
Calculates the keyIdentifier using a SHA1 hash over the BIT STRING
|
|
from SubjectPublicKeyInfo as defined in RFC3280.
|
|
|
|
@param spki the subject public key info.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectKeyIdentifier.CreateSha1KeyIdentifier(Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)">
|
|
Return a RFC 3280 type 1 key identifier. As in:
|
|
<pre>
|
|
(1) The keyIdentifier is composed of the 160-bit SHA-1 hash of the
|
|
value of the BIT STRING subjectPublicKey (excluding the tag,
|
|
length, and number of unused bits).
|
|
</pre>
|
|
@param keyInfo the key info object containing the subjectPublicKey field.
|
|
@return the key identifier.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectKeyIdentifier.CreateTruncatedSha1KeyIdentifier(Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)">
|
|
Return a RFC 3280 type 2 key identifier. As in:
|
|
<pre>
|
|
(2) The keyIdentifier is composed of a four bit type field with
|
|
the value 0100 followed by the least significant 60 bits of the
|
|
SHA-1 hash of the value of the BIT STRING subjectPublicKey.
|
|
</pre>
|
|
@param keyInfo the key info object containing the subjectPublicKey field.
|
|
@return the key identifier.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo">
|
|
The object that contains the public key stored in a certficate.
|
|
<p>
|
|
The GetEncoded() method in the public keys in the JCE produces a DER
|
|
encoded one of these.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo.ParsePublicKey">
|
|
for when the public key is an encoded object - if the bitstring
|
|
can't be decoded this routine raises an IOException.
|
|
|
|
@exception IOException - if the bit string doesn't represent a Der
|
|
encoded object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo.GetPublicKey">
|
|
for when the public key is an encoded object - if the bitstring
|
|
can't be decoded this routine raises an IOException.
|
|
|
|
@exception IOException - if the bit string doesn't represent a Der
|
|
encoded object.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo.PublicKeyData">
|
|
for when the public key is raw bits...
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
SubjectPublicKeyInfo ::= Sequence {
|
|
algorithm AlgorithmIdentifier,
|
|
publicKey BIT STRING }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Target">
|
|
Target structure used in target information extension for attribute
|
|
certificates from RFC 3281.
|
|
|
|
<pre>
|
|
Target ::= CHOICE {
|
|
targetName [0] GeneralName,
|
|
targetGroup [1] GeneralName,
|
|
targetCert [2] TargetCert
|
|
}
|
|
</pre>
|
|
|
|
<p>
|
|
The targetCert field is currently not supported and must not be used
|
|
according to RFC 3281.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Target.GetInstance(System.Object)">
|
|
Creates an instance of a Target from the given object.
|
|
<p>
|
|
<code>obj</code> can be a Target or a {@link Asn1TaggedObject}</p>
|
|
|
|
@param obj The object.
|
|
@return A Target instance.
|
|
@throws ArgumentException if the given object cannot be
|
|
interpreted as Target.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Target.#ctor(Org.BouncyCastle.Asn1.Asn1TaggedObject)">
|
|
Constructor from Asn1TaggedObject.
|
|
|
|
@param tagObj The tagged object.
|
|
@throws ArgumentException if the encoding is wrong.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Target.#ctor(Org.BouncyCastle.Asn1.X509.Target.Choice,Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Constructor from given details.
|
|
<p>
|
|
Exactly one of the parameters must be not <code>null</code>.</p>
|
|
|
|
@param type the choice type to apply to the name.
|
|
@param name the general name.
|
|
@throws ArgumentException if type is invalid.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.Target.TargetGroup">
|
|
@return Returns the targetGroup.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.Target.TargetName">
|
|
@return Returns the targetName.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Target.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
|
|
Returns:
|
|
|
|
<pre>
|
|
Target ::= CHOICE {
|
|
targetName [0] GeneralName,
|
|
targetGroup [1] GeneralName,
|
|
targetCert [2] TargetCert
|
|
}
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.TargetInformation">
|
|
Target information extension for attributes certificates according to RFC
|
|
3281.
|
|
|
|
<pre>
|
|
SEQUENCE OF Targets
|
|
</pre>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.TargetInformation.GetInstance(System.Object)">
|
|
Creates an instance of a TargetInformation from the given object.
|
|
<p>
|
|
<code>obj</code> can be a TargetInformation or a {@link Asn1Sequence}</p>
|
|
|
|
@param obj The object.
|
|
@return A TargetInformation instance.
|
|
@throws ArgumentException if the given object cannot be interpreted as TargetInformation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.TargetInformation.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from a Asn1Sequence.
|
|
|
|
@param seq The Asn1Sequence.
|
|
@throws ArgumentException if the sequence does not contain
|
|
correctly encoded Targets elements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.TargetInformation.GetTargetsObjects">
|
|
Returns the targets in this target information extension.
|
|
<p>
|
|
The ArrayList is cloned before it is returned.</p>
|
|
|
|
@return Returns the targets.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.TargetInformation.#ctor(Org.BouncyCastle.Asn1.X509.Targets)">
|
|
Constructs a target information from a single targets element.
|
|
According to RFC 3281 only one targets element must be produced.
|
|
|
|
@param targets A Targets instance.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.TargetInformation.#ctor(Org.BouncyCastle.Asn1.X509.Target[])">
|
|
According to RFC 3281 only one targets element must be produced. If
|
|
multiple targets are given they must be merged in
|
|
into one targets element.
|
|
|
|
@param targets An array with {@link Targets}.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.TargetInformation.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
|
|
Returns:
|
|
|
|
<pre>
|
|
SEQUENCE OF Targets
|
|
</pre>
|
|
|
|
<p>
|
|
According to RFC 3281 only one targets element must be produced. If
|
|
multiple targets are given in the constructor they are merged into one
|
|
targets element. If this was produced from a
|
|
{@link Org.BouncyCastle.Asn1.Asn1Sequence} the encoding is kept.</p>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.Targets">
|
|
Targets structure used in target information extension for attribute
|
|
certificates from RFC 3281.
|
|
|
|
<pre>
|
|
Targets ::= SEQUENCE OF Target
|
|
|
|
Target ::= CHOICE {
|
|
targetName [0] GeneralName,
|
|
targetGroup [1] GeneralName,
|
|
targetCert [2] TargetCert
|
|
}
|
|
|
|
TargetCert ::= SEQUENCE {
|
|
targetCertificate IssuerSerial,
|
|
targetName GeneralName OPTIONAL,
|
|
certDigestInfo ObjectDigestInfo OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
@see org.bouncycastle.asn1.x509.Target
|
|
@see org.bouncycastle.asn1.x509.TargetInformation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Targets.GetInstance(System.Object)">
|
|
Creates an instance of a Targets from the given object.
|
|
<p>
|
|
<code>obj</code> can be a Targets or a {@link Asn1Sequence}</p>
|
|
|
|
@param obj The object.
|
|
@return A Targets instance.
|
|
@throws ArgumentException if the given object cannot be interpreted as Target.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Targets.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
|
|
@param targets The ASN.1 SEQUENCE.
|
|
@throws ArgumentException if the contents of the sequence are
|
|
invalid.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Targets.#ctor(Org.BouncyCastle.Asn1.X509.Target[])">
|
|
Constructor from given targets.
|
|
<p>
|
|
The ArrayList is copied.</p>
|
|
|
|
@param targets An <code>ArrayList</code> of {@link Target}s.
|
|
@see Target
|
|
@throws ArgumentException if the ArrayList contains not only Targets.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Targets.GetTargets">
|
|
Returns the targets in an <code>ArrayList</code>.
|
|
<p>
|
|
The ArrayList is cloned before it is returned.</p>
|
|
|
|
@return Returns the targets.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Targets.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
|
|
Returns:
|
|
|
|
<pre>
|
|
Targets ::= SEQUENCE OF Target
|
|
</pre>
|
|
|
|
@return an Asn1Object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.TbsCertificateStructure">
|
|
The TbsCertificate object.
|
|
<pre>
|
|
TbsCertificate ::= Sequence {
|
|
version [ 0 ] Version DEFAULT v1(0),
|
|
serialNumber CertificateSerialNumber,
|
|
signature AlgorithmIdentifier,
|
|
issuer Name,
|
|
validity Validity,
|
|
subject Name,
|
|
subjectPublicKeyInfo SubjectPublicKeyInfo,
|
|
issuerUniqueID [ 1 ] IMPLICIT UniqueIdentifier OPTIONAL,
|
|
subjectUniqueID [ 2 ] IMPLICIT UniqueIdentifier OPTIONAL,
|
|
extensions [ 3 ] Extensions OPTIONAL
|
|
}
|
|
</pre>
|
|
<p>
|
|
Note: issuerUniqueID and subjectUniqueID are both deprecated by the IETF. This class
|
|
will parse them, but you really shouldn't be creating new ones.</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.TbsCertificateList">
|
|
PKIX RFC-2459 - TbsCertList object.
|
|
<pre>
|
|
TbsCertList ::= Sequence {
|
|
version Version OPTIONAL,
|
|
-- if present, shall be v2
|
|
signature AlgorithmIdentifier,
|
|
issuer Name,
|
|
thisUpdate Time,
|
|
nextUpdate Time OPTIONAL,
|
|
revokedCertificates Sequence OF Sequence {
|
|
userCertificate CertificateSerialNumber,
|
|
revocationDate Time,
|
|
crlEntryExtensions Extensions OPTIONAL
|
|
-- if present, shall be v2
|
|
} OPTIONAL,
|
|
crlExtensions [0] EXPLICIT Extensions OPTIONAL
|
|
-- if present, shall be v2
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Time.#ctor(System.DateTime)">
|
|
creates a time object from a given date - if the date is between 1950
|
|
and 2049 a UTCTime object is Generated, otherwise a GeneralizedTime
|
|
is used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Time.ToDateTime">
|
|
<summary>
|
|
Return our time as DateTime.
|
|
</summary>
|
|
<returns>A date time.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.Time.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Time ::= CHOICE {
|
|
utcTime UTCTime,
|
|
generalTime GeneralizedTime }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.UserNotice">
|
|
<code>UserNotice</code> class, used in
|
|
<code>CertificatePolicies</code> X509 extensions (in policy
|
|
qualifiers).
|
|
<pre>
|
|
UserNotice ::= Sequence {
|
|
noticeRef NoticeReference OPTIONAL,
|
|
explicitText DisplayText OPTIONAL}
|
|
|
|
</pre>
|
|
|
|
@see PolicyQualifierId
|
|
@see PolicyInformation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.UserNotice.#ctor(Org.BouncyCastle.Asn1.X509.NoticeReference,Org.BouncyCastle.Asn1.X509.DisplayText)">
|
|
Creates a new <code>UserNotice</code> instance.
|
|
|
|
@param noticeRef a <code>NoticeReference</code> value
|
|
@param explicitText a <code>DisplayText</code> value
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.UserNotice.#ctor(Org.BouncyCastle.Asn1.X509.NoticeReference,System.String)">
|
|
Creates a new <code>UserNotice</code> instance.
|
|
|
|
@param noticeRef a <code>NoticeReference</code> value
|
|
@param str the explicitText field as a string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.UserNotice.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Creates a new <code>UserNotice</code> instance.
|
|
<p>Useful from reconstructing a <code>UserNotice</code> instance
|
|
from its encodable/encoded form.
|
|
|
|
@param as an <code>ASN1Sequence</code> value obtained from either
|
|
calling @{link toASN1Object()} for a <code>UserNotice</code>
|
|
instance or from parsing it from a DER-encoded stream.</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.V1TbsCertificateGenerator">
|
|
Generator for Version 1 TbsCertificateStructures.
|
|
<pre>
|
|
TbsCertificate ::= Sequence {
|
|
version [ 0 ] Version DEFAULT v1(0),
|
|
serialNumber CertificateSerialNumber,
|
|
signature AlgorithmIdentifier,
|
|
issuer Name,
|
|
validity Validity,
|
|
subject Name,
|
|
subjectPublicKeyInfo SubjectPublicKeyInfo,
|
|
}
|
|
</pre>
|
|
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.V2AttributeCertificateInfoGenerator">
|
|
Generator for Version 2 AttributeCertificateInfo
|
|
<pre>
|
|
AttributeCertificateInfo ::= Sequence {
|
|
version AttCertVersion -- version is v2,
|
|
holder Holder,
|
|
issuer AttCertIssuer,
|
|
signature AlgorithmIdentifier,
|
|
serialNumber CertificateSerialNumber,
|
|
attrCertValidityPeriod AttCertValidityPeriod,
|
|
attributes Sequence OF Attr,
|
|
issuerUniqueID UniqueIdentifier OPTIONAL,
|
|
extensions Extensions OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.V2AttributeCertificateInfoGenerator.AddAttribute(Org.BouncyCastle.Asn1.X509.AttributeX509)">
|
|
@param attribute
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.V2Form.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
V2Form ::= Sequence {
|
|
issuerName GeneralNames OPTIONAL,
|
|
baseCertificateID [0] IssuerSerial OPTIONAL,
|
|
objectDigestInfo [1] ObjectDigestInfo OPTIONAL
|
|
-- issuerName MUST be present in this profile
|
|
-- baseCertificateID and objectDigestInfo MUST NOT
|
|
-- be present in this profile
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.V2TbsCertListGenerator">
|
|
Generator for Version 2 TbsCertList structures.
|
|
<pre>
|
|
TbsCertList ::= Sequence {
|
|
version Version OPTIONAL,
|
|
-- if present, shall be v2
|
|
signature AlgorithmIdentifier,
|
|
issuer Name,
|
|
thisUpdate Time,
|
|
nextUpdate Time OPTIONAL,
|
|
revokedCertificates Sequence OF Sequence {
|
|
userCertificate CertificateSerialNumber,
|
|
revocationDate Time,
|
|
crlEntryExtensions Extensions OPTIONAL
|
|
-- if present, shall be v2
|
|
} OPTIONAL,
|
|
crlExtensions [0] EXPLICIT Extensions OPTIONAL
|
|
-- if present, shall be v2
|
|
}
|
|
</pre>
|
|
|
|
<b>Note: This class may be subject to change</b>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.V3TbsCertificateGenerator">
|
|
Generator for Version 3 TbsCertificateStructures.
|
|
<pre>
|
|
TbsCertificate ::= Sequence {
|
|
version [ 0 ] Version DEFAULT v1(0),
|
|
serialNumber CertificateSerialNumber,
|
|
signature AlgorithmIdentifier,
|
|
issuer Name,
|
|
validity Validity,
|
|
subject Name,
|
|
subjectPublicKeyInfo SubjectPublicKeyInfo,
|
|
issuerUniqueID [ 1 ] IMPLICIT UniqueIdentifier OPTIONAL,
|
|
subjectUniqueID [ 2 ] IMPLICIT UniqueIdentifier OPTIONAL,
|
|
extensions [ 3 ] Extensions OPTIONAL
|
|
}
|
|
</pre>
|
|
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.X509CertificateStructure">
|
|
an X509Certificate structure.
|
|
<pre>
|
|
Certificate ::= Sequence {
|
|
tbsCertificate TbsCertificate,
|
|
signatureAlgorithm AlgorithmIdentifier,
|
|
signature BIT STRING
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.X509DefaultEntryConverter">
|
|
The default converter for X509 DN entries when going from their
|
|
string value to ASN.1 strings.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509DefaultEntryConverter.GetConvertedValue(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.String)">
|
|
Apply default conversion for the given value depending on the oid
|
|
and the character range of the value.
|
|
|
|
@param oid the object identifier for the DN entry
|
|
@param value the value associated with it
|
|
@return the ASN.1 equivalent for the string value.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.X509Extension">
|
|
an object for the elements in the X.509 V3 extension block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extension.ConvertValueToObject(Org.BouncyCastle.Asn1.X509.X509Extension)">
|
|
<sumary>Convert the value of the passed in extension to an object.</sumary>
|
|
<param name="ext">The extension to parse.</param>
|
|
<returns>The object the value string contains.</returns>
|
|
<exception cref="T:System.ArgumentException">If conversion is not possible.</exception>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.SubjectDirectoryAttributes">
|
|
Subject Directory Attributes
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.SubjectKeyIdentifier">
|
|
Subject Key Identifier
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.KeyUsage">
|
|
Key Usage
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.PrivateKeyUsagePeriod">
|
|
Private Key Usage Period
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.SubjectAlternativeName">
|
|
Subject Alternative Name
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.IssuerAlternativeName">
|
|
Issuer Alternative Name
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.BasicConstraints">
|
|
Basic Constraints
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.CrlNumber">
|
|
CRL Number
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.ReasonCode">
|
|
Reason code
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.InstructionCode">
|
|
Hold Instruction Code
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.InvalidityDate">
|
|
Invalidity Date
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.DeltaCrlIndicator">
|
|
Delta CRL indicator
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.IssuingDistributionPoint">
|
|
Issuing Distribution Point
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.CertificateIssuer">
|
|
Certificate Issuer
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.NameConstraints">
|
|
Name Constraints
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.CrlDistributionPoints">
|
|
CRL Distribution Points
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.CertificatePolicies">
|
|
Certificate Policies
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.PolicyMappings">
|
|
Policy Mappings
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.AuthorityKeyIdentifier">
|
|
Authority Key Identifier
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.PolicyConstraints">
|
|
Policy Constraints
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.ExtendedKeyUsage">
|
|
Extended Key Usage
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.FreshestCrl">
|
|
Freshest CRL
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.InhibitAnyPolicy">
|
|
Inhibit Any Policy
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.AuthorityInfoAccess">
|
|
Authority Info Access
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.SubjectInfoAccess">
|
|
Subject Info Access
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.LogoType">
|
|
Logo Type
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.BiometricInfo">
|
|
BiometricInfo
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.QCStatements">
|
|
QCStatements
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.AuditIdentity">
|
|
Audit identity extension in attribute certificates.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.NoRevAvail">
|
|
NoRevAvail extension in attribute certificates.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.TargetInformation">
|
|
TargetInformation extension in attribute certificates.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Extensions.ExpiredCertsOnCrl">
|
|
Expired Certificates on CRL extension
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence.
|
|
|
|
the extensions are a list of constructed sequences, either with (Oid, OctetString) or (Oid, Boolean, OctetString)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.#ctor(System.Collections.IDictionary)">
|
|
constructor from a table of extensions.
|
|
<p>
|
|
it's is assumed the table contains Oid/string pairs.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.#ctor(System.Collections.IList,System.Collections.IDictionary)">
|
|
Constructor from a table of extensions with ordering.
|
|
<p>
|
|
It's is assumed the table contains Oid/string pairs.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.#ctor(System.Collections.IList,System.Collections.IList)">
|
|
Constructor from two vectors
|
|
|
|
@param objectIDs an ArrayList of the object identifiers.
|
|
@param values an ArrayList of the extension values.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.#ctor(System.Collections.Hashtable)">
|
|
constructor from a table of extensions.
|
|
<p>
|
|
it's is assumed the table contains Oid/string pairs.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.#ctor(System.Collections.ArrayList,System.Collections.Hashtable)">
|
|
Constructor from a table of extensions with ordering.
|
|
<p>
|
|
It's is assumed the table contains Oid/string pairs.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.#ctor(System.Collections.ArrayList,System.Collections.ArrayList)">
|
|
Constructor from two vectors
|
|
|
|
@param objectIDs an ArrayList of the object identifiers.
|
|
@param values an ArrayList of the extension values.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.X509Extensions.ExtensionOids">
|
|
return an Enumeration of the extension field's object ids.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.GetExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the extension represented by the object identifier
|
|
passed in.
|
|
|
|
@return the extension if it's present, null otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.GetExtensionParsedValue(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the parsed value of the extension represented by the object identifier
|
|
passed in.
|
|
|
|
@return the parsed value of the extension if it's present, null otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Extensions.ToAsn1Object">
|
|
<pre>
|
|
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
|
|
|
|
Extension ::= SEQUENCE {
|
|
extnId EXTENSION.&id ({ExtensionSet}),
|
|
critical BOOLEAN DEFAULT FALSE,
|
|
extnValue OCTET STRING }
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator">
|
|
<remarks>Generator for X.509 extensions</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator.Reset">
|
|
<summary>Reset the generator</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
<summary>
|
|
Add an extension with the given oid and the passed in value to be included
|
|
in the OCTET STRING associated with the extension.
|
|
</summary>
|
|
<param name="oid">OID for the extension.</param>
|
|
<param name="critical">True if critical, false otherwise.</param>
|
|
<param name="extValue">The ASN.1 object to be included in the extension.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,System.Byte[])">
|
|
<summary>
|
|
Add an extension with the given oid and the passed in byte array to be wrapped
|
|
in the OCTET STRING associated with the extension.
|
|
</summary>
|
|
<param name="oid">OID for the extension.</param>
|
|
<param name="critical">True if critical, false otherwise.</param>
|
|
<param name="extValue">The byte array to be wrapped.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator.IsEmpty">
|
|
<summary>Return true if there are no extension present in this generator.</summary>
|
|
<returns>True if empty, false otherwise</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator.Generate">
|
|
<summary>Generate an X509Extensions object based on the current state of the generator.</summary>
|
|
<returns>An <c>X509Extensions</c> object</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.X509Name">
|
|
<pre>
|
|
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
|
|
|
|
RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
|
|
|
|
AttributeTypeAndValue ::= SEQUENCE {
|
|
type OBJECT IDENTIFIER,
|
|
value ANY }
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.C">
|
|
country code - StringType(SIZE(2))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.O">
|
|
organization - StringType(SIZE(1..64))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.OU">
|
|
organizational unit name - StringType(SIZE(1..64))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.T">
|
|
Title
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.CN">
|
|
common name - StringType(SIZE(1..64))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.Street">
|
|
street - StringType(SIZE(1..64))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.SerialNumber">
|
|
device serial number name - StringType(SIZE(1..64))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.L">
|
|
locality name - StringType(SIZE(1..64))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.ST">
|
|
state, or province name - StringType(SIZE(1..64))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.Surname">
|
|
Naming attributes of type X520name
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.BusinessCategory">
|
|
businessCategory - DirectoryString(SIZE(1..128)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.PostalCode">
|
|
postalCode - DirectoryString(SIZE(1..40)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.DnQualifier">
|
|
dnQualifier - DirectoryString(SIZE(1..64)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.Pseudonym">
|
|
RFC 3039 Pseudonym - DirectoryString(SIZE(1..64)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.DateOfBirth">
|
|
RFC 3039 DateOfBirth - GeneralizedTime - YYYYMMDD000000Z
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.PlaceOfBirth">
|
|
RFC 3039 PlaceOfBirth - DirectoryString(SIZE(1..128)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.Gender">
|
|
RFC 3039 DateOfBirth - PrintableString (SIZE(1)) -- "M", "F", "m" or "f"
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.CountryOfCitizenship">
|
|
RFC 3039 CountryOfCitizenship - PrintableString (SIZE (2)) -- ISO 3166
|
|
codes only
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.CountryOfResidence">
|
|
RFC 3039 CountryOfCitizenship - PrintableString (SIZE (2)) -- ISO 3166
|
|
codes only
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.NameAtBirth">
|
|
ISIS-MTT NameAtBirth - DirectoryString(SIZE(1..64)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.PostalAddress">
|
|
RFC 3039 PostalAddress - SEQUENCE SIZE (1..6) OF
|
|
DirectoryString(SIZE(1..30))
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.DmdName">
|
|
RFC 2256 dmdName
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.TelephoneNumber">
|
|
id-at-telephoneNumber
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.OrganizationIdentifier">
|
|
id-at-organizationIdentifier
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.Name">
|
|
id-at-name
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.EmailAddress">
|
|
Email address (RSA PKCS#9 extension) - IA5String.
|
|
<p>Note: if you're trying to be ultra orthodox, don't use this! It shouldn't be in here.</p>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.UnstructuredName">
|
|
more from PKCS#9
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.E">
|
|
email address in Verisign certificates
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.UID">
|
|
LDAP User id.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X509.X509Name.DefaultReverse">
|
|
determines whether or not strings should be processed and printed
|
|
from back to front.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.DefaultSymbols">
|
|
default look up table translating OID values into their common symbols following
|
|
the convention in RFC 2253 with a few extras
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.RFC2253Symbols">
|
|
look up table translating OID values into their common symbols following the convention in RFC 2253
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.RFC1779Symbols">
|
|
look up table translating OID values into their common symbols following the convention in RFC 1779
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X509.X509Name.DefaultLookup">
|
|
look up table translating common symbols into their OIDS.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.GetInstance(Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)">
|
|
Return a X509Name based on the passed in tagged object.
|
|
|
|
@param obj tag object holding name.
|
|
@param explicitly true if explicitly tagged false otherwise.
|
|
@return the X509Name
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Constructor from Asn1Sequence
|
|
|
|
the principal will be a list of constructed sets, each containing an (OID, string) pair.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Collections.IList,System.Collections.IDictionary)">
|
|
Constructor from a table of attributes with ordering.
|
|
<p>
|
|
it's is assumed the table contains OID/string pairs, and the contents
|
|
of the table are copied into an internal table as part of the
|
|
construction process. The ordering ArrayList should contain the OIDs
|
|
in the order they are meant to be encoded or printed in ToString.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Collections.IList,System.Collections.IDictionary,Org.BouncyCastle.Asn1.X509.X509NameEntryConverter)">
|
|
Constructor from a table of attributes with ordering.
|
|
<p>
|
|
it's is assumed the table contains OID/string pairs, and the contents
|
|
of the table are copied into an internal table as part of the
|
|
construction process. The ordering ArrayList should contain the OIDs
|
|
in the order they are meant to be encoded or printed in ToString.</p>
|
|
<p>
|
|
The passed in converter will be used to convert the strings into their
|
|
ASN.1 counterparts.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Collections.IList,System.Collections.IList)">
|
|
Takes two vectors one of the oids and the other of the values.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Collections.IList,System.Collections.IList,Org.BouncyCastle.Asn1.X509.X509NameEntryConverter)">
|
|
Takes two vectors one of the oids and the other of the values.
|
|
<p>
|
|
The passed in converter will be used to convert the strings into their
|
|
ASN.1 counterparts.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.String)">
|
|
Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or
|
|
some such, converting it into an ordered set of name attributes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.String,Org.BouncyCastle.Asn1.X509.X509NameEntryConverter)">
|
|
Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or
|
|
some such, converting it into an ordered set of name attributes with each
|
|
string value being converted to its associated ASN.1 type using the passed
|
|
in converter.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Boolean,System.String)">
|
|
Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or
|
|
some such, converting it into an ordered set of name attributes. If reverse
|
|
is true, create the encoded version of the sequence starting from the
|
|
last element in the string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Boolean,System.String,Org.BouncyCastle.Asn1.X509.X509NameEntryConverter)">
|
|
Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or
|
|
some such, converting it into an ordered set of name attributes with each
|
|
string value being converted to its associated ASN.1 type using the passed
|
|
in converter. If reverse is true the ASN.1 sequence representing the DN will
|
|
be built by starting at the end of the string, rather than the start.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Boolean,System.Collections.IDictionary,System.String)">
|
|
Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or
|
|
some such, converting it into an ordered set of name attributes. lookUp
|
|
should provide a table of lookups, indexed by lowercase only strings and
|
|
yielding a DerObjectIdentifier, other than that OID. and numeric oids
|
|
will be processed automatically.
|
|
<br/>
|
|
If reverse is true, create the encoded version of the sequence
|
|
starting from the last element in the string.
|
|
@param reverse true if we should start scanning from the end (RFC 2553).
|
|
@param lookUp table of names and their oids.
|
|
@param dirName the X.500 string to be parsed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.#ctor(System.Boolean,System.Collections.IDictionary,System.String,Org.BouncyCastle.Asn1.X509.X509NameEntryConverter)">
|
|
Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or
|
|
some such, converting it into an ordered set of name attributes. lookUp
|
|
should provide a table of lookups, indexed by lowercase only strings and
|
|
yielding a DerObjectIdentifier, other than that OID. and numeric oids
|
|
will be processed automatically. The passed in converter is used to convert the
|
|
string values to the right of each equals sign to their ASN.1 counterparts.
|
|
<br/>
|
|
@param reverse true if we should start scanning from the end, false otherwise.
|
|
@param lookUp table of names and oids.
|
|
@param dirName the string dirName
|
|
@param converter the converter to convert string values into their ASN.1 equivalents
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.GetOidList">
|
|
return an IList of the oids in the name, in the order they were found.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.GetValueList">
|
|
return an IList of the values found in the name, in the order they
|
|
were found.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.GetValueList(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return an IList of the values found in the name, in the order they
|
|
were found, with the DN label corresponding to passed in oid.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.Equivalent(Org.BouncyCastle.Asn1.X509.X509Name,System.Boolean)">
|
|
<param name="other">The X509Name object to test equivalency against.</param>
|
|
<param name="inOrder">If true, the order of elements must be the same,
|
|
as well as the values associated with each element.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.Equivalent(Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
test for equivalence - note: case is ignored.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509Name.ToString(System.Boolean,System.Collections.IDictionary)">
|
|
convert the structure to a string - if reverse is true the
|
|
oids and values are listed out starting with the last element
|
|
in the sequence (ala RFC 2253), otherwise the string will begin
|
|
with the first element of the structure. If no string definition
|
|
for the oid is found in oidSymbols the string value of the oid is
|
|
added. Two standard symbol tables are provided DefaultSymbols, and
|
|
RFC2253Symbols as part of this class.
|
|
|
|
@param reverse if true start at the end of the sequence and work back.
|
|
@param oidSymbols look up table strings for oids.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.X509NameEntryConverter">
|
|
* It turns out that the number of standard ways the fields in a DN should be
|
|
* encoded into their ASN.1 counterparts is rapidly approaching the
|
|
* number of machines on the internet. By default the X509Name class
|
|
* will produce UTF8Strings in line with the current recommendations (RFC 3280).
|
|
* <p>
|
|
* An example of an encoder look like below:
|
|
* <pre>
|
|
* public class X509DirEntryConverter
|
|
* : X509NameEntryConverter
|
|
* {
|
|
* public Asn1Object GetConvertedValue(
|
|
* DerObjectIdentifier oid,
|
|
* string value)
|
|
* {
|
|
* if (str.Length() != 0 && str.charAt(0) == '#')
|
|
* {
|
|
* return ConvertHexEncoded(str, 1);
|
|
* }
|
|
* if (oid.Equals(EmailAddress))
|
|
* {
|
|
* return new DerIA5String(str);
|
|
* }
|
|
* else if (CanBePrintable(str))
|
|
* {
|
|
* return new DerPrintableString(str);
|
|
* }
|
|
* else if (CanBeUTF8(str))
|
|
* {
|
|
* return new DerUtf8String(str);
|
|
* }
|
|
* else
|
|
* {
|
|
* return new DerBmpString(str);
|
|
* }
|
|
* }
|
|
* }
|
|
* </pre>
|
|
* </p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509NameEntryConverter.ConvertHexEncoded(System.String,System.Int32)">
|
|
Convert an inline encoded hex string rendition of an ASN.1
|
|
object back into its corresponding ASN.1 object.
|
|
|
|
@param str the hex encoded object
|
|
@param off the index at which the encoding starts
|
|
@return the decoded object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509NameEntryConverter.CanBePrintable(System.String)">
|
|
return true if the passed in string can be represented without
|
|
loss as a PrintableString, false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X509.X509NameEntryConverter.GetConvertedValue(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.String)">
|
|
Convert the passed in string value into the appropriate ASN.1
|
|
encoded object.
|
|
|
|
@param oid the oid associated with the value in the DN.
|
|
@param value the value of the particular DN component.
|
|
@return the ASN.1 equivalent for the value.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X509.X509NameTokenizer">
|
|
class for breaking up an X500 Name into it's component tokens, ala
|
|
java.util.StringTokenizer. We need this class as some of the
|
|
lightweight Java environment don't support classes like
|
|
StringTokenizer.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.ECNamedCurveTable">
|
|
A general class that reads all X9.62 style EC curve tables.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.ECNamedCurveTable.GetByName(System.String)">
|
|
return a X9ECParameters object representing the passed in named
|
|
curve. The routine returns null if the curve is not present.
|
|
|
|
@param name the name of the curve requested
|
|
@return an X9ECParameters object or null if the curve is not available.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.ECNamedCurveTable.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.ECNamedCurveTable.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return a X9ECParameters object representing the passed in named
|
|
curve.
|
|
|
|
@param oid the object id of the curve requested
|
|
@return an X9ECParameters object or null if the curve is not available.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X9.ECNamedCurveTable.Names">
|
|
return an enumeration of the names of the available curves.
|
|
|
|
@return an enumeration of the names of the available curves.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.KeySpecificInfo">
|
|
ASN.1 def for Diffie-Hellman key exchange KeySpecificInfo structure. See
|
|
RFC 2631, or X9.42, for further details.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.KeySpecificInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
KeySpecificInfo ::= Sequence {
|
|
algorithm OBJECT IDENTIFIER,
|
|
counter OCTET STRING SIZE (4..4)
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.OtherInfo">
|
|
ANS.1 def for Diffie-Hellman key exchange OtherInfo structure. See
|
|
RFC 2631, or X9.42, for further details.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.OtherInfo.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
OtherInfo ::= Sequence {
|
|
keyInfo KeySpecificInfo,
|
|
partyAInfo [0] OCTET STRING OPTIONAL,
|
|
suppPubInfo [2] OCTET STRING
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.X962NamedCurves">
|
|
table of the current named curves defined in X.962 EC-DSA.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X962NamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the X9ECParameters object for the named curve represented by
|
|
the passed in object identifier. Null if the curve isn't present.
|
|
|
|
@param oid an object identifier representing a named curve, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X962NamedCurves.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X962NamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X9.X962NamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X962Parameters.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Parameters ::= CHOICE {
|
|
ecParameters ECParameters,
|
|
namedCurve CURVES.&id({CurveNames}),
|
|
implicitlyCA Null
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.X9Curve">
|
|
ASN.1 def for Elliptic-Curve Curve structure. See
|
|
X9.62, for further details.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9Curve.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
Curve ::= Sequence {
|
|
a FieldElement,
|
|
b FieldElement,
|
|
seed BIT STRING OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.X9ECParameters">
|
|
ASN.1 def for Elliptic-Curve ECParameters structure. See
|
|
X9.62, for further details.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X9.X9ECParameters.CurveEntry">
|
|
Return the ASN.1 entry representing the Curve.
|
|
|
|
@return the X9Curve for the curve in these parameters.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X9.X9ECParameters.FieldIDEntry">
|
|
Return the ASN.1 entry representing the FieldID.
|
|
|
|
@return the X9FieldID for the FieldID in these parameters.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Asn1.X9.X9ECParameters.BaseEntry">
|
|
Return the ASN.1 entry representing the base point G.
|
|
|
|
@return the X9ECPoint for the base point in these parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9ECParameters.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ECParameters ::= Sequence {
|
|
version Integer { ecpVer1(1) } (ecpVer1),
|
|
fieldID FieldID {{FieldTypes}},
|
|
curve X9Curve,
|
|
base X9ECPoint,
|
|
order Integer,
|
|
cofactor Integer OPTIONAL
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.X9ECPoint">
|
|
class for describing an ECPoint as a Der object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9ECPoint.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
ECPoint ::= OCTET STRING
|
|
</pre>
|
|
<p>
|
|
Octet string produced using ECPoint.GetEncoded().</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.X9FieldElement">
|
|
Class for processing an ECFieldElement as a DER object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9FieldElement.ToAsn1Object">
|
|
Produce an object suitable for an Asn1OutputStream.
|
|
<pre>
|
|
FieldElement ::= OCTET STRING
|
|
</pre>
|
|
<p>
|
|
<ol>
|
|
<li> if <i>q</i> is an odd prime then the field element is
|
|
processed as an Integer and converted to an octet string
|
|
according to x 9.62 4.3.1.</li>
|
|
<li> if <i>q</i> is 2<sup>m</sup> then the bit string
|
|
contained in the field element is converted into an octet
|
|
string with the same ordering padded at the front if necessary.
|
|
</li>
|
|
</ol>
|
|
</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Asn1.X9.X9FieldID">
|
|
ASN.1 def for Elliptic-Curve Field ID structure. See
|
|
X9.62, for further details.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9FieldID.#ctor(Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for elliptic curves over prime fields
|
|
<code>F<sub>2</sub></code>.
|
|
@param primeP The prime <code>p</code> defining the prime field.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9FieldID.#ctor(System.Int32,System.Int32)">
|
|
Constructor for elliptic curves over binary fields
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k1 The integer <code>k1</code> where <code>x<sup>m</sup> +
|
|
x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9FieldID.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
Constructor for elliptic curves over binary fields
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k1 The integer <code>k1</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k2 The integer <code>k2</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k3 The integer <code>k3</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>..
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Asn1.X9.X9FieldID.ToAsn1Object">
|
|
Produce a Der encoding of the following structure.
|
|
<pre>
|
|
FieldID ::= Sequence {
|
|
fieldType FIELD-ID.&id({IOSet}),
|
|
parameters FIELD-ID.&Type({IOSet}{@fieldType})
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X9.X9ObjectIdentifiers.IdDsaWithSha1">
|
|
id-dsa-with-sha1 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
|
|
us(840) x9-57 (10040) x9cm(4) 3 }
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X9.X9ObjectIdentifiers.X9x63Scheme">
|
|
X9.63
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Asn1.X9.X9ObjectIdentifiers.ansi_x9_42">
|
|
X9.42
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ArmoredInputStream">
|
|
reader for Base64 armored objects - read the headers and then start returning
|
|
bytes when the data is reached. An IOException is thrown if the CRC check
|
|
fails.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredInputStream.Decode(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32[])">
|
|
decode the base 64 encoded input data.
|
|
|
|
@return the offset the data starts in out.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredInputStream.#ctor(System.IO.Stream)">
|
|
Create a stream for reading a PGP armoured message, parsing up to a header
|
|
and then reading the data that follows.
|
|
|
|
@param input
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredInputStream.#ctor(System.IO.Stream,System.Boolean)">
|
|
Create an armoured input stream which will assume the data starts
|
|
straight away, or parse for headers first depending on the value of
|
|
hasHeaders.
|
|
|
|
@param input
|
|
@param hasHeaders true if headers are to be looked for, false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredInputStream.IsClearText">
|
|
@return true if we are inside the clear text section of a PGP
|
|
signed message.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredInputStream.IsEndOfStream">
|
|
@return true if the stream is actually at end of file.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredInputStream.GetArmorHeaderLine">
|
|
Return the armor header line (if there is one)
|
|
@return the armor header line, null if none present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredInputStream.GetArmorHeaders">
|
|
Return the armor headers (the lines after the armor header line),
|
|
@return an array of armor headers, null if there aren't any.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ArmoredOutputStream">
|
|
Basic output stream.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredOutputStream.Encode(System.IO.Stream,System.Int32[],System.Int32)">
|
|
encode the input data producing a base 64 encoded byte array.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredOutputStream.SetHeader(System.String,System.String)">
|
|
Set an additional header entry. A null value will clear the entry for name.
|
|
|
|
@param name the name of the header entry.
|
|
@param v the value of the header entry.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredOutputStream.ResetHeaders">
|
|
Reset the headers to only contain a Version string (if one is present).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredOutputStream.BeginClearText(Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
Start a clear text signed message.
|
|
@param hashAlgorithm
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ArmoredOutputStream.Close">
|
|
<b>Note</b>: Close() does not close the underlying stream. So it is possible to write
|
|
multiple objects using armoring to a single stream.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Attr.ImageAttrib">
|
|
<remarks>Basic type for a image attribute packet.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.BcpgInputStream">
|
|
<remarks>Reader for PGP objects.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgInputStream.NextPacketTag">
|
|
<summary>Returns the next packet tag in the stream.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.BcpgInputStream.PartialInputStream">
|
|
<summary>
|
|
A stream that overlays our input stream, allowing the user to only read a segment of it.
|
|
NB: dataLength will be negative if the segment length is in the upper range above 2**31.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.BcpgObject">
|
|
<remarks>Base class for a PGP object.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.BcpgOutputStream">
|
|
<remarks>Basic output stream.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgOutputStream.#ctor(System.IO.Stream)">
|
|
<summary>Create a stream representing a general packet.</summary>
|
|
<param name="outStr">Output stream to write to.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgOutputStream.#ctor(System.IO.Stream,Org.BouncyCastle.Bcpg.PacketTag)">
|
|
<summary>Create a stream representing an old style partial object.</summary>
|
|
<param name="outStr">Output stream to write to.</param>
|
|
<param name="tag">The packet tag for the object.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgOutputStream.#ctor(System.IO.Stream,Org.BouncyCastle.Bcpg.PacketTag,System.Int64,System.Boolean)">
|
|
<summary>Create a stream representing a general packet.</summary>
|
|
<param name="outStr">Output stream to write to.</param>
|
|
<param name="tag">Packet tag.</param>
|
|
<param name="length">Size of chunks making up the packet.</param>
|
|
<param name="oldFormat">If true, the header is written out in old format.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgOutputStream.#ctor(System.IO.Stream,Org.BouncyCastle.Bcpg.PacketTag,System.Int64)">
|
|
<summary>Create a new style partial input stream buffered into chunks.</summary>
|
|
<param name="outStr">Output stream to write to.</param>
|
|
<param name="tag">Packet tag.</param>
|
|
<param name="length">Size of chunks making up the packet.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgOutputStream.#ctor(System.IO.Stream,Org.BouncyCastle.Bcpg.PacketTag,System.Byte[])">
|
|
<summary>Create a new style partial input stream buffered into chunks.</summary>
|
|
<param name="outStr">Output stream to write to.</param>
|
|
<param name="tag">Packet tag.</param>
|
|
<param name="buffer">Buffer to use for collecting chunks.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgOutputStream.Flush">
|
|
<summary>Flush the underlying stream.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.BcpgOutputStream.Finish">
|
|
<summary>Finish writing out the current packet without closing the underlying stream.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.CompressedDataPacket">
|
|
<remarks>Generic compressed data object.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.CompressedDataPacket.Algorithm">
|
|
<summary>The algorithm tag value.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.CompressionAlgorithmTag">
|
|
<remarks>Basic tags for compression algorithms.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ContainedPacket">
|
|
<remarks>Basic type for a PGP packet.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.DsaPublicBcpgKey">
|
|
<remarks>Base class for a DSA public key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.DsaPublicBcpgKey.#ctor(Org.BouncyCastle.Bcpg.BcpgInputStream)">
|
|
<param name="bcpgIn">The stream to read the packet from.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.DsaPublicBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.DsaPublicBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.DsaSecretBcpgKey">
|
|
<remarks>Base class for a DSA secret key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.DsaSecretBcpgKey.#ctor(Org.BouncyCastle.Bcpg.BcpgInputStream)">
|
|
@param in
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.DsaSecretBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.DsaSecretBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.DsaSecretBcpgKey.X">
|
|
@return x
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ECDHPublicBcpgKey">
|
|
<remarks>Base class for an ECDH Public Key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ECDHPublicBcpgKey.#ctor(Org.BouncyCastle.Bcpg.BcpgInputStream)">
|
|
<param name="bcpgIn">The stream to read the packet from.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ECDsaPublicBcpgKey">
|
|
<remarks>Base class for an ECDSA Public Key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ECDsaPublicBcpgKey.#ctor(Org.BouncyCastle.Bcpg.BcpgInputStream)">
|
|
<param name="bcpgIn">The stream to read the packet from.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ECPublicBcpgKey">
|
|
<remarks>Base class for an EC Public Key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ECPublicBcpgKey.#ctor(Org.BouncyCastle.Bcpg.BcpgInputStream)">
|
|
<param name="bcpgIn">The stream to read the packet from.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.ECPublicBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ECPublicBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ECSecretBcpgKey">
|
|
<remarks>Base class for an EC Secret Key.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.ECSecretBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ECSecretBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ElGamalPublicBcpgKey">
|
|
<remarks>Base class for an ElGamal public key.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.ElGamalPublicBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ElGamalPublicBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ElGamalSecretBcpgKey">
|
|
<remarks>Base class for an ElGamal secret key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ElGamalSecretBcpgKey.#ctor(Org.BouncyCastle.Bcpg.BcpgInputStream)">
|
|
@param in
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ElGamalSecretBcpgKey.#ctor(Org.BouncyCastle.Math.BigInteger)">
|
|
@param x
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.ElGamalSecretBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.ElGamalSecretBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ExperimentalPacket">
|
|
<remarks>Basic packet for an experimental packet.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.HashAlgorithmTag">
|
|
<remarks>Basic tags for hash algorithms.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.IBcpgKey">
|
|
<remarks>Base interface for a PGP key.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.IBcpgKey.Format">
|
|
<summary>
|
|
The base format for this key - in the case of the symmetric keys it will generally
|
|
be raw indicating that the key is just a straight byte representation, for an asymmetric
|
|
key the format will be PGP, indicating the key is a string of MPIs encoded in PGP format.
|
|
</summary>
|
|
<returns>"RAW" or "PGP".</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.InputStreamPacket.GetInputStream">
|
|
<summary>Note: you can only read from this once...</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.LiteralDataPacket">
|
|
<remarks>Generic literal data packet.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.LiteralDataPacket.Format">
|
|
<summary>The format tag value.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.LiteralDataPacket.ModificationTime">
|
|
<summary>The modification time of the file in milli-seconds (since Jan 1, 1970 UTC)</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.MarkerPacket">
|
|
<remarks>Basic type for a marker packet.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.ModDetectionCodePacket">
|
|
<remarks>Basic packet for a modification detection code packet.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.MPInteger">
|
|
<remarks>A multiple precision integer</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OnePassSignaturePacket">
|
|
<remarks>Generic signature object</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OnePassSignaturePacket.KeyAlgorithm">
|
|
<summary>The encryption algorithm tag.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OnePassSignaturePacket.HashAlgorithm">
|
|
<summary>The hash algorithm tag.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.PacketTag">
|
|
<remarks>Basic PGP packet tag types.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag">
|
|
<remarks>Public Key Algorithm tag numbers.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.PublicKeyEncSessionPacket">
|
|
<remarks>Basic packet for a PGP public key.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.PublicKeyPacket">
|
|
<remarks>Basic packet for a PGP public key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.PublicKeyPacket.#ctor(Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,System.DateTime,Org.BouncyCastle.Bcpg.IBcpgKey)">
|
|
<summary>Construct a version 4 public key packet.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.PublicSubkeyPacket">
|
|
<remarks>Basic packet for a PGP public subkey</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.PublicSubkeyPacket.#ctor(Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,System.DateTime,Org.BouncyCastle.Bcpg.IBcpgKey)">
|
|
<summary>Construct a version 4 public subkey packet.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.RsaPublicBcpgKey">
|
|
<remarks>Base class for an RSA public key.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.RsaPublicBcpgKey.#ctor(Org.BouncyCastle.Bcpg.BcpgInputStream)">
|
|
<summary>Construct an RSA public key from the passed in stream.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.RsaPublicBcpgKey.#ctor(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<param name="n">The modulus.</param>
|
|
<param name="e">The public exponent.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.RsaPublicBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.RsaPublicBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.RsaSecretBcpgKey">
|
|
<remarks>Base class for an RSA secret (or priate) key.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.RsaSecretBcpgKey.Format">
|
|
<summary>The format, as a string, always "PGP".</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.RsaSecretBcpgKey.GetEncoded">
|
|
<summary>Return the standard PGP encoding of the key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.S2k">
|
|
<remarks>The string to key specifier class.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.S2k.HashAlgorithm">
|
|
<summary>The hash algorithm.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.S2k.GetIV">
|
|
<summary>The IV for the key generation algorithm.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.S2k.IterationCount">
|
|
<summary>The iteration count</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.S2k.ProtectionMode">
|
|
<summary>The protection mode - only if GnuDummyS2K</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SecretKeyPacket">
|
|
<remarks>Basic packet for a PGP secret key.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SecretSubkeyPacket">
|
|
<remarks>Basic packet for a PGP secret key.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SignaturePacket">
|
|
<remarks>Generic signature packet.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.SignaturePacket.#ctor(System.Int32,System.Int64,Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,Org.BouncyCastle.Bcpg.SignatureSubpacket[],Org.BouncyCastle.Bcpg.SignatureSubpacket[],System.Byte[],Org.BouncyCastle.Bcpg.MPInteger[])">
|
|
Generate a version 4 signature packet.
|
|
|
|
@param signatureType
|
|
@param keyAlgorithm
|
|
@param hashAlgorithm
|
|
@param hashedData
|
|
@param unhashedData
|
|
@param fingerprint
|
|
@param signature
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.SignaturePacket.#ctor(System.Int32,System.Int32,System.Int64,Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,System.Int64,System.Byte[],Org.BouncyCastle.Bcpg.MPInteger[])">
|
|
Generate a version 2/3 signature packet.
|
|
|
|
@param signatureType
|
|
@param keyAlgorithm
|
|
@param hashAlgorithm
|
|
@param fingerprint
|
|
@param signature
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.SignaturePacket.KeyId">
|
|
return the keyId
|
|
@return the keyId that created the signature.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.SignaturePacket.GetSignatureTrailer">
|
|
return the signature trailer that must be included with the data
|
|
to reconstruct the signature
|
|
|
|
@return byte[]
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.SignaturePacket.GetSignature">
|
|
* return the signature as a set of integers - note this is normalised to be the
|
|
* ASN.1 encoding of what appears in the signature packet.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.SignaturePacket.GetSignatureBytes">
|
|
Return the byte encoding of the signature section.
|
|
@return uninterpreted signature bytes.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.SignaturePacket.CreationTime">
|
|
<summary>Return the creation time in milliseconds since 1 Jan., 1970 UTC.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SignatureSubpacket">
|
|
<remarks>Basic type for a PGP Signature sub-packet.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.SignatureSubpacket.GetData">
|
|
<summary>Return the generic data making up the packet.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SignatureSubpacketsParser">
|
|
reader for signature sub-packets
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SignatureSubpacketTag">
|
|
Basic PGP signature sub-packet tag types.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.EmbeddedSignature">
|
|
Packet embedded signature
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.Exportable">
|
|
packet giving signature creation time.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.Features">
|
|
packet giving signature expiration time.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Bcpg.Sig.Features.FEATURE_MODIFICATION_DETECTION">
|
|
Identifier for the modification detection feature
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.Sig.Features.SupportsModificationDetection">
|
|
Returns if modification detection is supported.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.Sig.Features.SupportsFeature(System.Byte)">
|
|
Returns if a particular feature is supported.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.Sig.Features.SetSupportsFeature(System.Byte,System.Boolean)">
|
|
Sets support for a particular feature.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.IssuerKeyId">
|
|
packet giving signature creation time.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.KeyExpirationTime">
|
|
packet giving time after creation at which the key expires.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.Sig.KeyExpirationTime.Time">
|
|
Return the number of seconds after creation time a key is valid for.
|
|
|
|
@return second count for key validity.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.KeyFlags">
|
|
Packet holding the key flag values.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.Sig.KeyFlags.Flags">
|
|
<summary>
|
|
Return the flag values contained in the first 4 octets (note: at the moment
|
|
the standard only uses the first one).
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.NotationData">
|
|
Class provided a NotationData object according to
|
|
RFC2440, Chapter 5.2.3.15. Notation Data
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.PreferredAlgorithms">
|
|
packet giving signature creation time.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.PrimaryUserId">
|
|
packet giving whether or not the signature is signed using the primary user ID for the key.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.Revocable">
|
|
packet giving whether or not is revocable.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.SignatureCreationTime">
|
|
packet giving signature creation time.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.SignatureExpirationTime">
|
|
packet giving signature expiration time.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.Sig.SignatureExpirationTime.Time">
|
|
return time in seconds before signature expires after creation time.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.SignerUserId">
|
|
packet giving the User ID of the signer.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.Sig.TrustSignature">
|
|
packet giving trust.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.RevocationKey">
|
|
<summary>
|
|
Represents revocation key OpenPGP signature sub packet.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.RevocationReason">
|
|
<summary>
|
|
Represents revocation reason OpenPGP signature sub packet.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SymmetricEncDataPacket">
|
|
<remarks>Basic type for a symmetric key encrypted packet.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag">
|
|
Basic tags for symmetric key algorithms
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.SymmetricKeyEncSessionPacket">
|
|
Basic type for a symmetric encrypted session key packet
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.SymmetricKeyEncSessionPacket.EncAlgorithm">
|
|
@return int
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.SymmetricKeyEncSessionPacket.S2k">
|
|
@return S2k
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.SymmetricKeyEncSessionPacket.GetSecKeyData">
|
|
@return byte[]
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.SymmetricKeyEncSessionPacket.Version">
|
|
@return int
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.TrustPacket">
|
|
<summary>Basic type for a trust packet.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.UserAttributePacket">
|
|
Basic type for a user attribute packet.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.UserAttributeSubpacket">
|
|
Basic type for a user attribute sub-packet.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.UserAttributeSubpacket.GetData">
|
|
return the generic data making up the packet.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.UserAttributeSubpacketsParser">
|
|
reader for user attribute sub-packets
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.UserAttributeSubpacketTag">
|
|
Basic PGP user attribute sub-packet tag types.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.UserIdPacket">
|
|
Basic type for a user ID packet.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedData">
|
|
<remarks>Compressed data objects</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedData.Algorithm">
|
|
<summary>The algorithm used for compression</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedData.GetInputStream">
|
|
<summary>Get the raw input stream contained in the object.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedData.GetDataStream">
|
|
<summary>Return an uncompressed input stream which allows reading of the compressed data.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedDataGenerator">
|
|
<remarks>Class for producing compressed data packets.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedDataGenerator.Open(System.IO.Stream)">
|
|
<summary>
|
|
<p>
|
|
Return an output stream which will save the data being written to
|
|
the compressed object.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
</summary>
|
|
<param name="outStr">Stream to be used for output.</param>
|
|
<returns>A Stream for output of the compressed data.</returns>
|
|
<exception cref="T:System.ArgumentNullException"></exception>
|
|
<exception cref="T:System.InvalidOperationException"></exception>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedDataGenerator.Open(System.IO.Stream,System.Byte[])">
|
|
<summary>
|
|
<p>
|
|
Return an output stream which will compress the data as it is written to it.
|
|
The stream will be written out in chunks according to the size of the passed in buffer.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
<p>
|
|
<b>Note</b>: if the buffer is not a power of 2 in length only the largest power of 2
|
|
bytes worth of the buffer will be used.
|
|
</p>
|
|
<p>
|
|
<b>Note</b>: using this may break compatibility with RFC 1991 compliant tools.
|
|
Only recent OpenPGP implementations are capable of accepting these streams.
|
|
</p>
|
|
</summary>
|
|
<param name="outStr">Stream to be used for output.</param>
|
|
<param name="buffer">The buffer to use.</param>
|
|
<returns>A Stream for output of the compressed data.</returns>
|
|
<exception cref="T:System.ArgumentNullException"></exception>
|
|
<exception cref="T:System.InvalidOperationException"></exception>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpCompressedDataGenerator.Close">
|
|
<summary>Close the compressed object.</summary>summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpDataValidationException">
|
|
<remarks>
|
|
Thrown if the IV at the start of a data stream indicates the wrong key is being used.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedData.GetInputStream">
|
|
<summary>Return the raw input stream for the data stream.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedData.IsIntegrityProtected">
|
|
<summary>Return true if the message is integrity protected.</summary>
|
|
<returns>True, if there is a modification detection code namespace associated
|
|
with this stream.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedData.Verify">
|
|
<summary>Note: This can only be called after the message has been read.</summary>
|
|
<returns>True, if the message verifies, false otherwise</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator">
|
|
<remarks>Generator for encrypted objects.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.#ctor(Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Existing SecureRandom constructor.</summary>
|
|
<param name="encAlgorithm">The symmetric algorithm to use.</param>
|
|
<param name="rand">Source of randomness.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.#ctor(Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Boolean,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Creates a cipher stream which will have an integrity packet associated with it.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.#ctor(Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Security.SecureRandom,System.Boolean)">
|
|
<summary>Base constructor.</summary>
|
|
<param name="encAlgorithm">The symmetric algorithm to use.</param>
|
|
<param name="rand">Source of randomness.</param>
|
|
<param name="oldFormat">PGP 2.6.x compatibility required.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.AddMethod(System.Char[])">
|
|
<summary>
|
|
Add a PBE encryption method to the encrypted object using the default algorithm (S2K_SHA1).
|
|
</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.AddMethod(System.Char[],Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
<summary>Add a PBE encryption method to the encrypted object.</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.AddMethodUtf8(System.Char[],Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
<summary>Add a PBE encryption method to the encrypted object.</summary>
|
|
<remarks>
|
|
The passphrase is encoded to bytes using UTF8 (Encoding.UTF8.GetBytes).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.AddMethodRaw(System.Byte[],Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
<summary>Add a PBE encryption method to the encrypted object.</summary>
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.AddMethod(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Add a public key encrypted session key to the encrypted object.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.Open(System.IO.Stream,System.Int64,System.Byte[])">
|
|
<summary>
|
|
<p>
|
|
If buffer is non null stream assumed to be partial, otherwise the length will be used
|
|
to output a fixed length packet.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.Open(System.IO.Stream,System.Int64)">
|
|
<summary>
|
|
<p>
|
|
Return an output stream which will encrypt the data as it is written to it.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.Open(System.IO.Stream,System.Byte[])">
|
|
<summary>
|
|
<p>
|
|
Return an output stream which will encrypt the data as it is written to it.
|
|
The stream will be written out in chunks according to the size of the passed in buffer.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
<p>
|
|
<b>Note</b>: if the buffer is not a power of 2 in length only the largest power of 2
|
|
bytes worth of the buffer will be used.
|
|
</p>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.Close">
|
|
<summary>
|
|
<p>
|
|
Close off the encrypted object - this is equivalent to calling Close() on the stream
|
|
returned by the Open() method.
|
|
</p>
|
|
<p>
|
|
<b>Note</b>: This does not close the underlying output stream, only the stream on top of
|
|
it created by the Open() method.
|
|
</p>
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataList">
|
|
<remarks>A holder for a list of PGP encryption method packets.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException">
|
|
<remarks>Generic exception class for PGP encoding/decoding problems.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyFlags">
|
|
<remarks>Key flag values for the KeyFlags subpacket.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair">
|
|
<remarks>
|
|
General class to handle JCA key pairs and convert them into OpenPGP ones.
|
|
<p>
|
|
A word for the unwary, the KeyId for an OpenPGP public key is calculated from
|
|
a hash that includes the time of creation, if you pass a different date to the
|
|
constructor below with the same public private key pair the KeyIs will not be the
|
|
same as for previous generations of the key, so ideally you only want to do
|
|
this once.
|
|
</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair.#ctor(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey)">
|
|
<summary>Create a key pair from a PgpPrivateKey and a PgpPublicKey.</summary>
|
|
<param name="pub">The public key.</param>
|
|
<param name="priv">The private key.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair.KeyId">
|
|
<summary>The keyId associated with this key pair.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator">
|
|
<remarks>
|
|
Generator for a PGP master and subkey ring.
|
|
This class will generate both the secret and public key rings
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Char[],Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Create a new key ring generator using old style checksumming. It is recommended to use
|
|
SHA1 checksumming where possible.
|
|
</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
<param name="certificationLevel">The certification level for keys on this ring.</param>
|
|
<param name="masterKey">The master key pair.</param>
|
|
<param name="id">The id to be associated with the ring.</param>
|
|
<param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
|
|
<param name="passPhrase">The passPhrase to be used to protect secret keys.</param>
|
|
<param name="hashedPackets">Packets to be included in the certification hash.</param>
|
|
<param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
|
|
<param name="rand">input secured random.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Create a new key ring generator.
|
|
</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
<param name="certificationLevel">The certification level for keys on this ring.</param>
|
|
<param name="masterKey">The master key pair.</param>
|
|
<param name="id">The id to be associated with the ring.</param>
|
|
<param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
|
|
<param name="passPhrase">The passPhrase to be used to protect secret keys.</param>
|
|
<param name="useSha1">Checksum the secret keys with SHA1 rather than the older 16 bit checksum.</param>
|
|
<param name="hashedPackets">Packets to be included in the certification hash.</param>
|
|
<param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
|
|
<param name="rand">input secured random.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Boolean,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Create a new key ring generator.
|
|
</summary>
|
|
<param name="certificationLevel">The certification level for keys on this ring.</param>
|
|
<param name="masterKey">The master key pair.</param>
|
|
<param name="id">The id to be associated with the ring.</param>
|
|
<param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
|
|
<param name="utf8PassPhrase">
|
|
If true, conversion of the passphrase to bytes uses Encoding.UTF8.GetBytes(), otherwise the conversion
|
|
is performed using Convert.ToByte(), which is the historical behaviour of the library (1.7 and earlier).
|
|
</param>
|
|
<param name="passPhrase">The passPhrase to be used to protect secret keys.</param>
|
|
<param name="useSha1">Checksum the secret keys with SHA1 rather than the older 16 bit checksum.</param>
|
|
<param name="hashedPackets">Packets to be included in the certification hash.</param>
|
|
<param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
|
|
<param name="rand">input secured random.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Byte[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Create a new key ring generator.
|
|
</summary>
|
|
<param name="certificationLevel">The certification level for keys on this ring.</param>
|
|
<param name="masterKey">The master key pair.</param>
|
|
<param name="id">The id to be associated with the ring.</param>
|
|
<param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
|
|
<param name="rawPassPhrase">The passPhrase to be used to protect secret keys.</param>
|
|
<param name="useSha1">Checksum the secret keys with SHA1 rather than the older 16 bit checksum.</param>
|
|
<param name="hashedPackets">Packets to be included in the certification hash.</param>
|
|
<param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
|
|
<param name="rand">input secured random.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Create a new key ring generator.
|
|
</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
<param name="certificationLevel">The certification level for keys on this ring.</param>
|
|
<param name="masterKey">The master key pair.</param>
|
|
<param name="id">The id to be associated with the ring.</param>
|
|
<param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
|
|
<param name="hashAlgorithm">The hash algorithm.</param>
|
|
<param name="passPhrase">The passPhrase to be used to protect secret keys.</param>
|
|
<param name="useSha1">Checksum the secret keys with SHA1 rather than the older 16 bit checksum.</param>
|
|
<param name="hashedPackets">Packets to be included in the certification hash.</param>
|
|
<param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
|
|
<param name="rand">input secured random.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,System.Boolean,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Create a new key ring generator.
|
|
</summary>
|
|
<param name="certificationLevel">The certification level for keys on this ring.</param>
|
|
<param name="masterKey">The master key pair.</param>
|
|
<param name="id">The id to be associated with the ring.</param>
|
|
<param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
|
|
<param name="hashAlgorithm">The hash algorithm.</param>
|
|
<param name="utf8PassPhrase">
|
|
If true, conversion of the passphrase to bytes uses Encoding.UTF8.GetBytes(), otherwise the conversion
|
|
is performed using Convert.ToByte(), which is the historical behaviour of the library (1.7 and earlier).
|
|
</param>
|
|
<param name="passPhrase">The passPhrase to be used to protect secret keys.</param>
|
|
<param name="useSha1">Checksum the secret keys with SHA1 rather than the older 16 bit checksum.</param>
|
|
<param name="hashedPackets">Packets to be included in the certification hash.</param>
|
|
<param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
|
|
<param name="rand">input secured random.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,System.Byte[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Create a new key ring generator.
|
|
</summary>
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
<param name="certificationLevel">The certification level for keys on this ring.</param>
|
|
<param name="masterKey">The master key pair.</param>
|
|
<param name="id">The id to be associated with the ring.</param>
|
|
<param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
|
|
<param name="hashAlgorithm">The hash algorithm.</param>
|
|
<param name="rawPassPhrase">The passPhrase to be used to protect secret keys.</param>
|
|
<param name="useSha1">Checksum the secret keys with SHA1 rather than the older 16 bit checksum.</param>
|
|
<param name="hashedPackets">Packets to be included in the certification hash.</param>
|
|
<param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
|
|
<param name="rand">input secured random.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.AddSubKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair)">
|
|
<summary>Add a subkey to the key ring to be generated with default certification.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.AddSubKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
<summary>
|
|
Add a subkey to the key ring to be generated with default certification.
|
|
</summary>
|
|
<param name="keyPair">The key pair.</param>
|
|
<param name="hashAlgorithm">The hash algorithm.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.AddSubKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector)">
|
|
<summary>
|
|
Add a subkey with specific hashed and unhashed packets associated with it and
|
|
default certification.
|
|
</summary>
|
|
<param name="keyPair">Public/private key pair.</param>
|
|
<param name="hashedPackets">Hashed packet values to be included in certification.</param>
|
|
<param name="unhashedPackets">Unhashed packets values to be included in certification.</param>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.AddSubKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
<summary>
|
|
Add a subkey with specific hashed and unhashed packets associated with it and
|
|
default certification.
|
|
</summary>
|
|
<param name="keyPair">Public/private key pair.</param>
|
|
<param name="hashedPackets">Hashed packet values to be included in certification.</param>
|
|
<param name="unhashedPackets">Unhashed packets values to be included in certification.</param>
|
|
<param name="hashAlgorithm">The hash algorithm.</param>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException">exception adding subkey: </exception>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.GenerateSecretKeyRing">
|
|
<summary>Return the secret key ring.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyRingGenerator.GeneratePublicKeyRing">
|
|
<summary>Return the public key ring that corresponds to the secret key ring.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyValidationException">
|
|
<remarks>
|
|
Thrown if the key checksum is invalid.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData">
|
|
<summary>Class for processing literal data objects.</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData.Console">
|
|
<summary>The special name indicating a "for your eyes only" packet.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData.Format">
|
|
<summary>The format of the data stream - Binary or Text</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData.FileName">
|
|
<summary>The file name that's associated with the data stream.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData.GetRawFileName">
|
|
Return the file name as an unintrepreted byte array.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData.ModificationTime">
|
|
<summary>The modification time for the file.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData.GetInputStream">
|
|
<summary>The raw input stream for the data stream.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralData.GetDataStream">
|
|
<summary>The input stream representing the data stream.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralDataGenerator">
|
|
<remarks>Class for producing literal data packets.</remarks>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralDataGenerator.Console">
|
|
<summary>The special name indicating a "for your eyes only" packet.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralDataGenerator.#ctor(System.Boolean)">
|
|
<summary>
|
|
Generates literal data objects in the old format.
|
|
This is important if you need compatibility with PGP 2.6.x.
|
|
</summary>
|
|
<param name="oldFormat">If true, uses old format.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralDataGenerator.Open(System.IO.Stream,System.Char,System.String,System.Int64,System.DateTime)">
|
|
<summary>
|
|
<p>
|
|
Open a literal data packet, returning a stream to store the data inside the packet.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
</summary>
|
|
<param name="outStr">The stream we want the packet in.</param>
|
|
<param name="format">The format we are using.</param>
|
|
<param name="name">The name of the 'file'.</param>
|
|
<param name="length">The length of the data we will write.</param>
|
|
<param name="modificationTime">The time of last modification we want stored.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralDataGenerator.Open(System.IO.Stream,System.Char,System.String,System.DateTime,System.Byte[])">
|
|
<summary>
|
|
<p>
|
|
Open a literal data packet, returning a stream to store the data inside the packet,
|
|
as an indefinite length stream. The stream is written out as a series of partial
|
|
packets with a chunk size determined by the size of the passed in buffer.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
<p>
|
|
<b>Note</b>: if the buffer is not a power of 2 in length only the largest power of 2
|
|
bytes worth of the buffer will be used.</p>
|
|
</summary>
|
|
<param name="outStr">The stream we want the packet in.</param>
|
|
<param name="format">The format we are using.</param>
|
|
<param name="name">The name of the 'file'.</param>
|
|
<param name="modificationTime">The time of last modification we want stored.</param>
|
|
<param name="buffer">The buffer to use for collecting data to put into chunks.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralDataGenerator.Open(System.IO.Stream,System.Char,System.IO.FileInfo)">
|
|
<summary>
|
|
<p>
|
|
Open a literal data packet for the passed in <c>FileInfo</c> object, returning
|
|
an output stream for saving the file contents.
|
|
</p>
|
|
<p>
|
|
The stream created can be closed off by either calling Close()
|
|
on the stream or Close() on the generator. Closing the returned
|
|
stream does not close off the Stream parameter <c>outStr</c>.
|
|
</p>
|
|
</summary>
|
|
<param name="outStr">The stream we want the packet in.</param>
|
|
<param name="format">The format we are using.</param>
|
|
<param name="file">The <c>FileInfo</c> object containg the packet details.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpLiteralDataGenerator.Close">
|
|
<summary>
|
|
Close the literal data packet - this is equivalent to calling Close()
|
|
on the stream returned by the Open() method.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpMarker">
|
|
<remarks>
|
|
A PGP marker packet - in general these should be ignored other than where
|
|
the idea is to preserve the original input stream.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpObjectFactory">
|
|
<remarks>
|
|
General class for reading a PGP object stream.
|
|
<p>
|
|
Note: if this class finds a PgpPublicKey or a PgpSecretKey it
|
|
will create a PgpPublicKeyRing, or a PgpSecretKeyRing for each
|
|
key found. If all you are trying to do is read a key ring file use
|
|
either PgpPublicKeyRingBundle or PgpSecretKeyRingBundle.</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpObjectFactory.NextPgpObject">
|
|
<summary>Return the next object in the stream, or null if the end is reached.</summary>
|
|
<exception cref="T:System.IO.IOException">On a parse error</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpObjectFactory.AllPgpObjects">
|
|
<summary>
|
|
Return all available objects in a list.
|
|
</summary>
|
|
<returns>An <c>IList</c> containing all objects from this factory, in order.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpOnePassSignature">
|
|
<remarks>A one pass signature object.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpOnePassSignature.InitVerify(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Initialise the signature object for verification.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpOnePassSignature.Verify(Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature)">
|
|
<summary>Verify the calculated signature against the passed in PgpSignature.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpOnePassSignatureList">
|
|
<remarks>Holder for a list of PgpOnePassSignature objects.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpPad">
|
|
<remarks>Padding functions.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpPbeEncryptedData">
|
|
<remarks>A password based encryption object.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPbeEncryptedData.GetInputStream">
|
|
<summary>Return the raw input stream for the data stream.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPbeEncryptedData.GetDataStream(System.Char[])">
|
|
<summary>Return the decrypted input stream, using the passed in passphrase.</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPbeEncryptedData.GetDataStreamUtf8(System.Char[])">
|
|
<summary>Return the decrypted input stream, using the passed in passphrase.</summary>
|
|
<remarks>
|
|
The passphrase is encoded to bytes using UTF8 (Encoding.UTF8.GetBytes).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPbeEncryptedData.GetDataStreamRaw(System.Byte[])">
|
|
<summary>Return the decrypted input stream, using the passed in passphrase.</summary>
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey">
|
|
<remarks>General class to contain a private key for use with other OpenPGP objects.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey.#ctor(System.Int64,Org.BouncyCastle.Bcpg.PublicKeyPacket,Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Create a PgpPrivateKey from a keyID, the associated public data packet, and a regular private key.
|
|
</summary>
|
|
<param name="keyID">ID of the corresponding public key.</param>
|
|
<param name="publicKeyPacket">the public key data packet to be associated with this private key.</param>
|
|
<param name="privateKey">the private key data packet to be associated with this private key.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey.KeyId">
|
|
<summary>The keyId associated with the contained private key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey.PublicKeyPacket">
|
|
<summary>The public key packet associated with this private key, if available.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey.Key">
|
|
<summary>The contained private key.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey">
|
|
<remarks>General class to handle a PGP public key object.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.#ctor(Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.DateTime)">
|
|
<summary>
|
|
Create a PgpPublicKey from the passed in lightweight one.
|
|
</summary>
|
|
<remarks>
|
|
Note: the time passed in affects the value of the key's keyId, so you probably only want
|
|
to do this once for a lightweight key, or make sure you keep track of the time you used.
|
|
</remarks>
|
|
<param name="algorithm">Asymmetric algorithm type representing the public key.</param>
|
|
<param name="pubKey">Actual public key to associate.</param>
|
|
<param name="time">Date of creation.</param>
|
|
<exception cref="T:System.ArgumentException">If <c>pubKey</c> is not public.</exception>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException">On key creation problem.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.#ctor(Org.BouncyCastle.Bcpg.PublicKeyPacket,Org.BouncyCastle.Bcpg.TrustPacket,System.Collections.IList)">
|
|
<summary>Constructor for a sub-key.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.#ctor(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Copy constructor.</summary>
|
|
<param name="pubKey">The public key to copy.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.Version">
|
|
<summary>The version of this key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.CreationTime">
|
|
<summary>The creation time of this key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.ValidDays">
|
|
<summary>The number of valid days from creation time - zero means no expiry.</summary>
|
|
<remarks>WARNING: This method will return 1 for keys with version > 3 that expire in less than 1 day</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetTrustData">
|
|
<summary>Return the trust data associated with the public key, if present.</summary>
|
|
<returns>A byte array with trust data, null otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetValidSeconds">
|
|
<summary>The number of valid seconds from creation time - zero means no expiry.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.KeyId">
|
|
<summary>The keyId associated with the public key.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetFingerprint">
|
|
<summary>The fingerprint of the key</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.IsEncryptionKey">
|
|
<summary>
|
|
Check if this key has an algorithm type that makes it suitable to use for encryption.
|
|
</summary>
|
|
<remarks>
|
|
Note: with version 4 keys KeyFlags subpackets should also be considered when present for
|
|
determining the preferred use of the key.
|
|
</remarks>
|
|
<returns>
|
|
<c>true</c> if this key algorithm is suitable for encryption.
|
|
</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.IsMasterKey">
|
|
<summary>True, if this is a master key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.Algorithm">
|
|
<summary>The algorithm code associated with the public key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.BitStrength">
|
|
<summary>The strength of the key in bits.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetKey">
|
|
<summary>The public key contained in the object.</summary>
|
|
<returns>A lightweight public key.</returns>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException">If the key algorithm is not recognised.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetUserIds">
|
|
<summary>Allows enumeration of any user IDs associated with the key.</summary>
|
|
<returns>An <c>IEnumerable</c> of <c>string</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetUserAttributes">
|
|
<summary>Allows enumeration of any user attribute vectors associated with the key.</summary>
|
|
<returns>An <c>IEnumerable</c> of <c>PgpUserAttributeSubpacketVector</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetSignaturesForId(System.String)">
|
|
<summary>Allows enumeration of any signatures associated with the passed in id.</summary>
|
|
<param name="id">The ID to be matched.</param>
|
|
<returns>An <c>IEnumerable</c> of <c>PgpSignature</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetSignaturesForUserAttribute(Org.BouncyCastle.Bcpg.OpenPgp.PgpUserAttributeSubpacketVector)">
|
|
<summary>Allows enumeration of signatures associated with the passed in user attributes.</summary>
|
|
<param name="userAttributes">The vector of user attributes to be matched.</param>
|
|
<returns>An <c>IEnumerable</c> of <c>PgpSignature</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetSignaturesOfType(System.Int32)">
|
|
<summary>Allows enumeration of signatures of the passed in type that are on this key.</summary>
|
|
<param name="signatureType">The type of the signature to be returned.</param>
|
|
<returns>An <c>IEnumerable</c> of <c>PgpSignature</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetSignatures">
|
|
<summary>Allows enumeration of all signatures/certifications associated with this key.</summary>
|
|
<returns>An <c>IEnumerable</c> with all signatures/certifications.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.GetKeySignatures">
|
|
Return all signatures/certifications directly associated with this key (ie, not to a user id).
|
|
|
|
@return an iterator (possibly empty) with all signatures/certifications.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.IsRevoked">
|
|
<summary>Check whether this (sub)key has a revocation signature on it.</summary>
|
|
<returns>True, if this (sub)key has been revoked.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.AddCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,System.String,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature)">
|
|
<summary>Add a certification for an id to the given public key.</summary>
|
|
<param name="key">The key the certification is to be added to.</param>
|
|
<param name="id">The ID the certification is associated with.</param>
|
|
<param name="certification">The new certification.</param>
|
|
<returns>The re-certified key.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.AddCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpUserAttributeSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature)">
|
|
<summary>Add a certification for the given UserAttributeSubpackets to the given public key.</summary>
|
|
<param name="key">The key the certification is to be added to.</param>
|
|
<param name="userAttributes">The attributes the certification is associated with.</param>
|
|
<param name="certification">The new certification.</param>
|
|
<returns>The re-certified key.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.RemoveCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpUserAttributeSubpacketVector)">
|
|
<summary>
|
|
Remove any certifications associated with a user attribute subpacket on a key.
|
|
</summary>
|
|
<param name="key">The key the certifications are to be removed from.</param>
|
|
<param name="userAttributes">The attributes to be removed.</param>
|
|
<returns>
|
|
The re-certified key, or null if the user attribute subpacket was not found on the key.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.RemoveCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,System.String)">
|
|
<summary>Remove any certifications associated with a given ID on a key.</summary>
|
|
<param name="key">The key the certifications are to be removed from.</param>
|
|
<param name="id">The ID that is to be removed.</param>
|
|
<returns>The re-certified key, or null if the ID was not found on the key.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.RemoveCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,System.String,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature)">
|
|
<summary>Remove a certification associated with a given ID on a key.</summary>
|
|
<param name="key">The key the certifications are to be removed from.</param>
|
|
<param name="id">The ID that the certfication is to be removed from.</param>
|
|
<param name="certification">The certfication to be removed.</param>
|
|
<returns>The re-certified key, or null if the certification was not found.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.RemoveCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpUserAttributeSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature)">
|
|
<summary>Remove a certification associated with a given user attributes on a key.</summary>
|
|
<param name="key">The key the certifications are to be removed from.</param>
|
|
<param name="userAttributes">The user attributes that the certfication is to be removed from.</param>
|
|
<param name="certification">The certification to be removed.</param>
|
|
<returns>The re-certified key, or null if the certification was not found.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.AddCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature)">
|
|
<summary>Add a revocation or some other key certification to a key.</summary>
|
|
<param name="key">The key the revocation is to be added to.</param>
|
|
<param name="certification">The key signature to be added.</param>
|
|
<returns>The new changed public key object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey.RemoveCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature)">
|
|
<summary>Remove a certification from the key.</summary>
|
|
<param name="key">The key the certifications are to be removed from.</param>
|
|
<param name="certification">The certfication to be removed.</param>
|
|
<returns>The modified key, null if the certification was not found.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyEncryptedData">
|
|
<remarks>A public key encrypted data object.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyEncryptedData.KeyId">
|
|
<summary>The key ID for the key used to encrypt the data.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyEncryptedData.GetSymmetricAlgorithm(Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey)">
|
|
<summary>
|
|
Return the algorithm code for the symmetric algorithm used to encrypt the data.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyEncryptedData.GetDataStream(Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey)">
|
|
<summary>Return the decrypted data stream for the packet.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing">
|
|
<remarks>
|
|
Class to hold a single master public key and its subkeys.
|
|
<p>
|
|
Often PGP keyring files consist of multiple master keys, if you are trying to process
|
|
or construct one of these you should use the <c>PgpPublicKeyRingBundle</c> class.
|
|
</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing.GetPublicKey">
|
|
<summary>Return the first public key in the ring.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing.GetPublicKey(System.Int64)">
|
|
<summary>Return the public key referred to by the passed in key ID if it is present.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing.GetPublicKeys">
|
|
<summary>Allows enumeration of all the public keys.</summary>
|
|
<returns>An <c>IEnumerable</c> of <c>PgpPublicKey</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing.InsertPublicKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>
|
|
Returns a new key ring with the public key passed in either added or
|
|
replacing an existing one.
|
|
</summary>
|
|
<param name="pubRing">The public key ring to be modified.</param>
|
|
<param name="pubKey">The public key to be inserted.</param>
|
|
<returns>A new <c>PgpPublicKeyRing</c></returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing.RemovePublicKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Returns a new key ring with the public key passed in removed from the key ring.</summary>
|
|
<param name="pubRing">The public key ring to be modified.</param>
|
|
<param name="pubKey">The public key to be removed.</param>
|
|
<returns>A new <c>PgpPublicKeyRing</c>, or null if pubKey is not found.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle">
|
|
<remarks>
|
|
Often a PGP key ring file is made up of a succession of master/sub-key key rings.
|
|
If you want to read an entire public key file in one hit this is the class for you.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.#ctor(System.IO.Stream)">
|
|
<summary>Build a PgpPublicKeyRingBundle from the passed in input stream.</summary>
|
|
<param name="inputStream">Input stream containing data.</param>
|
|
<exception cref="T:System.IO.IOException">If a problem parsing the stream occurs.</exception>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException">If an object is encountered which isn't a PgpPublicKeyRing.</exception>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.Count">
|
|
<summary>Return the number of key rings in this collection.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.GetKeyRings">
|
|
<summary>Allow enumeration of the public key rings making up this collection.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.GetKeyRings(System.String)">
|
|
<summary>Allow enumeration of the key rings associated with the passed in userId.</summary>
|
|
<param name="userId">The user ID to be matched.</param>
|
|
<returns>An <c>IEnumerable</c> of key rings which matched (possibly none).</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.GetKeyRings(System.String,System.Boolean)">
|
|
<summary>Allow enumeration of the key rings associated with the passed in userId.</summary>
|
|
<param name="userId">The user ID to be matched.</param>
|
|
<param name="matchPartial">If true, userId need only be a substring of an actual ID string to match.</param>
|
|
<returns>An <c>IEnumerable</c> of key rings which matched (possibly none).</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.GetKeyRings(System.String,System.Boolean,System.Boolean)">
|
|
<summary>Allow enumeration of the key rings associated with the passed in userId.</summary>
|
|
<param name="userId">The user ID to be matched.</param>
|
|
<param name="matchPartial">If true, userId need only be a substring of an actual ID string to match.</param>
|
|
<param name="ignoreCase">If true, case is ignored in user ID comparisons.</param>
|
|
<returns>An <c>IEnumerable</c> of key rings which matched (possibly none).</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.GetPublicKey(System.Int64)">
|
|
<summary>Return the PGP public key associated with the given key id.</summary>
|
|
<param name="keyId">The ID of the public key to return.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.GetPublicKeyRing(System.Int64)">
|
|
<summary>Return the public key ring which contains the key referred to by keyId</summary>
|
|
<param name="keyId">key ID to match against</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.Contains(System.Int64)">
|
|
<summary>
|
|
Return true if a key matching the passed in key ID is present, false otherwise.
|
|
</summary>
|
|
<param name="keyID">key ID to look for.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.AddPublicKeyRing(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing)">
|
|
<summary>
|
|
Return a new bundle containing the contents of the passed in bundle and
|
|
the passed in public key ring.
|
|
</summary>
|
|
<param name="bundle">The <c>PgpPublicKeyRingBundle</c> the key ring is to be added to.</param>
|
|
<param name="publicKeyRing">The key ring to be added.</param>
|
|
<returns>A new <c>PgpPublicKeyRingBundle</c> merging the current one with the passed in key ring.</returns>
|
|
<exception cref="T:System.ArgumentException">If the keyId for the passed in key ring is already present.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle.RemovePublicKeyRing(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRingBundle,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing)">
|
|
<summary>
|
|
Return a new bundle containing the contents of the passed in bundle with
|
|
the passed in public key ring removed.
|
|
</summary>
|
|
<param name="bundle">The <c>PgpPublicKeyRingBundle</c> the key ring is to be removed from.</param>
|
|
<param name="publicKeyRing">The key ring to be removed.</param>
|
|
<returns>A new <c>PgpPublicKeyRingBundle</c> not containing the passed in key ring.</returns>
|
|
<exception cref="T:System.ArgumentException">If the keyId for the passed in key ring is not present.</exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey">
|
|
<remarks>General class to handle a PGP secret key object.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Char[],Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Boolean,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>
|
|
If utf8PassPhrase is true, conversion of the passphrase to bytes uses Encoding.UTF8.GetBytes(), otherwise the conversion
|
|
is performed using Convert.ToByte(), which is the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,System.Byte[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,System.Boolean,System.Char[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>
|
|
If utf8PassPhrase is true, conversion of the passphrase to bytes uses Encoding.UTF8.GetBytes(), otherwise the conversion
|
|
is performed using Convert.ToByte(), which is the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.#ctor(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpKeyPair,System.String,Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag,System.Byte[],System.Boolean,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.IsSigningKey">
|
|
<summary>
|
|
Check if this key has an algorithm type that makes it suitable to use for signing.
|
|
</summary>
|
|
<remarks>
|
|
Note: with version 4 keys KeyFlags subpackets should also be considered when present for
|
|
determining the preferred use of the key.
|
|
</remarks>
|
|
<returns>
|
|
<c>true</c> if this key algorithm is suitable for use with signing.
|
|
</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.IsMasterKey">
|
|
<summary>True, if this is a master key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.IsPrivateKeyEmpty">
|
|
<summary>Detect if the Secret Key's Private Key is empty or not</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.KeyEncryptionAlgorithm">
|
|
<summary>The algorithm the key is encrypted with.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.KeyId">
|
|
<summary>The key ID of the public key associated with this key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.S2kUsage">
|
|
<summary>Return the S2K usage associated with this key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.S2k">
|
|
<summary>Return the S2K used to process this key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.PublicKey">
|
|
<summary>The public key associated with this key.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.UserIds">
|
|
<summary>Allows enumeration of any user IDs associated with the key.</summary>
|
|
<returns>An <c>IEnumerable</c> of <c>string</c> objects.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.UserAttributes">
|
|
<summary>Allows enumeration of any user attribute vectors associated with the key.</summary>
|
|
<returns>An <c>IEnumerable</c> of <c>string</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ExtractPrivateKey(System.Char[])">
|
|
<summary>Extract a <c>PgpPrivateKey</c> from this secret key's encrypted contents.</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ExtractPrivateKeyUtf8(System.Char[])">
|
|
<summary>Extract a <c>PgpPrivateKey</c> from this secret key's encrypted contents.</summary>
|
|
<remarks>
|
|
The passphrase is encoded to bytes using UTF8 (Encoding.UTF8.GetBytes).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ExtractPrivateKeyRaw(System.Byte[])">
|
|
<summary>Extract a <c>PgpPrivateKey</c> from this secret key's encrypted contents.</summary>
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.CopyWithNewPassword(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey,System.Char[],System.Char[],Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Return a copy of the passed in secret key, encrypted using a new password
|
|
and the passed in algorithm.
|
|
</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
<param name="key">The PgpSecretKey to be copied.</param>
|
|
<param name="oldPassPhrase">The current password for the key.</param>
|
|
<param name="newPassPhrase">The new password for the key.</param>
|
|
<param name="newEncAlgorithm">The algorithm to be used for the encryption.</param>
|
|
<param name="rand">Source of randomness.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.CopyWithNewPasswordUtf8(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey,System.Char[],System.Char[],Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Return a copy of the passed in secret key, encrypted using a new password
|
|
and the passed in algorithm.
|
|
</summary>
|
|
<remarks>
|
|
The passphrase is encoded to bytes using UTF8 (Encoding.UTF8.GetBytes).
|
|
</remarks>
|
|
<param name="key">The PgpSecretKey to be copied.</param>
|
|
<param name="oldPassPhrase">The current password for the key.</param>
|
|
<param name="newPassPhrase">The new password for the key.</param>
|
|
<param name="newEncAlgorithm">The algorithm to be used for the encryption.</param>
|
|
<param name="rand">Source of randomness.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.CopyWithNewPasswordRaw(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey,System.Byte[],System.Byte[],Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Return a copy of the passed in secret key, encrypted using a new password
|
|
and the passed in algorithm.
|
|
</summary>
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
<param name="key">The PgpSecretKey to be copied.</param>
|
|
<param name="rawOldPassPhrase">The current password for the key.</param>
|
|
<param name="rawNewPassPhrase">The new password for the key.</param>
|
|
<param name="newEncAlgorithm">The algorithm to be used for the encryption.</param>
|
|
<param name="rand">Source of randomness.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ReplacePublicKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Replace the passed the public key on the passed in secret key.</summary>
|
|
<param name="secretKey">Secret key to change.</param>
|
|
<param name="publicKey">New public key.</param>
|
|
<returns>A new secret key.</returns>
|
|
<exception cref="T:System.ArgumentException">If KeyId's do not match.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ParseSecretKeyFromSExpr(System.IO.Stream,System.Char[],Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>
|
|
Parse a secret key from one of the GPG S expression keys associating it with the passed in public key.
|
|
</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ParseSecretKeyFromSExprUtf8(System.IO.Stream,System.Char[],Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>
|
|
Parse a secret key from one of the GPG S expression keys associating it with the passed in public key.
|
|
</summary>
|
|
<remarks>
|
|
The passphrase is encoded to bytes using UTF8 (Encoding.UTF8.GetBytes).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ParseSecretKeyFromSExprRaw(System.IO.Stream,System.Byte[],Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>
|
|
Parse a secret key from one of the GPG S expression keys associating it with the passed in public key.
|
|
</summary>
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ParseSecretKeyFromSExpr(System.IO.Stream,System.Char[])">
|
|
<summary>
|
|
Parse a secret key from one of the GPG S expression keys.
|
|
</summary>
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ParseSecretKeyFromSExprUtf8(System.IO.Stream,System.Char[])">
|
|
<summary>
|
|
Parse a secret key from one of the GPG S expression keys.
|
|
</summary>
|
|
<remarks>
|
|
The passphrase is encoded to bytes using UTF8 (Encoding.UTF8.GetBytes).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.ParseSecretKeyFromSExprRaw(System.IO.Stream,System.Byte[])">
|
|
<summary>
|
|
Parse a secret key from one of the GPG S expression keys.
|
|
</summary>
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey.DoParseSecretKeyFromSExpr(System.IO.Stream,System.Byte[],System.Boolean)">
|
|
<summary>
|
|
Parse a secret key from one of the GPG S expression keys.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing">
|
|
<remarks>
|
|
Class to hold a single master secret key and its subkeys.
|
|
<p>
|
|
Often PGP keyring files consist of multiple master keys, if you are trying to process
|
|
or construct one of these you should use the <c>PgpSecretKeyRingBundle</c> class.
|
|
</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.GetPublicKey">
|
|
<summary>Return the public key for the master key.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.GetSecretKey">
|
|
<summary>Return the master private key.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.GetSecretKeys">
|
|
<summary>Allows enumeration of the secret keys.</summary>
|
|
<returns>An <c>IEnumerable</c> of <c>PgpSecretKey</c> objects.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.GetExtraPublicKeys">
|
|
<summary>
|
|
Return an iterator of the public keys in the secret key ring that
|
|
have no matching private key. At the moment only personal certificate data
|
|
appears in this fashion.
|
|
</summary>
|
|
<returns>An <c>IEnumerable</c> of unattached, or extra, public keys.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.ReplacePublicKeys(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing)">
|
|
<summary>
|
|
Replace the public key set on the secret ring with the corresponding key off the public ring.
|
|
</summary>
|
|
<param name="secretRing">Secret ring to be changed.</param>
|
|
<param name="publicRing">Public ring containing the new public key set.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.CopyWithNewPassword(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing,System.Char[],System.Char[],Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Return a copy of the passed in secret key ring, with the master key and sub keys encrypted
|
|
using a new password and the passed in algorithm.
|
|
</summary>
|
|
<param name="ring">The <c>PgpSecretKeyRing</c> to be copied.</param>
|
|
<param name="oldPassPhrase">The current password for key.</param>
|
|
<param name="newPassPhrase">The new password for the key.</param>
|
|
<param name="newEncAlgorithm">The algorithm to be used for the encryption.</param>
|
|
<param name="rand">Source of randomness.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.InsertSecretKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing,Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey)">
|
|
<summary>
|
|
Returns a new key ring with the secret key passed in either added or
|
|
replacing an existing one with the same key ID.
|
|
</summary>
|
|
<param name="secRing">The secret key ring to be modified.</param>
|
|
<param name="secKey">The secret key to be inserted.</param>
|
|
<returns>A new <c>PgpSecretKeyRing</c></returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing.RemoveSecretKey(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing,Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKey)">
|
|
<summary>Returns a new key ring with the secret key passed in removed from the key ring.</summary>
|
|
<param name="secRing">The secret key ring to be modified.</param>
|
|
<param name="secKey">The secret key to be removed.</param>
|
|
<returns>A new <c>PgpSecretKeyRing</c>, or null if secKey is not found.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle">
|
|
<remarks>
|
|
Often a PGP key ring file is made up of a succession of master/sub-key key rings.
|
|
If you want to read an entire secret key file in one hit this is the class for you.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.#ctor(System.IO.Stream)">
|
|
<summary>Build a PgpSecretKeyRingBundle from the passed in input stream.</summary>
|
|
<param name="inputStream">Input stream containing data.</param>
|
|
<exception cref="T:System.IO.IOException">If a problem parsing the stream occurs.</exception>
|
|
<exception cref="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpException">If an object is encountered which isn't a PgpSecretKeyRing.</exception>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.Count">
|
|
<summary>Return the number of rings in this collection.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.GetKeyRings">
|
|
<summary>Allow enumeration of the secret key rings making up this collection.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.GetKeyRings(System.String)">
|
|
<summary>Allow enumeration of the key rings associated with the passed in userId.</summary>
|
|
<param name="userId">The user ID to be matched.</param>
|
|
<returns>An <c>IEnumerable</c> of key rings which matched (possibly none).</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.GetKeyRings(System.String,System.Boolean)">
|
|
<summary>Allow enumeration of the key rings associated with the passed in userId.</summary>
|
|
<param name="userId">The user ID to be matched.</param>
|
|
<param name="matchPartial">If true, userId need only be a substring of an actual ID string to match.</param>
|
|
<returns>An <c>IEnumerable</c> of key rings which matched (possibly none).</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.GetKeyRings(System.String,System.Boolean,System.Boolean)">
|
|
<summary>Allow enumeration of the key rings associated with the passed in userId.</summary>
|
|
<param name="userId">The user ID to be matched.</param>
|
|
<param name="matchPartial">If true, userId need only be a substring of an actual ID string to match.</param>
|
|
<param name="ignoreCase">If true, case is ignored in user ID comparisons.</param>
|
|
<returns>An <c>IEnumerable</c> of key rings which matched (possibly none).</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.GetSecretKey(System.Int64)">
|
|
<summary>Return the PGP secret key associated with the given key id.</summary>
|
|
<param name="keyId">The ID of the secret key to return.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.GetSecretKeyRing(System.Int64)">
|
|
<summary>Return the secret key ring which contains the key referred to by keyId</summary>
|
|
<param name="keyId">The ID of the secret key</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.Contains(System.Int64)">
|
|
<summary>
|
|
Return true if a key matching the passed in key ID is present, false otherwise.
|
|
</summary>
|
|
<param name="keyID">key ID to look for.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.AddSecretKeyRing(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle,Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing)">
|
|
<summary>
|
|
Return a new bundle containing the contents of the passed in bundle and
|
|
the passed in secret key ring.
|
|
</summary>
|
|
<param name="bundle">The <c>PgpSecretKeyRingBundle</c> the key ring is to be added to.</param>
|
|
<param name="secretKeyRing">The key ring to be added.</param>
|
|
<returns>A new <c>PgpSecretKeyRingBundle</c> merging the current one with the passed in key ring.</returns>
|
|
<exception cref="T:System.ArgumentException">If the keyId for the passed in key ring is already present.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle.RemoveSecretKeyRing(Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRingBundle,Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing)">
|
|
<summary>
|
|
Return a new bundle containing the contents of the passed in bundle with
|
|
the passed in secret key ring removed.
|
|
</summary>
|
|
<param name="bundle">The <c>PgpSecretKeyRingBundle</c> the key ring is to be removed from.</param>
|
|
<param name="secretKeyRing">The key ring to be removed.</param>
|
|
<returns>A new <c>PgpSecretKeyRingBundle</c> not containing the passed in key ring.</returns>
|
|
<exception cref="T:System.ArgumentException">If the keyId for the passed in key ring is not present.</exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature">
|
|
<remarks>A PGP signature object.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.Version">
|
|
<summary>The OpenPGP version number for this signature.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.KeyAlgorithm">
|
|
<summary>The key algorithm associated with this signature.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.HashAlgorithm">
|
|
<summary>The hash algorithm associated with this signature.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.IsCertification">
|
|
<summary>Return true if this signature represents a certification.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.VerifyCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpUserAttributeSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>
|
|
Verify the signature as certifying the passed in public key as associated
|
|
with the passed in user attributes.
|
|
</summary>
|
|
<param name="userAttributes">User attributes the key was stored under.</param>
|
|
<param name="key">The key to be verified.</param>
|
|
<returns>True, if the signature matches, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.VerifyCertification(System.String,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>
|
|
Verify the signature as certifying the passed in public key as associated
|
|
with the passed in ID.
|
|
</summary>
|
|
<param name="id">ID the key was stored under.</param>
|
|
<param name="key">The key to be verified.</param>
|
|
<returns>True, if the signature matches, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.VerifyCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Verify a certification for the passed in key against the passed in master key.</summary>
|
|
<param name="masterKey">The key we are verifying against.</param>
|
|
<param name="pubKey">The key we are verifying.</param>
|
|
<returns>True, if the certification is valid, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.VerifyCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Verify a key certification, such as revocation, for the passed in key.</summary>
|
|
<param name="pubKey">The key we are checking.</param>
|
|
<returns>True, if the certification is valid, false otherwise.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.KeyId">
|
|
<summary>The ID of the key that created the signature.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.CreationTime">
|
|
<summary>The creation time of this signature.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.HasSubpackets">
|
|
<summary>
|
|
Return true if the signature has either hashed or unhashed subpackets.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignature.IsCertification(System.Int32)">
|
|
<summary>
|
|
Return true if the passed in signature type represents a certification, false if the signature type is not.
|
|
</summary>
|
|
<param name="signatureType"></param>
|
|
<returns>true if signatureType is a certification, false otherwise.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator">
|
|
<remarks>Generator for PGP signatures.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.#ctor(Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
<summary>Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.InitSign(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey)">
|
|
<summary>Initialise the generator for signing.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.InitSign(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Initialise the generator for signing.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.GenerateOnePassVersion(System.Boolean)">
|
|
<summary>Return the one pass header associated with the current signature.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.Generate">
|
|
<summary>Return a signature object containing the current signature state.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.GenerateCertification(System.String,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Generate a certification for the passed in ID and key.</summary>
|
|
<param name="id">The ID we are certifying against the public key.</param>
|
|
<param name="pubKey">The key we are certifying against the ID.</param>
|
|
<returns>The certification.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.GenerateCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpUserAttributeSubpacketVector,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Generate a certification for the passed in userAttributes.</summary>
|
|
<param name="userAttributes">The ID we are certifying against the public key.</param>
|
|
<param name="pubKey">The key we are certifying against the ID.</param>
|
|
<returns>The certification.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.GenerateCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey,Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Generate a certification for the passed in key against the passed in master key.</summary>
|
|
<param name="masterKey">The key we are certifying against.</param>
|
|
<param name="pubKey">The key we are certifying.</param>
|
|
<returns>The certification.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator.GenerateCertification(Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKey)">
|
|
<summary>Generate a certification, such as a revocation, for the passed in key.</summary>
|
|
<param name="pubKey">The key we are certifying.</param>
|
|
<returns>The certification.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureList">
|
|
<remarks>A list of PGP signatures - normally in the signature block after literal data.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator">
|
|
<remarks>Generator for signature subpackets.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator.SetTrust(System.Boolean,System.Int32,System.Int32)">
|
|
<summary>
|
|
Add a TrustSignature packet to the signature. The values for depth and trust are largely
|
|
installation dependent but there are some guidelines in RFC 4880 - 5.2.3.13.
|
|
</summary>
|
|
<param name="isCritical">true if the packet is critical.</param>
|
|
<param name="depth">depth level.</param>
|
|
<param name="trustAmount">trust amount.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator.SetKeyExpirationTime(System.Boolean,System.Int64)">
|
|
<summary>
|
|
Set the number of seconds a key is valid for after the time of its creation.
|
|
A value of zero means the key never expires.
|
|
</summary>
|
|
<param name="isCritical">True, if should be treated as critical, false otherwise.</param>
|
|
<param name="seconds">The number of seconds the key is valid, or zero if no expiry.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator.SetSignatureExpirationTime(System.Boolean,System.Int64)">
|
|
<summary>
|
|
Set the number of seconds a signature is valid for after the time of its creation.
|
|
A value of zero means the signature never expires.
|
|
</summary>
|
|
<param name="isCritical">True, if should be treated as critical, false otherwise.</param>
|
|
<param name="seconds">The number of seconds the signature is valid, or zero if no expiry.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator.SetSignatureCreationTime(System.Boolean,System.DateTime)">
|
|
<summary>
|
|
Set the creation time for the signature.
|
|
<p>
|
|
Note: this overrides the generation of a creation time when the signature
|
|
is generated.</p>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator.SetRevocationReason(System.Boolean,Org.BouncyCastle.Bcpg.RevocationReasonTag,System.String)">
|
|
<summary>
|
|
Sets revocation reason sub packet
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator.SetRevocationKey(System.Boolean,Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,System.Byte[])">
|
|
<summary>
|
|
Sets revocation key sub packet
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketGenerator.SetIssuerKeyID(System.Boolean,System.Int64)">
|
|
<summary>
|
|
Sets issuer key sub packet
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector">
|
|
<remarks>Container for a list of signature subpackets.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector.HasSubpacket(Org.BouncyCastle.Bcpg.SignatureSubpacketTag)">
|
|
Return true if a particular subpacket type exists.
|
|
|
|
@param type type to look for.
|
|
@return true if present, false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector.GetSubpackets(Org.BouncyCastle.Bcpg.SignatureSubpacketTag)">
|
|
Return all signature subpackets of the passed in type.
|
|
@param type subpacket type code
|
|
@return an array of zero or more matching subpackets.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector.GetSignatureExpirationTime">
|
|
<summary>
|
|
Return the number of seconds a signature is valid for after its creation date.
|
|
A value of zero means the signature never expires.
|
|
</summary>
|
|
<returns>Seconds a signature is valid for.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector.GetKeyExpirationTime">
|
|
<summary>
|
|
Return the number of seconds a key is valid for after its creation date.
|
|
A value of zero means the key never expires.
|
|
</summary>
|
|
<returns>Seconds a signature is valid for.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureSubpacketVector.Count">
|
|
<summary>Return the number of packets this vector contains.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpUserAttributeSubpacketVector">
|
|
<remarks>Container for a list of user attribute subpackets.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpUtilities">
|
|
<remarks>Basic utility class.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpUtilities.MakeKeyFromPassPhrase(Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.S2k,System.Char[])">
|
|
<remarks>
|
|
Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
|
|
the historical behaviour of the library (1.7 and earlier).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpUtilities.MakeKeyFromPassPhraseUtf8(Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.S2k,System.Char[])">
|
|
<remarks>
|
|
The passphrase is encoded to bytes using UTF8 (Encoding.UTF8.GetBytes).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpUtilities.MakeKeyFromPassPhraseRaw(Org.BouncyCastle.Bcpg.SymmetricKeyAlgorithmTag,Org.BouncyCastle.Bcpg.S2k,System.Byte[])">
|
|
<remarks>
|
|
Allows the caller to handle the encoding of the passphrase to bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpUtilities.WriteFileToLiteralData(System.IO.Stream,System.Char,System.IO.FileInfo)">
|
|
<summary>Write out the passed in file as a literal data packet.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpUtilities.WriteFileToLiteralData(System.IO.Stream,System.Char,System.IO.FileInfo,System.Byte[])">
|
|
<summary>Write out the passed in file as a literal data packet in partial packet format.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpUtilities.GetDecoderStream(System.IO.Stream)">
|
|
<summary>
|
|
Return either an ArmoredInputStream or a BcpgInputStream based on whether
|
|
the initial characters of the stream are binary PGP encodings or not.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.PgpV3SignatureGenerator">
|
|
<remarks>Generator for old style PGP V3 Signatures.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpV3SignatureGenerator.#ctor(Org.BouncyCastle.Bcpg.PublicKeyAlgorithmTag,Org.BouncyCastle.Bcpg.HashAlgorithmTag)">
|
|
<summary>Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpV3SignatureGenerator.InitSign(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey)">
|
|
<summary>Initialise the generator for signing.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpV3SignatureGenerator.InitSign(System.Int32,Org.BouncyCastle.Bcpg.OpenPgp.PgpPrivateKey,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Initialise the generator for signing.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpV3SignatureGenerator.GenerateOnePassVersion(System.Boolean)">
|
|
<summary>Return the one pass header associated with the current signature.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Bcpg.OpenPgp.PgpV3SignatureGenerator.Generate">
|
|
<summary>Return a V3 signature object containing the current signature state.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Bcpg.OpenPgp.SXprUtilities">
|
|
Utility functions for looking a S-expression keys. This class will move when it finds a better home!
|
|
<p>
|
|
Format documented here:
|
|
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=agent/keyformat.txt;h=42c4b1f06faf1bbe71ffadc2fee0fad6bec91a97;hb=refs/heads/master
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.GeneralPkiMessage.#ctor(Org.BouncyCastle.Asn1.Cmp.PkiMessage)">
|
|
<summary>
|
|
Wrap a PKIMessage ASN.1 structure.
|
|
</summary>
|
|
<param name="pkiMessage">PKI message.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.GeneralPkiMessage.#ctor(System.Byte[])">
|
|
<summary>
|
|
Create a PKIMessage from the passed in bytes.
|
|
</summary>
|
|
<param name="encoding">BER/DER encoding of the PKIMessage</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cmp.GeneralPkiMessage.HasProtection">
|
|
<summary>
|
|
Return true if this message has protection bits on it. A return value of true
|
|
indicates the message can be used to construct a ProtectedPKIMessage.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cmp.ProtectedPkiMessage">
|
|
<summary>
|
|
Wrapper for a PKIMessage with protection attached to it.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.ProtectedPkiMessage.#ctor(Org.BouncyCastle.Cmp.GeneralPkiMessage)">
|
|
<summary>
|
|
Wrap a general message.
|
|
</summary>
|
|
<exception cref="T:System.ArgumentException">If the general message does not have protection.</exception>
|
|
<param name="pkiMessage">The General message</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.ProtectedPkiMessage.#ctor(Org.BouncyCastle.Asn1.Cmp.PkiMessage)">
|
|
<summary>
|
|
Wrap a PKI message.
|
|
</summary>
|
|
<exception cref="T:System.ArgumentException">If the PKI message does not have protection.</exception>
|
|
<param name="pkiMessage">The PKI message</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cmp.ProtectedPkiMessage.Header">
|
|
<summary>
|
|
Message header
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cmp.ProtectedPkiMessage.Body">
|
|
<summary>
|
|
Message Body
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.ProtectedPkiMessage.ToAsn1Message">
|
|
<summary>
|
|
Return the underlying ASN.1 structure contained in this object.
|
|
</summary>
|
|
<returns>PKI Message structure</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cmp.ProtectedPkiMessage.HasPasswordBasedMacProtected">
|
|
<summary>
|
|
Determine whether the message is protected by a password based MAC. Use verify(PKMACBuilder, char[])
|
|
to verify the message if this method returns true.
|
|
</summary>
|
|
<returns>true if protection MAC PBE based, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.ProtectedPkiMessage.GetCertificates">
|
|
<summary>
|
|
Return the extra certificates associated with this message.
|
|
</summary>
|
|
<returns>an array of extra certificates, zero length if none present.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.ProtectedPkiMessage.Verify(Org.BouncyCastle.Crypto.IVerifierFactory)">
|
|
<summary>
|
|
Verify a message with a public key based signature attached.
|
|
</summary>
|
|
<param name="verifierFactory">a factory of signature verifiers.</param>
|
|
<returns>true if the provider is able to create a verifier that validates the signature, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cmp.ProtectedPkiMessage.Verify(Org.BouncyCastle.Crmf.PKMacBuilder,System.Char[])">
|
|
<summary>
|
|
Verify a message with password based MAC protection.
|
|
</summary>
|
|
<param name="pkMacBuilder">MAC builder that can be used to construct the appropriate MacCalculator</param>
|
|
<param name="password">the MAC password</param>
|
|
<returns>true if the passed in password and MAC builder verify the message, false otherwise.</returns>
|
|
<exception cref="T:System.InvalidOperationException">if algorithm not MAC based, or an exception is thrown verifying the MAC.</exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsAttributeTableParameter">
|
|
<remarks>
|
|
The 'Signature' parameter is only available when generating unsigned attributes.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsAuthenticatedData">
|
|
containing class for an CMS Authenticated Data object
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsAuthenticatedData.MacAlgOid">
|
|
return the object identifier for the content MAC algorithm.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedData.GetRecipientInfos">
|
|
return a store of the intended recipients for this message
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsAuthenticatedData.ContentInfo">
|
|
return the ContentInfo
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedData.GetAuthAttrs">
|
|
return a table of the digested attributes indexed by
|
|
the OID of the attribute.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedData.GetUnauthAttrs">
|
|
return a table of the undigested attributes indexed by
|
|
the OID of the attribute.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedData.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsAuthenticatedDataGenerator">
|
|
General class for generating a CMS authenticated-data message.
|
|
|
|
A simple example of usage.
|
|
|
|
<pre>
|
|
CMSAuthenticatedDataGenerator fact = new CMSAuthenticatedDataGenerator();
|
|
|
|
fact.addKeyTransRecipient(cert);
|
|
|
|
CMSAuthenticatedData data = fact.generate(content, algorithm, "BC");
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataGenerator.#ctor">
|
|
base constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
constructor allowing specific source of randomness
|
|
@param rand instance of SecureRandom to use
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable,System.String,Org.BouncyCastle.Crypto.CipherKeyGenerator)">
|
|
generate an enveloped object that contains an CMS Enveloped Data
|
|
object using the given provider and the passed in key generator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable,System.String)">
|
|
generate an authenticated object that contains an CMS Authenticated Data object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsAuthenticatedDataParser">
|
|
Parsing class for an CMS Authenticated Data object from an input stream.
|
|
<p>
|
|
Note: that because we are in a streaming mode only one recipient can be tried and it is important
|
|
that the methods on the parser are called in the appropriate order.
|
|
</p>
|
|
<p>
|
|
Example of use - assuming the first recipient matches the private key we have.
|
|
<pre>
|
|
CMSAuthenticatedDataParser ad = new CMSAuthenticatedDataParser(inputStream);
|
|
|
|
RecipientInformationStore recipients = ad.getRecipientInfos();
|
|
|
|
Collection c = recipients.getRecipients();
|
|
Iterator it = c.iterator();
|
|
|
|
if (it.hasNext())
|
|
{
|
|
RecipientInformation recipient = (RecipientInformation)it.next();
|
|
|
|
CMSTypedStream recData = recipient.getContentStream(privateKey, "BC");
|
|
|
|
processDataStream(recData.getContentStream());
|
|
|
|
if (!Arrays.equals(ad.getMac(), recipient.getMac())
|
|
{
|
|
System.err.println("Data corrupted!!!!");
|
|
}
|
|
}
|
|
</pre>
|
|
Note: this class does not introduce buffering - if you are processing large files you should create
|
|
the parser with:
|
|
<pre>
|
|
CMSAuthenticatedDataParser ep = new CMSAuthenticatedDataParser(new BufferedInputStream(inputStream, bufSize));
|
|
</pre>
|
|
where bufSize is a suitably large buffer size.
|
|
</p>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsAuthenticatedDataParser.MacAlgOid">
|
|
return the object identifier for the mac algorithm.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsAuthenticatedDataParser.MacAlgParams">
|
|
return the ASN.1 encoded encryption algorithm parameters, or null if
|
|
there aren't any.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataParser.GetRecipientInfos">
|
|
return a store of the intended recipients for this message
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataParser.GetAuthAttrs">
|
|
return a table of the unauthenticated attributes indexed by
|
|
the OID of the attribute.
|
|
@exception java.io.IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataParser.GetUnauthAttrs">
|
|
return a table of the unauthenticated attributes indexed by
|
|
the OID of the attribute.
|
|
@exception java.io.IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator">
|
|
General class for generating a CMS authenticated-data message stream.
|
|
<p>
|
|
A simple example of usage.
|
|
<pre>
|
|
CMSAuthenticatedDataStreamGenerator edGen = new CMSAuthenticatedDataStreamGenerator();
|
|
|
|
edGen.addKeyTransRecipient(cert);
|
|
|
|
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
|
|
|
|
OutputStream out = edGen.open(
|
|
bOut, CMSAuthenticatedDataGenerator.AES128_CBC, "BC");*
|
|
out.write(data);
|
|
|
|
out.close();
|
|
</pre>
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator.#ctor">
|
|
base constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
constructor allowing specific source of randomness
|
|
@param rand instance of SecureRandom to use
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator.SetBufferSize(System.Int32)">
|
|
Set the underlying string size for encapsulated data
|
|
|
|
@param bufferSize length of octet strings to buffer the data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator.SetBerEncodeRecipients(System.Boolean)">
|
|
Use a BER Set to store the recipient information
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator.Open(System.IO.Stream,System.String,Org.BouncyCastle.Crypto.CipherKeyGenerator)">
|
|
generate an enveloped object that contains an CMS Enveloped Data
|
|
object using the given provider and the passed in key generator.
|
|
@throws java.io.IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator.Open(System.IO.Stream,System.String)">
|
|
generate an enveloped object that contains an CMS Enveloped Data object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator.Open(System.IO.Stream,System.String,System.Int32)">
|
|
generate an enveloped object that contains an CMS Enveloped Data object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedGenerator.#ctor">
|
|
base constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsAuthenticatedGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
constructor allowing specific source of randomness
|
|
|
|
@param rand instance of SecureRandom to use
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsAuthEnvelopedData">
|
|
containing class for an CMS AuthEnveloped Data object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsCompressedData">
|
|
containing class for an CMS Compressed Data object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsCompressedData.GetContent">
|
|
Return the uncompressed content.
|
|
|
|
@return the uncompressed content
|
|
@throws CmsException if there is an exception uncompressing the data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsCompressedData.GetContent(System.Int32)">
|
|
Return the uncompressed content, throwing an exception if the data size
|
|
is greater than the passed in limit. If the content is exceeded getCause()
|
|
on the CMSException will contain a StreamOverflowException
|
|
|
|
@param limit maximum number of bytes to read
|
|
@return the content read
|
|
@throws CMSException if there is an exception uncompressing the data.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsCompressedData.ContentInfo">
|
|
return the ContentInfo
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsCompressedData.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsCompressedDataGenerator">
|
|
* General class for generating a compressed CMS message.
|
|
* <p>
|
|
* A simple example of usage.</p>
|
|
* <p>
|
|
* <pre>
|
|
* CMSCompressedDataGenerator fact = new CMSCompressedDataGenerator();
|
|
* CMSCompressedData data = fact.Generate(content, algorithm);
|
|
* </pre>
|
|
* </p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsCompressedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable,System.String)">
|
|
Generate an object that contains an CMS Compressed Data
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsCompressedDataParser">
|
|
Class for reading a CMS Compressed Data stream.
|
|
<pre>
|
|
CMSCompressedDataParser cp = new CMSCompressedDataParser(inputStream);
|
|
|
|
process(cp.GetContent().GetContentStream());
|
|
</pre>
|
|
Note: this class does not introduce buffering - if you are processing large files you should create
|
|
the parser with:
|
|
<pre>
|
|
CMSCompressedDataParser ep = new CMSCompressedDataParser(new BufferedInputStream(inputStream, bufSize));
|
|
</pre>
|
|
where bufSize is a suitably large buffer size.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsCompressedDataStreamGenerator">
|
|
General class for generating a compressed CMS message stream.
|
|
<p>
|
|
A simple example of usage.
|
|
</p>
|
|
<pre>
|
|
CMSCompressedDataStreamGenerator gen = new CMSCompressedDataStreamGenerator();
|
|
|
|
Stream cOut = gen.Open(outputStream, CMSCompressedDataStreamGenerator.ZLIB);
|
|
|
|
cOut.Write(data);
|
|
|
|
cOut.Close();
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsCompressedDataStreamGenerator.#ctor">
|
|
base constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsCompressedDataStreamGenerator.SetBufferSize(System.Int32)">
|
|
Set the underlying string size for encapsulated data
|
|
|
|
@param bufferSize length of octet strings to buffer the data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsContentInfoParser.Close">
|
|
Close the underlying data stream.
|
|
@throws IOException if the close fails.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsEnvelopedData">
|
|
containing class for an CMS Enveloped Data object
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsEnvelopedData.EncryptionAlgOid">
|
|
return the object identifier for the content encryption algorithm.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedData.GetRecipientInfos">
|
|
return a store of the intended recipients for this message
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsEnvelopedData.ContentInfo">
|
|
return the ContentInfo
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedData.GetUnprotectedAttributes">
|
|
return a table of the unprotected attributes indexed by
|
|
the OID of the attribute.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedData.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsEnvelopedDataGenerator">
|
|
<remarks>
|
|
General class for generating a CMS enveloped-data message.
|
|
|
|
A simple example of usage.
|
|
|
|
<pre>
|
|
CmsEnvelopedDataGenerator fact = new CmsEnvelopedDataGenerator();
|
|
|
|
fact.AddKeyTransRecipient(cert);
|
|
|
|
CmsEnvelopedData data = fact.Generate(content, algorithm);
|
|
</pre>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Constructor allowing specific source of randomness</summary>
|
|
<param name="rand">Instance of <c>SecureRandom</c> to use.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable,System.String,Org.BouncyCastle.Crypto.CipherKeyGenerator)">
|
|
<summary>
|
|
Generate an enveloped object that contains a CMS Enveloped Data
|
|
object using the passed in key generator.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable,System.String)">
|
|
<summary>Generate an enveloped object that contains an CMS Enveloped Data object.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable,System.String,System.Int32)">
|
|
<summary>Generate an enveloped object that contains an CMS Enveloped Data object.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsEnvelopedDataParser">
|
|
Parsing class for an CMS Enveloped Data object from an input stream.
|
|
<p>
|
|
Note: that because we are in a streaming mode only one recipient can be tried and it is important
|
|
that the methods on the parser are called in the appropriate order.
|
|
</p>
|
|
<p>
|
|
Example of use - assuming the first recipient matches the private key we have.
|
|
<pre>
|
|
CmsEnvelopedDataParser ep = new CmsEnvelopedDataParser(inputStream);
|
|
|
|
RecipientInformationStore recipients = ep.GetRecipientInfos();
|
|
|
|
Collection c = recipients.getRecipients();
|
|
Iterator it = c.iterator();
|
|
|
|
if (it.hasNext())
|
|
{
|
|
RecipientInformation recipient = (RecipientInformation)it.next();
|
|
|
|
CMSTypedStream recData = recipient.getContentStream(privateKey);
|
|
|
|
processDataStream(recData.getContentStream());
|
|
}
|
|
</pre>
|
|
Note: this class does not introduce buffering - if you are processing large files you should create
|
|
the parser with:
|
|
<pre>
|
|
CmsEnvelopedDataParser ep = new CmsEnvelopedDataParser(new BufferedInputStream(inputStream, bufSize));
|
|
</pre>
|
|
where bufSize is a suitably large buffer size.
|
|
</p>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsEnvelopedDataParser.EncryptionAlgOid">
|
|
return the object identifier for the content encryption algorithm.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsEnvelopedDataParser.EncryptionAlgParams">
|
|
return the ASN.1 encoded encryption algorithm parameters, or null if
|
|
there aren't any.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataParser.GetRecipientInfos">
|
|
return a store of the intended recipients for this message
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataParser.GetUnprotectedAttributes">
|
|
return a table of the unprotected attributes indexed by
|
|
the OID of the attribute.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator">
|
|
General class for generating a CMS enveloped-data message stream.
|
|
<p>
|
|
A simple example of usage.
|
|
<pre>
|
|
CmsEnvelopedDataStreamGenerator edGen = new CmsEnvelopedDataStreamGenerator();
|
|
|
|
edGen.AddKeyTransRecipient(cert);
|
|
|
|
MemoryStream bOut = new MemoryStream();
|
|
|
|
Stream out = edGen.Open(
|
|
bOut, CMSEnvelopedDataGenerator.AES128_CBC);*
|
|
out.Write(data);
|
|
|
|
out.Close();
|
|
</pre>
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Constructor allowing specific source of randomness</summary>
|
|
<param name="rand">Instance of <c>SecureRandom</c> to use.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator.SetBufferSize(System.Int32)">
|
|
<summary>Set the underlying string size for encapsulated data.</summary>
|
|
<param name="bufferSize">Length of octet strings to buffer the data.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator.SetBerEncodeRecipients(System.Boolean)">
|
|
<summary>Use a BER Set to store the recipient information.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator.Open(System.IO.Stream,System.String,Org.BouncyCastle.Crypto.CipherKeyGenerator)">
|
|
<summary>
|
|
Generate an enveloped object that contains an CMS Enveloped Data
|
|
object using the passed in key generator.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator.Open(System.IO.Stream,System.String)">
|
|
generate an enveloped object that contains an CMS Enveloped Data object
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator.Open(System.IO.Stream,System.String,System.Int32)">
|
|
generate an enveloped object that contains an CMS Enveloped Data object
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsEnvelopedGenerator">
|
|
General class for generating a CMS enveloped-data message.
|
|
|
|
A simple example of usage.
|
|
|
|
<pre>
|
|
CMSEnvelopedDataGenerator fact = new CMSEnvelopedDataGenerator();
|
|
|
|
fact.addKeyTransRecipient(cert);
|
|
|
|
CMSEnvelopedData data = fact.generate(content, algorithm, "BC");
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Constructor allowing specific source of randomness</summary>
|
|
<param name="rand">Instance of <c>SecureRandom</c> to use.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.AddKeyTransRecipient(Org.BouncyCastle.X509.X509Certificate)">
|
|
add a recipient.
|
|
|
|
@param cert recipient's public key certificate
|
|
@exception ArgumentException if there is a problem with the certificate
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.AddKeyTransRecipient(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[])">
|
|
add a recipient
|
|
|
|
@param key the public key used by the recipient
|
|
@param subKeyId the identifier for the recipient's public key
|
|
@exception ArgumentException if there is a problem with the key
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.AddKekRecipient(System.String,Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Byte[])">
|
|
add a KEK recipient.
|
|
@param key the secret key to use for wrapping
|
|
@param keyIdentifier the byte string that identifies the key
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.AddKekRecipient(System.String,Org.BouncyCastle.Crypto.Parameters.KeyParameter,Org.BouncyCastle.Asn1.Cms.KekIdentifier)">
|
|
add a KEK recipient.
|
|
@param key the secret key to use for wrapping
|
|
@param keyIdentifier the byte string that identifies the key
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.AddKeyAgreementRecipient(System.String,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String)">
|
|
Add a key agreement based recipient.
|
|
|
|
@param agreementAlgorithm key agreement algorithm to use.
|
|
@param senderPrivateKey private key to initialise sender side of agreement with.
|
|
@param senderPublicKey sender public key to include with message.
|
|
@param recipientCert recipient's public key certificate.
|
|
@param cekWrapAlgorithm OID for key wrapping algorithm to use.
|
|
@exception SecurityUtilityException if the algorithm requested cannot be found
|
|
@exception InvalidKeyException if the keys are inappropriate for the algorithm specified
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.AddKeyAgreementRecipients(System.String,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Collections.ICollection,System.String)">
|
|
Add multiple key agreement based recipients (sharing a single KeyAgreeRecipientInfo structure).
|
|
|
|
@param agreementAlgorithm key agreement algorithm to use.
|
|
@param senderPrivateKey private key to initialise sender side of agreement with.
|
|
@param senderPublicKey sender public key to include with message.
|
|
@param recipientCerts recipients' public key certificates.
|
|
@param cekWrapAlgorithm OID for key wrapping algorithm to use.
|
|
@exception SecurityUtilityException if the algorithm requested cannot be found
|
|
@exception InvalidKeyException if the keys are inappropriate for the algorithm specified
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsEnvelopedGenerator.AddRecipientInfoGenerator(Org.BouncyCastle.Cms.RecipientInfoGenerator)">
|
|
<summary>
|
|
Add a generator to produce the recipient info required.
|
|
</summary>
|
|
<param name="recipientInfoGenerator">a generator of a recipient info object.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsProcessable.Write(System.IO.Stream)">
|
|
<summary>
|
|
Generic routine to copy out the data we want processed.
|
|
</summary>
|
|
<remarks>
|
|
This routine may be called multiple times.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsProcessableByteArray">
|
|
a holding class for a byte array of data to be processed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsProcessableByteArray.GetContent">
|
|
<returns>A clone of the byte array</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsProcessableFile">
|
|
a holding class for a file of data to be processed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsProcessableFile.GetContent">
|
|
<returns>The file handle</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsSignedData">
|
|
general class for handling a pkcs7-signature message.
|
|
|
|
A simple example of usage - note, in the example below the validity of
|
|
the certificate isn't verified, just the fact that one of the certs
|
|
matches the given signer...
|
|
|
|
<pre>
|
|
IX509Store certs = s.GetCertificates();
|
|
SignerInformationStore signers = s.GetSignerInfos();
|
|
|
|
foreach (SignerInformation signer in signers.GetSigners())
|
|
{
|
|
ArrayList certList = new ArrayList(certs.GetMatches(signer.SignerID));
|
|
X509Certificate cert = (X509Certificate) certList[0];
|
|
|
|
if (signer.Verify(cert.GetPublicKey()))
|
|
{
|
|
verified++;
|
|
}
|
|
}
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.#ctor(System.Collections.IDictionary,System.Byte[])">
|
|
Content with detached signature, digests precomputed
|
|
|
|
@param hashes a map of precomputed digests for content indexed by name of hash.
|
|
@param sigBlock the signature object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.#ctor(Org.BouncyCastle.Cms.CmsProcessable,System.IO.Stream)">
|
|
base constructor - content with detached signature.
|
|
|
|
@param signedContent the content that was signed.
|
|
@param sigData the signature object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.#ctor(System.IO.Stream)">
|
|
base constructor - with encapsulated content
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsSignedData.Version">
|
|
<summary>Return the version number for this object.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.GetSignerInfos">
|
|
return the collection of signers that are associated with the
|
|
signatures for the message.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.GetAttributeCertificates(System.String)">
|
|
return a X509Store containing the attribute certificates, if any, contained
|
|
in this message.
|
|
|
|
@param type type of store to create
|
|
@return a store of attribute certificates
|
|
@exception NoSuchStoreException if the store type isn't available.
|
|
@exception CmsException if a general exception prevents creation of the X509Store
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.GetCertificates(System.String)">
|
|
return a X509Store containing the public key certificates, if any, contained
|
|
in this message.
|
|
|
|
@param type type of store to create
|
|
@return a store of public key certificates
|
|
@exception NoSuchStoreException if the store type isn't available.
|
|
@exception CmsException if a general exception prevents creation of the X509Store
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.GetCrls(System.String)">
|
|
return a X509Store containing CRLs, if any, contained
|
|
in this message.
|
|
|
|
@param type type of store to create
|
|
@return a store of CRLs
|
|
@exception NoSuchStoreException if the store type isn't available.
|
|
@exception CmsException if a general exception prevents creation of the X509Store
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsSignedData.SignedContentType">
|
|
<summary>
|
|
Return the <c>DerObjectIdentifier</c> associated with the encapsulated
|
|
content info structure carried in the signed data.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsSignedData.ContentInfo">
|
|
return the ContentInfo
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.GetEncoded(System.String)">
|
|
return the ASN.1 encoded representation of this object using the specified encoding.
|
|
|
|
@param encoding the ASN.1 encoding format to use ("BER" or "DER").
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.ReplaceSigners(Org.BouncyCastle.Cms.CmsSignedData,Org.BouncyCastle.Cms.SignerInformationStore)">
|
|
Replace the signerinformation store associated with this
|
|
CmsSignedData object with the new one passed in. You would
|
|
probably only want to do this if you wanted to change the unsigned
|
|
attributes associated with a signer, or perhaps delete one.
|
|
|
|
@param signedData the signed data object to be used as a base.
|
|
@param signerInformationStore the new signer information store to use.
|
|
@return a new signed data object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedData.ReplaceCertificatesAndCrls(Org.BouncyCastle.Cms.CmsSignedData,Org.BouncyCastle.X509.Store.IX509Store,Org.BouncyCastle.X509.Store.IX509Store,Org.BouncyCastle.X509.Store.IX509Store)">
|
|
Replace the certificate and CRL information associated with this
|
|
CmsSignedData object with the new one passed in.
|
|
|
|
@param signedData the signed data object to be used as a base.
|
|
@param x509Certs the new certificates to be used.
|
|
@param x509Crls the new CRLs to be used.
|
|
@return a new signed data object.
|
|
@exception CmsException if there is an error processing the stores
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsSignedDataGenerator">
|
|
* general class for generating a pkcs7-signature message.
|
|
* <p>
|
|
* A simple example of usage.
|
|
*
|
|
* <pre>
|
|
* IX509Store certs...
|
|
* IX509Store crls...
|
|
* CmsSignedDataGenerator gen = new CmsSignedDataGenerator();
|
|
*
|
|
* gen.AddSigner(privKey, cert, CmsSignedGenerator.DigestSha1);
|
|
* gen.AddCertificates(certs);
|
|
* gen.AddCrls(crls);
|
|
*
|
|
* CmsSignedData data = gen.Generate(content);
|
|
* </pre>
|
|
* </p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Constructor allowing specific source of randomness</summary>
|
|
<param name="rand">Instance of <c>SecureRandom</c> to use.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String)">
|
|
* add a signer - no attributes other than the default ones will be
|
|
* provided here.
|
|
*
|
|
* @param key signing key to use
|
|
* @param cert certificate containing corresponding public key
|
|
* @param digestOID digest algorithm OID
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,System.String)">
|
|
add a signer, specifying the digest encryption algorithm to use - no attributes other than the default ones will be
|
|
provided here.
|
|
|
|
@param key signing key to use
|
|
@param cert certificate containing corresponding public key
|
|
@param encryptionOID digest encryption algorithm OID
|
|
@param digestOID digest algorithm OID
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String)">
|
|
add a signer - no attributes other than the default ones will be
|
|
provided here.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String,System.String)">
|
|
add a signer, specifying the digest encryption algorithm to use - no attributes other than the default ones will be
|
|
provided here.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
* add a signer with extra signed/unsigned attributes.
|
|
*
|
|
* @param key signing key to use
|
|
* @param cert certificate containing corresponding public key
|
|
* @param digestOID digest algorithm OID
|
|
* @param signedAttr table of attributes to be included in signature
|
|
* @param unsignedAttr table of attributes to be included as unsigned
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
add a signer, specifying the digest encryption algorithm, with extra signed/unsigned attributes.
|
|
|
|
@param key signing key to use
|
|
@param cert certificate containing corresponding public key
|
|
@param encryptionOID digest encryption algorithm OID
|
|
@param digestOID digest algorithm OID
|
|
@param signedAttr table of attributes to be included in signature
|
|
@param unsignedAttr table of attributes to be included as unsigned
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
* add a signer with extra signed/unsigned attributes.
|
|
*
|
|
* @param key signing key to use
|
|
* @param subjectKeyID subjectKeyID of corresponding public key
|
|
* @param digestOID digest algorithm OID
|
|
* @param signedAttr table of attributes to be included in signature
|
|
* @param unsignedAttr table of attributes to be included as unsigned
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String,System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
add a signer, specifying the digest encryption algorithm, with extra signed/unsigned attributes.
|
|
|
|
@param key signing key to use
|
|
@param subjectKeyID subjectKeyID of corresponding public key
|
|
@param encryptionOID digest encryption algorithm OID
|
|
@param digestOID digest algorithm OID
|
|
@param signedAttr table of attributes to be included in signature
|
|
@param unsignedAttr table of attributes to be included as unsigned
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,Org.BouncyCastle.Cms.CmsAttributeTableGenerator,Org.BouncyCastle.Cms.CmsAttributeTableGenerator)">
|
|
add a signer with extra signed/unsigned attributes based on generators.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,System.String,Org.BouncyCastle.Cms.CmsAttributeTableGenerator,Org.BouncyCastle.Cms.CmsAttributeTableGenerator)">
|
|
add a signer, specifying the digest encryption algorithm, with extra signed/unsigned attributes based on generators.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String,Org.BouncyCastle.Cms.CmsAttributeTableGenerator,Org.BouncyCastle.Cms.CmsAttributeTableGenerator)">
|
|
add a signer with extra signed/unsigned attributes based on generators.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String,System.String,Org.BouncyCastle.Cms.CmsAttributeTableGenerator,Org.BouncyCastle.Cms.CmsAttributeTableGenerator)">
|
|
add a signer, including digest encryption algorithm, with extra signed/unsigned attributes based on generators.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable)">
|
|
generate a signed object that for a CMS Signed Data object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.Generate(System.String,Org.BouncyCastle.Cms.CmsProcessable,System.Boolean)">
|
|
generate a signed object that for a CMS Signed Data
|
|
object - if encapsulate is true a copy
|
|
of the message will be included in the signature. The content type
|
|
is set according to the OID represented by the string signedContentType.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.Generate(Org.BouncyCastle.Cms.CmsProcessable,System.Boolean)">
|
|
generate a signed object that for a CMS Signed Data
|
|
object - if encapsulate is true a copy
|
|
of the message will be included in the signature with the
|
|
default content type "data".
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataGenerator.GenerateCounterSigners(Org.BouncyCastle.Cms.SignerInformation)">
|
|
generate a set of one or more SignerInformation objects representing counter signatures on
|
|
the passed in SignerInformation object.
|
|
|
|
@param signer the signer to be countersigned
|
|
@param sigProvider the provider to be used for counter signing.
|
|
@return a store containing the signers.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsSignedDataParser">
|
|
Parsing class for an CMS Signed Data object from an input stream.
|
|
<p>
|
|
Note: that because we are in a streaming mode only one signer can be tried and it is important
|
|
that the methods on the parser are called in the appropriate order.
|
|
</p>
|
|
<p>
|
|
A simple example of usage for an encapsulated signature.
|
|
</p>
|
|
<p>
|
|
Two notes: first, in the example below the validity of
|
|
the certificate isn't verified, just the fact that one of the certs
|
|
matches the given signer, and, second, because we are in a streaming
|
|
mode the order of the operations is important.
|
|
</p>
|
|
<pre>
|
|
CmsSignedDataParser sp = new CmsSignedDataParser(encapSigData);
|
|
|
|
sp.GetSignedContent().Drain();
|
|
|
|
IX509Store certs = sp.GetCertificates();
|
|
SignerInformationStore signers = sp.GetSignerInfos();
|
|
|
|
foreach (SignerInformation signer in signers.GetSigners())
|
|
{
|
|
ArrayList certList = new ArrayList(certs.GetMatches(signer.SignerID));
|
|
X509Certificate cert = (X509Certificate) certList[0];
|
|
|
|
Console.WriteLine("verify returns: " + signer.Verify(cert));
|
|
}
|
|
</pre>
|
|
Note also: this class does not introduce buffering - if you are processing large files you should create
|
|
the parser with:
|
|
<pre>
|
|
CmsSignedDataParser ep = new CmsSignedDataParser(new BufferedInputStream(encapSigData, bufSize));
|
|
</pre>
|
|
where bufSize is a suitably large buffer size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.#ctor(System.IO.Stream)">
|
|
base constructor - with encapsulated content
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.#ctor(Org.BouncyCastle.Cms.CmsTypedStream,System.IO.Stream)">
|
|
base constructor
|
|
|
|
@param signedContent the content that was signed.
|
|
@param sigData the signature object.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsSignedDataParser.Version">
|
|
Return the version number for the SignedData object
|
|
|
|
@return the version number
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.GetSignerInfos">
|
|
return the collection of signers that are associated with the
|
|
signatures for the message.
|
|
@throws CmsException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.GetAttributeCertificates(System.String)">
|
|
return a X509Store containing the attribute certificates, if any, contained
|
|
in this message.
|
|
|
|
@param type type of store to create
|
|
@return a store of attribute certificates
|
|
@exception org.bouncycastle.x509.NoSuchStoreException if the store type isn't available.
|
|
@exception CmsException if a general exception prevents creation of the X509Store
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.GetCertificates(System.String)">
|
|
return a X509Store containing the public key certificates, if any, contained
|
|
in this message.
|
|
|
|
@param type type of store to create
|
|
@return a store of public key certificates
|
|
@exception NoSuchStoreException if the store type isn't available.
|
|
@exception CmsException if a general exception prevents creation of the X509Store
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.GetCrls(System.String)">
|
|
return a X509Store containing CRLs, if any, contained
|
|
in this message.
|
|
|
|
@param type type of store to create
|
|
@return a store of CRLs
|
|
@exception NoSuchStoreException if the store type isn't available.
|
|
@exception CmsException if a general exception prevents creation of the X509Store
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.CmsSignedDataParser.SignedContentType">
|
|
<summary>
|
|
Return the <c>DerObjectIdentifier</c> associated with the encapsulated
|
|
content info structure carried in the signed data.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.ReplaceSigners(System.IO.Stream,Org.BouncyCastle.Cms.SignerInformationStore,System.IO.Stream)">
|
|
Replace the signerinformation store associated with the passed
|
|
in message contained in the stream original with the new one passed in.
|
|
You would probably only want to do this if you wanted to change the unsigned
|
|
attributes associated with a signer, or perhaps delete one.
|
|
<p>
|
|
The output stream is returned unclosed.
|
|
</p>
|
|
@param original the signed data stream to be used as a base.
|
|
@param signerInformationStore the new signer information store to use.
|
|
@param out the stream to Write the new signed data object to.
|
|
@return out.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataParser.ReplaceCertificatesAndCrls(System.IO.Stream,Org.BouncyCastle.X509.Store.IX509Store,Org.BouncyCastle.X509.Store.IX509Store,Org.BouncyCastle.X509.Store.IX509Store,System.IO.Stream)">
|
|
Replace the certificate and CRL information associated with this
|
|
CMSSignedData object with the new one passed in.
|
|
<p>
|
|
The output stream is returned unclosed.
|
|
</p>
|
|
@param original the signed data stream to be used as a base.
|
|
@param certsAndCrls the new certificates and CRLs to be used.
|
|
@param out the stream to Write the new signed data object to.
|
|
@return out.
|
|
@exception CmsException if there is an error processing the CertStore
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator">
|
|
General class for generating a pkcs7-signature message stream.
|
|
<p>
|
|
A simple example of usage.
|
|
</p>
|
|
<pre>
|
|
IX509Store certs...
|
|
CmsSignedDataStreamGenerator gen = new CmsSignedDataStreamGenerator();
|
|
|
|
gen.AddSigner(privateKey, cert, CmsSignedDataStreamGenerator.DIGEST_SHA1);
|
|
|
|
gen.AddCertificates(certs);
|
|
|
|
Stream sigOut = gen.Open(bOut);
|
|
|
|
sigOut.Write(Encoding.UTF8.GetBytes("Hello World!"));
|
|
|
|
sigOut.Close();
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Constructor allowing specific source of randomness</summary>
|
|
<param name="rand">Instance of <c>SecureRandom</c> to use.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.SetBufferSize(System.Int32)">
|
|
Set the underlying string size for encapsulated data
|
|
|
|
@param bufferSize length of octet strings to buffer the data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String)">
|
|
add a signer - no attributes other than the default ones will be
|
|
provided here.
|
|
@throws NoSuchAlgorithmException
|
|
@throws InvalidKeyException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,System.String)">
|
|
add a signer, specifying the digest encryption algorithm - no attributes other than the default ones will be
|
|
provided here.
|
|
@throws NoSuchProviderException
|
|
@throws NoSuchAlgorithmException
|
|
@throws InvalidKeyException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
add a signer with extra signed/unsigned attributes.
|
|
@throws NoSuchAlgorithmException
|
|
@throws InvalidKeyException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
add a signer with extra signed/unsigned attributes - specifying digest
|
|
encryption algorithm.
|
|
@throws NoSuchProviderException
|
|
@throws NoSuchAlgorithmException
|
|
@throws InvalidKeyException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String)">
|
|
add a signer - no attributes other than the default ones will be
|
|
provided here.
|
|
@throws NoSuchAlgorithmException
|
|
@throws InvalidKeyException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String,System.String)">
|
|
add a signer - no attributes other than the default ones will be
|
|
provided here.
|
|
@throws NoSuchProviderException
|
|
@throws NoSuchAlgorithmException
|
|
@throws InvalidKeyException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.AddSigner(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[],System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
add a signer with extra signed/unsigned attributes.
|
|
@throws NoSuchAlgorithmException
|
|
@throws InvalidKeyException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.Open(System.IO.Stream)">
|
|
generate a signed object that for a CMS Signed Data object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.Open(System.IO.Stream,System.Boolean)">
|
|
generate a signed object that for a CMS Signed Data
|
|
object - if encapsulate is true a copy
|
|
of the message will be included in the signature with the
|
|
default content type "data".
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.Open(System.IO.Stream,System.Boolean,System.IO.Stream)">
|
|
generate a signed object that for a CMS Signed Data
|
|
object using the given provider - if encapsulate is true a copy
|
|
of the message will be included in the signature with the
|
|
default content type "data". If dataOutputStream is non null the data
|
|
being signed will be written to the stream as it is processed.
|
|
@param out stream the CMS object is to be written to.
|
|
@param encapsulate true if data should be encapsulated.
|
|
@param dataOutputStream output stream to copy the data being signed to.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.Open(System.IO.Stream,System.String,System.Boolean)">
|
|
generate a signed object that for a CMS Signed Data
|
|
object - if encapsulate is true a copy
|
|
of the message will be included in the signature. The content type
|
|
is set according to the OID represented by the string signedContentType.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedDataStreamGenerator.Open(System.IO.Stream,System.String,System.Boolean,System.IO.Stream)">
|
|
generate a signed object that for a CMS Signed Data
|
|
object using the given provider - if encapsulate is true a copy
|
|
of the message will be included in the signature. The content type
|
|
is set according to the OID represented by the string signedContentType.
|
|
@param out stream the CMS object is to be written to.
|
|
@param signedContentType OID for data to be signed.
|
|
@param encapsulate true if data should be encapsulated.
|
|
@param dataOutputStream output stream to copy the data being signed to.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Cms.CmsSignedGenerator.Data">
|
|
Default type for the signed data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedGenerator.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Constructor allowing specific source of randomness</summary>
|
|
<param name="rand">Instance of <c>SecureRandom</c> to use.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedGenerator.AddAttributeCertificates(Org.BouncyCastle.X509.Store.IX509Store)">
|
|
Add the attribute certificates contained in the passed in store to the
|
|
generator.
|
|
|
|
@param store a store of Version 2 attribute certificates
|
|
@throws CmsException if an error occurse processing the store.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedGenerator.AddSigners(Org.BouncyCastle.Cms.SignerInformationStore)">
|
|
Add a store of precalculated signers to the generator.
|
|
|
|
@param signerStore store of signers
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedGenerator.GetGeneratedDigests">
|
|
Return a map of oids and byte arrays representing the digests calculated on the content during
|
|
the last generate.
|
|
|
|
@return a map of oids (as string objects) and byte[] representing digests.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedHelper.GetDigestAlgName(System.String)">
|
|
Return the digest algorithm using one of the standard JCA string
|
|
representations rather than the algorithm identifier (if possible).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.CmsSignedHelper.GetEncryptionAlgName(System.String)">
|
|
Return the digest encryption algorithm using one of the standard
|
|
JCA string representations rather than the algorithm identifier (if
|
|
possible).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.DefaultAuthenticatedAttributeTableGenerator">
|
|
Default authenticated attributes generator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultAuthenticatedAttributeTableGenerator.#ctor">
|
|
Initialise to use all defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultAuthenticatedAttributeTableGenerator.#ctor(Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
Initialise with some extra attributes or overrides.
|
|
|
|
@param attributeTable initial attribute table to use.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultAuthenticatedAttributeTableGenerator.CreateStandardAttributeTable(System.Collections.IDictionary)">
|
|
Create a standard attribute table from the passed in parameters - this will
|
|
normally include contentType and messageDigest. If the constructor
|
|
using an AttributeTable was used, entries in it for contentType and
|
|
messageDigest will override the generated ones.
|
|
|
|
@param parameters source parameters for table generation.
|
|
|
|
@return a filled in IDictionary of attributes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultAuthenticatedAttributeTableGenerator.GetAttributes(System.Collections.IDictionary)">
|
|
@param parameters source parameters
|
|
@return the populated attribute table
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.DefaultSignedAttributeTableGenerator">
|
|
Default signed attributes generator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultSignedAttributeTableGenerator.#ctor">
|
|
Initialise to use all defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultSignedAttributeTableGenerator.#ctor(Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
Initialise with some extra attributes or overrides.
|
|
|
|
@param attributeTable initial attribute table to use.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultSignedAttributeTableGenerator.createStandardAttributeTable(System.Collections.IDictionary)">
|
|
Create a standard attribute table from the passed in parameters - this will
|
|
normally include contentType, signingTime, and messageDigest. If the constructor
|
|
using an AttributeTable was used, entries in it for contentType, signingTime, and
|
|
messageDigest will override the generated ones.
|
|
|
|
@param parameters source parameters for table generation.
|
|
|
|
@return a filled in Hashtable of attributes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.DefaultSignedAttributeTableGenerator.GetAttributes(System.Collections.IDictionary)">
|
|
@param parameters source parameters
|
|
@return the populated attribute table
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.KekRecipientInformation">
|
|
the RecipientInfo class for a recipient who has been sent a message
|
|
encrypted using a secret key known to the other side.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.KekRecipientInformation.GetContentStream(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
decrypt the content and return an input stream.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.KeyAgreeRecipientInformation">
|
|
the RecipientInfo class for a recipient who has been sent a message
|
|
encrypted using key agreement.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.KeyAgreeRecipientInformation.GetContentStream(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
decrypt the content and return an input stream.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.KeyTransRecipientInformation">
|
|
the KeyTransRecipientInformation class for a recipient who has been sent a secret
|
|
key encrypted using their public key that needs to be used to
|
|
extract the message.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.KeyTransRecipientInformation.GetContentStream(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
decrypt the content and return it as a byte array.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.OriginatorID">
|
|
a basic index for an originator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.OriginatorInformation.GetCertificates">
|
|
Return the certificates stored in the underlying OriginatorInfo object.
|
|
|
|
@return a Store of X509CertificateHolder objects.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.OriginatorInformation.GetCrls">
|
|
Return the CRLs stored in the underlying OriginatorInfo object.
|
|
|
|
@return a Store of X509CRLHolder objects.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.OriginatorInformation.ToAsn1Structure">
|
|
Return the underlying ASN.1 object defining this SignerInformation object.
|
|
|
|
@return a OriginatorInfo.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.PasswordRecipientInformation">
|
|
the RecipientInfo class for a recipient who has been sent a message
|
|
encrypted using a password.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.PasswordRecipientInformation.KeyDerivationAlgorithm">
|
|
return the object identifier for the key derivation algorithm, or null
|
|
if there is none present.
|
|
|
|
@return OID for key derivation algorithm, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.PasswordRecipientInformation.GetContentStream(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
decrypt the content and return an input stream.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.Pkcs5Scheme2PbeKey">
|
|
<summary>
|
|
PKCS5 scheme-2 - password converted to bytes assuming ASCII.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.Pkcs5Scheme2Utf8PbeKey">
|
|
PKCS5 scheme-2 - password converted to bytes using UTF-8.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.RecipientInfoGenerator.Generate(Org.BouncyCastle.Crypto.Parameters.KeyParameter,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Generate a RecipientInfo object for the given key.
|
|
</summary>
|
|
<param name="contentEncryptionKey">
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Parameters.KeyParameter"/>
|
|
</param>
|
|
<param name="random">
|
|
A <see cref="T:Org.BouncyCastle.Security.SecureRandom"/>
|
|
</param>
|
|
<returns>
|
|
A <see cref="T:Org.BouncyCastle.Asn1.Cms.RecipientInfo"/>
|
|
</returns>
|
|
<exception cref="T:Org.BouncyCastle.Security.GeneralSecurityException"></exception>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.RecipientInformation.KeyEncryptionAlgOid">
|
|
* return the object identifier for the key encryption algorithm.
|
|
*
|
|
* @return OID for key encryption algorithm.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.RecipientInformation.KeyEncryptionAlgParams">
|
|
* return the ASN.1 encoded key encryption algorithm parameters, or null if
|
|
* there aren't any.
|
|
*
|
|
* @return ASN.1 encoding of key encryption algorithm parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.RecipientInformation.GetMac">
|
|
Return the MAC calculated for the content stream. Note: this call is only meaningful once all
|
|
the content has been read.
|
|
|
|
@return byte array containing the mac.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.RecipientInformationStore.GetFirstRecipient(Org.BouncyCastle.Cms.RecipientID)">
|
|
Return the first RecipientInformation object that matches the
|
|
passed in selector. Null if there are no matches.
|
|
|
|
@param selector to identify a recipient
|
|
@return a single RecipientInformation object. Null if none matches.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.RecipientInformationStore.Count">
|
|
Return the number of recipients in the collection.
|
|
|
|
@return number of recipients identified.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.RecipientInformationStore.GetRecipients">
|
|
Return all recipients in the collection
|
|
|
|
@return a collection of recipients.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.RecipientInformationStore.GetRecipients(Org.BouncyCastle.Cms.RecipientID)">
|
|
Return possible empty collection with recipients matching the passed in RecipientID
|
|
|
|
@param selector a recipient id to select against.
|
|
@return a collection of RecipientInformation objects.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.SignerID">
|
|
a basic index for a signer.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInfoGeneratorBuilder.SetDirectSignature(System.Boolean)">
|
|
If the passed in flag is true, the signer signature will be based on the data, not
|
|
a collection of signed attributes, and no signed attributes will be included.
|
|
|
|
@return the builder object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInfoGeneratorBuilder.WithSignedAttributeGenerator(Org.BouncyCastle.Cms.CmsAttributeTableGenerator)">
|
|
Provide a custom signed attribute generator.
|
|
|
|
@param signedGen a generator of signed attributes.
|
|
@return the builder object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInfoGeneratorBuilder.WithUnsignedAttributeGenerator(Org.BouncyCastle.Cms.CmsAttributeTableGenerator)">
|
|
Provide a generator of unsigned attributes.
|
|
|
|
@param unsignedGen a generator for signed attributes.
|
|
@return the builder object
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInfoGeneratorBuilder.Build(Org.BouncyCastle.Crypto.ISignatureFactory,Org.BouncyCastle.X509.X509Certificate)">
|
|
Build a generator with the passed in X.509 certificate issuer and serial number as the signerIdentifier.
|
|
|
|
@param contentSigner operator for generating the final signature in the SignerInfo with.
|
|
@param certificate X.509 certificate related to the contentSigner.
|
|
@return a SignerInfoGenerator
|
|
@throws OperatorCreationException if the generator cannot be built.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInfoGeneratorBuilder.Build(Org.BouncyCastle.Crypto.ISignatureFactory,System.Byte[])">
|
|
Build a generator with the passed in subjectKeyIdentifier as the signerIdentifier. If used you should
|
|
try to follow the calculation described in RFC 5280 section 4.2.1.2.
|
|
|
|
@param signerFactory operator factory for generating the final signature in the SignerInfo with.
|
|
@param subjectKeyIdentifier key identifier to identify the public key for verifying the signature.
|
|
@return a SignerInfoGenerator
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.SignerInformation">
|
|
an expanded SignerInfo block from a CMS Signed message
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.#ctor(Org.BouncyCastle.Cms.SignerInformation)">
|
|
Protected constructor. In some cases clients have their own idea about how to encode
|
|
the signed attributes and calculate the signature. This constructor is to allow developers
|
|
to deal with that by extending off the class and overridng methods like getSignedAttributes().
|
|
|
|
@param baseInfo the SignerInformation to base this one on.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformation.Version">
|
|
return the version number for this objects underlying SignerInfo structure.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformation.DigestAlgOid">
|
|
return the object identifier for the signature.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformation.DigestAlgParams">
|
|
return the signature parameters, or null if there aren't any.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.GetContentDigest">
|
|
return the content digest that was calculated during verification.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformation.EncryptionAlgOid">
|
|
return the object identifier for the signature.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformation.EncryptionAlgParams">
|
|
return the signature/encryption algorithm parameters, or null if
|
|
there aren't any.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformation.SignedAttributes">
|
|
return a table of the signed attributes - indexed by
|
|
the OID of the attribute.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformation.UnsignedAttributes">
|
|
return a table of the unsigned attributes indexed by
|
|
the OID of the attribute.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.GetSignature">
|
|
return the encoded signature
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.GetCounterSignatures">
|
|
Return a SignerInformationStore containing the counter signatures attached to this
|
|
signer. If no counter signatures are present an empty store is returned.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.GetEncodedSignedAttributes">
|
|
return the DER encoding of the signed attributes.
|
|
@throws IOException if an encoding error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.Verify(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
verify that the given public key successfully handles and confirms the
|
|
signature associated with this signer.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.Verify(Org.BouncyCastle.X509.X509Certificate)">
|
|
verify that the given certificate successfully handles and confirms
|
|
the signature associated with this signer and, if a signingTime
|
|
attribute is available, that the certificate was valid at the time the
|
|
signature was generated.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.ToSignerInfo">
|
|
Return the base ASN.1 CMS structure that this object contains.
|
|
|
|
@return an object containing a CMS SignerInfo structure.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.ReplaceUnsignedAttributes(Org.BouncyCastle.Cms.SignerInformation,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
Return a signer information object with the passed in unsigned
|
|
attributes replacing the ones that are current associated with
|
|
the object passed in.
|
|
|
|
@param signerInformation the signerInfo to be used as the basis.
|
|
@param unsignedAttributes the unsigned attributes to add.
|
|
@return a copy of the original SignerInformationObject with the changed attributes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformation.AddCounterSigners(Org.BouncyCastle.Cms.SignerInformation,Org.BouncyCastle.Cms.SignerInformationStore)">
|
|
Return a signer information object with passed in SignerInformationStore representing counter
|
|
signatures attached as an unsigned attribute.
|
|
|
|
@param signerInformation the signerInfo to be used as the basis.
|
|
@param counterSigners signer info objects carrying counter signature.
|
|
@return a copy of the original SignerInformationObject with the changed attributes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformationStore.#ctor(Org.BouncyCastle.Cms.SignerInformation)">
|
|
Create a store containing a single SignerInformation object.
|
|
|
|
@param signerInfo the signer information to contain.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformationStore.#ctor(System.Collections.ICollection)">
|
|
Create a store containing a collection of SignerInformation objects.
|
|
|
|
@param signerInfos a collection signer information objects to contain.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformationStore.GetFirstSigner(Org.BouncyCastle.Cms.SignerID)">
|
|
Return the first SignerInformation object that matches the
|
|
passed in selector. Null if there are no matches.
|
|
|
|
@param selector to identify a signer
|
|
@return a single SignerInformation object. Null if none matches.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Cms.SignerInformationStore.Count">
|
|
<summary>The number of signers in the collection.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformationStore.GetSigners">
|
|
<returns>An ICollection of all signers in the collection</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Cms.SignerInformationStore.GetSigners(Org.BouncyCastle.Cms.SignerID)">
|
|
Return possible empty collection with signers matching the passed in SignerID
|
|
|
|
@param selector a signer id to select against.
|
|
@return a collection of SignerInformation objects.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Cms.SimpleAttributeTableGenerator">
|
|
Basic generator that just returns a preconstructed attribute table
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crmf.AuthenticatorControl">
|
|
<summary>
|
|
Carrier for an authenticator control.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.AuthenticatorControl.#ctor(Org.BouncyCastle.Asn1.DerUtf8String)">
|
|
<summary>
|
|
Basic constructor - build from a UTF-8 string representing the token.
|
|
</summary>
|
|
<param name="token">UTF-8 string representing the token.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.AuthenticatorControl.#ctor(System.String)">
|
|
<summary>
|
|
Basic constructor - build from a string representing the token.
|
|
</summary>
|
|
<param name="token">string representing the token.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.AuthenticatorControl.Type">
|
|
<summary>
|
|
Return the type of this control.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.AuthenticatorControl.Value">
|
|
<summary>
|
|
Return the token associated with this control (a UTF8String).
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.CertificateRequestMessage.#ctor(System.Byte[])">
|
|
<summary>
|
|
Create a CertificateRequestMessage from the passed in bytes.
|
|
</summary>
|
|
<param name="encoded">BER/DER encoding of the CertReqMsg structure.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.CertificateRequestMessage.ToAsn1Structure">
|
|
<summary>
|
|
Return the underlying ASN.1 object defining this CertificateRequestMessage object.
|
|
</summary>
|
|
<returns>A CertReqMsg</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.CertificateRequestMessage.GetCertTemplate">
|
|
<summary>
|
|
Return the certificate template contained in this message.
|
|
</summary>
|
|
<returns>a CertTemplate structure.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.CertificateRequestMessage.HasControls">
|
|
<summary>
|
|
Return whether or not this request has control values associated with it.
|
|
</summary>
|
|
<returns>true if there are control values present, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.CertificateRequestMessage.HasControl(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
<summary>
|
|
Return whether or not this request has a specific type of control value.
|
|
</summary>
|
|
<param name="objectIdentifier">the type OID for the control value we are checking for.</param>
|
|
<returns>true if a control value of type is present, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.CertificateRequestMessage.GetControl(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
<summary>
|
|
Return a control value of the specified type.
|
|
</summary>
|
|
<param name="type">the type OID for the control value we are checking for.</param>
|
|
<returns>the control value if present, null otherwise.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.CertificateRequestMessage.HasProofOfPossession">
|
|
<summary>
|
|
Return whether or not this request message has a proof-of-possession field in it.
|
|
</summary>
|
|
<returns>true if proof-of-possession is present, false otherwise.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.CertificateRequestMessage.ProofOfPossession">
|
|
<summary>
|
|
Return the type of the proof-of-possession this request message provides.
|
|
</summary>
|
|
<returns>one of: popRaVerified, popSigningKey, popKeyEncipherment, popKeyAgreement</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.CertificateRequestMessage.HasSigningKeyProofOfPossessionWithPkMac">
|
|
<summary>
|
|
Return whether or not the proof-of-possession (POP) is of the type popSigningKey and
|
|
it has a public key MAC associated with it.
|
|
</summary>
|
|
<returns>true if POP is popSigningKey and a PKMAC is present, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.CertificateRequestMessage.IsValidSigningKeyPop(Org.BouncyCastle.Crypto.IVerifierFactoryProvider)">
|
|
<summary>
|
|
Return whether or not a signing key proof-of-possession (POP) is valid.
|
|
</summary>
|
|
<param name="verifierProvider">a provider that can produce content verifiers for the signature contained in this POP.</param>
|
|
<returns>true if the POP is valid, false otherwise.</returns>
|
|
<exception cref="T:System.InvalidOperationException">if there is a problem in verification or content verifier creation.</exception>
|
|
<exception cref="T:System.InvalidOperationException">if POP not appropriate.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.CertificateRequestMessage.GetEncoded">
|
|
<summary>
|
|
Return the ASN.1 encoding of the certReqMsg we wrap.
|
|
</summary>
|
|
<returns>a byte array containing the binary encoding of the certReqMsg.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.EncryptedValueBuilder.#ctor(Org.BouncyCastle.Crypto.IKeyWrapper,Org.BouncyCastle.Crypto.ICipherBuilderWithKey)">
|
|
|
|
Create a builder that makes EncryptedValue structures.
|
|
|
|
<param name="wrapper">wrapper a wrapper for key used to encrypt the actual data contained in the EncryptedValue.</param>
|
|
<param name="encryptor">encryptor an output encryptor to encrypt the actual data contained in the EncryptedValue. </param>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.EncryptedValueBuilder.#ctor(Org.BouncyCastle.Crypto.IKeyWrapper,Org.BouncyCastle.Crypto.ICipherBuilderWithKey,Org.BouncyCastle.Crmf.IEncryptedValuePadder)">
|
|
|
|
Create a builder that makes EncryptedValue structures with fixed length blocks padded using the passed in padder.
|
|
|
|
<param name="wrapper">a wrapper for key used to encrypt the actual data contained in the EncryptedValue.</param>
|
|
<param name="encryptor">encryptor an output encryptor to encrypt the actual data contained in the EncryptedValue.</param>
|
|
<param name="padder">padder a padder to ensure that the EncryptedValue created will always be a constant length.</param>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.EncryptedValueBuilder.Build(System.Char[])">
|
|
|
|
Build an EncryptedValue structure containing the passed in pass phrase.
|
|
|
|
<param name="revocationPassphrase">a revocation pass phrase.</param>
|
|
<returns>an EncryptedValue containing the encrypted pass phrase.</returns>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.EncryptedValueBuilder.Build(Org.BouncyCastle.X509.X509Certificate)">
|
|
<summary>
|
|
Build an EncryptedValue structure containing the certificate contained in
|
|
the passed in holder.
|
|
</summary>
|
|
<param name="holder">a holder containing a certificate.</param>
|
|
<returns>an EncryptedValue containing the encrypted certificate.</returns>
|
|
<exception cref="T:Org.BouncyCastle.Crmf.CrmfException">on a failure to encrypt the data, or wrap the symmetric key for this value.</exception>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.EncryptedValueBuilder.Build(Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo)">
|
|
<summary>
|
|
Build an EncryptedValue structure containing the private key contained in
|
|
the passed info structure.
|
|
</summary>
|
|
<param name="privateKeyInfo">a PKCS#8 private key info structure.</param>
|
|
<returns>an EncryptedValue containing an EncryptedPrivateKeyInfo structure.</returns>
|
|
<exception cref="T:Org.BouncyCastle.Crmf.CrmfException">on a failure to encrypt the data, or wrap the symmetric key for this value.</exception>
|
|
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crmf.IControl">
|
|
<summary>
|
|
Generic interface for a CertificateRequestMessage control value.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.IControl.Type">
|
|
<summary>
|
|
Return the type of this control.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.IControl.Value">
|
|
<summary>
|
|
Return the value contained in this control object.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crmf.IEncryptedValuePadder">
|
|
<summary>
|
|
An encrypted value padder is used to make sure that prior to a value been
|
|
encrypted the data is padded to a standard length.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.IEncryptedValuePadder.GetPaddedData(System.Byte[])">
|
|
|
|
<summary>Return a byte array of padded data.</summary>
|
|
|
|
<param name="data">the data to be padded.</param>
|
|
<returns>a padded byte array containing data.</returns>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.IEncryptedValuePadder.GetUnpaddedData(System.Byte[])">
|
|
|
|
<summary>Return a byte array of with padding removed.</summary>
|
|
|
|
<param name="paddedData">the data to be padded.</param>
|
|
<returns>an array containing the original unpadded data.</returns>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PkiArchiveControl.#ctor(Org.BouncyCastle.Asn1.Crmf.PkiArchiveOptions)">
|
|
<summary>
|
|
Basic constructor - build from an PKIArchiveOptions structure.
|
|
</summary>
|
|
<param name="pkiArchiveOptions">the ASN.1 structure that will underlie this control.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.PkiArchiveControl.Type">
|
|
<summary>
|
|
Return the type of this control.
|
|
</summary>
|
|
<returns>CRMFObjectIdentifiers.id_regCtrl_pkiArchiveOptions</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.PkiArchiveControl.Value">
|
|
<summary>
|
|
Return the underlying ASN.1 object.
|
|
</summary>
|
|
<returns>a PKIArchiveOptions structure.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.PkiArchiveControl.ArchiveType">
|
|
<summary>
|
|
Return the archive control type, one of: encryptedPrivKey,keyGenParameters,or archiveRemGenPrivKey.
|
|
</summary>
|
|
<returns>the archive control type.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.PkiArchiveControl.EnvelopedData">
|
|
<summary>
|
|
Return whether this control contains enveloped data.
|
|
</summary>
|
|
<returns>true if the control contains enveloped data, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PkiArchiveControl.GetEnvelopedData">
|
|
<summary>
|
|
Return the enveloped data structure contained in this control.
|
|
</summary>
|
|
<returns>a CMSEnvelopedData object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PkiArchiveControlBuilder.#ctor(Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo,Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
<summary>
|
|
Basic constructor - specify the contents of the PKIArchiveControl structure.
|
|
</summary>
|
|
<param name="privateKeyInfo">the private key to be archived.</param>
|
|
<param name="generalName">the general name to be associated with the private key.</param>
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PkiArchiveControlBuilder.AddRecipientGenerator(Org.BouncyCastle.Cms.RecipientInfoGenerator)">
|
|
<summary>Add a recipient generator to this control.</summary>
|
|
<param name="recipientGen"> recipient generator created for a specific recipient.</param>
|
|
<returns>this builder object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PkiArchiveControlBuilder.Build(Org.BouncyCastle.Crypto.ICipherBuilderWithKey)">
|
|
<summary>Build the PKIArchiveControl using the passed in encryptor to encrypt its contents.</summary>
|
|
<param name="contentEncryptor">a suitable content encryptor.</param>
|
|
<returns>a PKIArchiveControl object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.#ctor">
|
|
<summary>
|
|
Default, IterationCount = 1000, OIW=IdSha1, Mac=HmacSHA1
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.#ctor(Org.BouncyCastle.Crmf.IPKMacPrimitivesProvider)">
|
|
<summary>
|
|
Defaults with IPKMacPrimitivesProvider
|
|
</summary>
|
|
<param name="provider"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.#ctor(Org.BouncyCastle.Crmf.IPKMacPrimitivesProvider,Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier)">
|
|
<summary>
|
|
Create.
|
|
</summary>
|
|
<param name="provider">The Mac provider</param>
|
|
<param name="digestAlgorithmIdentifier">Digest Algorithm Id</param>
|
|
<param name="macAlgorithmIdentifier">Mac Algorithm Id</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.#ctor(Org.BouncyCastle.Crmf.IPKMacPrimitivesProvider,System.Int32)">
|
|
<summary>
|
|
Create a PKMAC builder enforcing a ceiling on the maximum iteration count.
|
|
</summary>
|
|
<param name="provider">supporting calculator</param>
|
|
<param name="maxIterations">max allowable value for iteration count.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.SetSaltLength(System.Int32)">
|
|
Set the salt length in octets.
|
|
|
|
@param saltLength length in octets of the salt to be generated.
|
|
@return the generator
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.SetIterationCount(System.Int32)">
|
|
<summary>
|
|
Set the iteration count.
|
|
</summary>
|
|
<param name="iterationCount">the iteration count.</param>
|
|
<returns>this</returns>
|
|
<exception cref="T:System.ArgumentException">if iteration count is less than 100</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.SetParameters(Org.BouncyCastle.Asn1.Cmp.PbmParameter)">
|
|
<summary>
|
|
Set PbmParameters
|
|
</summary>
|
|
<param name="parameters">The parameters.</param>
|
|
<returns>this</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.SetSecureRandom(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
The Secure random
|
|
</summary>
|
|
<param name="random">The random.</param>
|
|
<returns>this</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.PKMacBuilder.Build(System.Char[])">
|
|
<summary>
|
|
Build an IMacFactory.
|
|
</summary>
|
|
<param name="password">The password.</param>
|
|
<returns>IMacFactory</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.RegTokenControl.#ctor(Org.BouncyCastle.Asn1.DerUtf8String)">
|
|
<summary>
|
|
Basic constructor - build from a UTF-8 string representing the token.
|
|
</summary>
|
|
<param name="token">UTF-8 string representing the token.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crmf.RegTokenControl.#ctor(System.String)">
|
|
<summary>
|
|
Basic constructor - build from a string representing the token.
|
|
</summary>
|
|
<param name="token">string representing the token.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.RegTokenControl.Type">
|
|
<summary>
|
|
Return the type of this control.
|
|
</summary>
|
|
<returns>CRMFObjectIdentifiers.id_regCtrl_regToken</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crmf.RegTokenControl.Value">
|
|
<summary>
|
|
Return the token associated with this control (a UTF8String).
|
|
</summary>
|
|
<returns>a UTF8String.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.DHAgreement">
|
|
a Diffie-Hellman key exchange engine.
|
|
<p>
|
|
note: This uses MTI/A0 key agreement in order to make the key agreement
|
|
secure against passive attacks. If you're doing Diffie-Hellman and both
|
|
parties have long term public keys you should look at using this. For
|
|
further information have a look at RFC 2631.</p>
|
|
<p>
|
|
It's possible to extend this to more than two parties as well, for the moment
|
|
that is left as an exercise for the reader.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.DHAgreement.CalculateMessage">
|
|
calculate our initial message.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.DHAgreement.CalculateAgreement(Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters,Org.BouncyCastle.Math.BigInteger)">
|
|
given a message from a given party and the corresponding public key
|
|
calculate the next message in the agreement sequence. In this case
|
|
this will represent the shared secret.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement">
|
|
a Diffie-Hellman key agreement class.
|
|
<p>
|
|
note: This is only the basic algorithm, it doesn't take advantage of
|
|
long term public keys if they are available. See the DHAgreement class
|
|
for a "better" implementation.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement.CalculateAgreement(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
given a short term public key from a given party calculate the next
|
|
message in the agreement sequence.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.DHStandardGroups">
|
|
<summary>Standard Diffie-Hellman groups from various IETF specifications.</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.DHStandardGroups.rfc5114_1024_160">
|
|
<remarks>
|
|
Existence of a "hidden SNFS" backdoor cannot be ruled out. see https://eprint.iacr.org/2016/961.pdf .
|
|
</remarks>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.DHStandardGroups.rfc5114_2048_224">
|
|
<remarks>
|
|
Existence of a "hidden SNFS" backdoor cannot be ruled out. see https://eprint.iacr.org/2016/961.pdf .
|
|
</remarks>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.DHStandardGroups.rfc5114_2048_256">
|
|
<remarks>
|
|
Existence of a "hidden SNFS" backdoor cannot be ruled out. see https://eprint.iacr.org/2016/961.pdf .
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement">
|
|
P1363 7.2.1 ECSVDP-DH
|
|
|
|
ECSVDP-DH is Elliptic Curve Secret Value Derivation Primitive,
|
|
Diffie-Hellman version. It is based on the work of [DH76], [Mil86],
|
|
and [Kob87]. This primitive derives a shared secret value from one
|
|
party's private key and another party's public key, where both have
|
|
the same set of EC domain parameters. If two parties correctly
|
|
execute this primitive, they will produce the same output. This
|
|
primitive can be invoked by a scheme to derive a shared secret key;
|
|
specifically, it may be used with the schemes ECKAS-DH1 and
|
|
DL/ECKAS-DH2. It assumes that the input keys are valid (see also
|
|
Section 7.2.2).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.ECDHCBasicAgreement">
|
|
P1363 7.2.2 ECSVDP-DHC
|
|
|
|
ECSVDP-DHC is Elliptic Curve Secret Value Derivation Primitive,
|
|
Diffie-Hellman version with cofactor multiplication. It is based on
|
|
the work of [DH76], [Mil86], [Kob87], [LMQ98] and [Kal98a]. This
|
|
primitive derives a shared secret value from one party's private key
|
|
and another party's public key, where both have the same set of EC
|
|
domain parameters. If two parties correctly execute this primitive,
|
|
they will produce the same output. This primitive can be invoked by a
|
|
scheme to derive a shared secret key; specifically, it may be used
|
|
with the schemes ECKAS-DH1 and DL/ECKAS-DH2. It does not assume the
|
|
validity of the input public key (see also Section 7.2.1).
|
|
<p>
|
|
Note: As stated P1363 compatibility mode with ECDH can be preset, and
|
|
in this case the implementation doesn't have a ECDH compatibility mode
|
|
(if you want that just use ECDHBasicAgreement and note they both implement
|
|
BasicAgreement!).</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant">
|
|
<summary>
|
|
A participant in a Password Authenticated Key Exchange by Juggling (J-PAKE) exchange.
|
|
|
|
The J-PAKE exchange is defined by Feng Hao and Peter Ryan in the paper
|
|
<a href="http://grouper.ieee.org/groups/1363/Research/contributions/hao-ryan-2008.pdf">
|
|
"Password Authenticated Key Exchange by Juggling, 2008."</a>
|
|
|
|
The J-PAKE protocol is symmetric.
|
|
There is no notion of a <i>client</i> or <i>server</i>, but rather just two <i>participants</i>.
|
|
An instance of JPakeParticipant represents one participant, and
|
|
is the primary interface for executing the exchange.
|
|
|
|
To execute an exchange, construct a JPakeParticipant on each end,
|
|
and call the following 7 methods
|
|
(once and only once, in the given order, for each participant, sending messages between them as described):
|
|
|
|
CreateRound1PayloadToSend() - and send the payload to the other participant
|
|
ValidateRound1PayloadReceived(JPakeRound1Payload) - use the payload received from the other participant
|
|
CreateRound2PayloadToSend() - and send the payload to the other participant
|
|
ValidateRound2PayloadReceived(JPakeRound2Payload) - use the payload received from the other participant
|
|
CalculateKeyingMaterial()
|
|
CreateRound3PayloadToSend(BigInteger) - and send the payload to the other participant
|
|
ValidateRound3PayloadReceived(JPakeRound3Payload, BigInteger) - use the payload received from the other participant
|
|
|
|
Each side should derive a session key from the keying material returned by CalculateKeyingMaterial().
|
|
The caller is responsible for deriving the session key using a secure key derivation function (KDF).
|
|
|
|
Round 3 is an optional key confirmation process.
|
|
If you do not execute round 3, then there is no assurance that both participants are using the same key.
|
|
(i.e. if the participants used different passwords, then their session keys will differ.)
|
|
|
|
If the round 3 validation succeeds, then the keys are guaranteed to be the same on both sides.
|
|
|
|
The symmetric design can easily support the asymmetric cases when one party initiates the communication.
|
|
e.g. Sometimes the round1 payload and round2 payload may be sent in one pass.
|
|
Also, in some cases, the key confirmation payload can be sent together with the round2 payload.
|
|
These are the trivial techniques to optimize the communication.
|
|
|
|
The key confirmation process is implemented as specified in
|
|
<a href="http://csrc.nist.gov/publications/nistpubs/800-56A/SP800-56A_Revision1_Mar08-2007.pdf">NIST SP 800-56A Revision 1</a>,
|
|
Section 8.2 Unilateral Key Confirmation for Key Agreement Schemes.
|
|
|
|
This class is stateful and NOT threadsafe.
|
|
Each instance should only be used for ONE complete J-PAKE exchange
|
|
(i.e. a new JPakeParticipant should be constructed for each new J-PAKE exchange).
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.#ctor(System.String,System.Char[])">
|
|
<summary>
|
|
Convenience constructor for a new JPakeParticipant that uses
|
|
the JPakePrimeOrderGroups#NIST_3072 prime order group,
|
|
a SHA-256 digest, and a default SecureRandom implementation.
|
|
|
|
After construction, the State state will be STATE_INITIALIZED.
|
|
|
|
Throws NullReferenceException if any argument is null. Throws
|
|
ArgumentException if password is empty.
|
|
</summary>
|
|
<param name="participantId">Unique identifier of this participant.
|
|
The two participants in the exchange must NOT share the same id.</param>
|
|
<param name="password">Shared secret.
|
|
A defensive copy of this array is made (and cleared once CalculateKeyingMaterial() is called).
|
|
Caller should clear the input password as soon as possible.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.#ctor(System.String,System.Char[],Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup)">
|
|
<summary>
|
|
Convenience constructor for a new JPakeParticipant that uses
|
|
a SHA-256 digest, and a default SecureRandom implementation.
|
|
|
|
After construction, the State state will be STATE_INITIALIZED.
|
|
|
|
Throws NullReferenceException if any argument is null. Throws
|
|
ArgumentException if password is empty.
|
|
</summary>
|
|
<param name="participantId">Unique identifier of this participant.
|
|
The two participants in the exchange must NOT share the same id.</param>
|
|
<param name="password">Shared secret.
|
|
A defensive copy of this array is made (and cleared once CalculateKeyingMaterial() is called).
|
|
Caller should clear the input password as soon as possible.</param>
|
|
<param name="group">Prime order group. See JPakePrimeOrderGroups for standard groups.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.#ctor(System.String,System.Char[],Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Constructor for a new JPakeParticipant.
|
|
|
|
After construction, the State state will be STATE_INITIALIZED.
|
|
|
|
Throws NullReferenceException if any argument is null. Throws
|
|
ArgumentException if password is empty.
|
|
</summary>
|
|
<param name="participantId">Unique identifier of this participant.
|
|
The two participants in the exchange must NOT share the same id.</param>
|
|
<param name="password">Shared secret.
|
|
A defensive copy of this array is made (and cleared once CalculateKeyingMaterial() is called).
|
|
Caller should clear the input password as soon as possible.</param>
|
|
<param name="group">Prime order group. See JPakePrimeOrderGroups for standard groups.</param>
|
|
<param name="digest">Digest to use during zero knowledge proofs and key confirmation
|
|
(SHA-256 or stronger preferred).</param>
|
|
<param name="random">Source of secure random data for x1 and x2, and for the zero knowledge proofs.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.State">
|
|
<summary>
|
|
Gets the current state of this participant.
|
|
See the <tt>STATE_*</tt> constants for possible values.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.CreateRound1PayloadToSend">
|
|
<summary>
|
|
Creates and returns the payload to send to the other participant during round 1.
|
|
|
|
After execution, the State state} will be STATE_ROUND_1_CREATED}.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.ValidateRound1PayloadReceived(Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload)">
|
|
<summary>
|
|
Validates the payload received from the other participant during round 1.
|
|
|
|
Must be called prior to CreateRound2PayloadToSend().
|
|
|
|
After execution, the State state will be STATE_ROUND_1_VALIDATED.
|
|
|
|
Throws CryptoException if validation fails. Throws InvalidOperationException
|
|
if called multiple times.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.CreateRound2PayloadToSend">
|
|
<summary>
|
|
Creates and returns the payload to send to the other participant during round 2.
|
|
|
|
ValidateRound1PayloadReceived(JPakeRound1Payload) must be called prior to this method.
|
|
|
|
After execution, the State state will be STATE_ROUND_2_CREATED.
|
|
|
|
Throws InvalidOperationException if called prior to ValidateRound1PayloadReceived(JPakeRound1Payload), or multiple times
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.ValidateRound2PayloadReceived(Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound2Payload)">
|
|
<summary>
|
|
Validates the payload received from the other participant during round 2.
|
|
Note that this DOES NOT detect a non-common password.
|
|
The only indication of a non-common password is through derivation
|
|
of different keys (which can be detected explicitly by executing round 3 and round 4)
|
|
|
|
Must be called prior to CalculateKeyingMaterial().
|
|
|
|
After execution, the State state will be STATE_ROUND_2_VALIDATED.
|
|
|
|
Throws CryptoException if validation fails. Throws
|
|
InvalidOperationException if called prior to ValidateRound1PayloadReceived(JPakeRound1Payload), or multiple times
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.CalculateKeyingMaterial">
|
|
<summary>
|
|
Calculates and returns the key material.
|
|
A session key must be derived from this key material using a secure key derivation function (KDF).
|
|
The KDF used to derive the key is handled externally (i.e. not by JPakeParticipant).
|
|
|
|
The keying material will be identical for each participant if and only if
|
|
each participant's password is the same. i.e. If the participants do not
|
|
share the same password, then each participant will derive a different key.
|
|
Therefore, if you immediately start using a key derived from
|
|
the keying material, then you must handle detection of incorrect keys.
|
|
If you want to handle this detection explicitly, you can optionally perform
|
|
rounds 3 and 4. See JPakeParticipant for details on how to execute
|
|
rounds 3 and 4.
|
|
|
|
The keying material will be in the range <tt>[0, p-1]</tt>.
|
|
|
|
ValidateRound2PayloadReceived(JPakeRound2Payload) must be called prior to this method.
|
|
|
|
As a side effect, the internal password array is cleared, since it is no longer needed.
|
|
|
|
After execution, the State state will be STATE_KEY_CALCULATED.
|
|
|
|
Throws InvalidOperationException if called prior to ValidateRound2PayloadReceived(JPakeRound2Payload),
|
|
or if called multiple times.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.CreateRound3PayloadToSend(Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Creates and returns the payload to send to the other participant during round 3.
|
|
|
|
See JPakeParticipant for more details on round 3.
|
|
|
|
After execution, the State state} will be STATE_ROUND_3_CREATED.
|
|
Throws InvalidOperationException if called prior to CalculateKeyingMaterial, or multiple
|
|
times.
|
|
</summary>
|
|
<param name="keyingMaterial">The keying material as returned from CalculateKeyingMaterial().</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.ValidateRound3PayloadReceived(Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound3Payload,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Validates the payload received from the other participant during round 3.
|
|
|
|
See JPakeParticipant for more details on round 3.
|
|
|
|
After execution, the State state will be STATE_ROUND_3_VALIDATED.
|
|
|
|
Throws CryptoException if validation fails. Throws InvalidOperationException if called prior to
|
|
CalculateKeyingMaterial or multiple times
|
|
</summary>
|
|
<param name="round3PayloadReceived">The round 3 payload received from the other participant.</param>
|
|
<param name="keyingMaterial">The keying material as returned from CalculateKeyingMaterial().</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup">
|
|
<summary>
|
|
A pre-computed prime order group for use during a J-PAKE exchange.
|
|
|
|
Typically a Schnorr group is used. In general, J-PAKE can use any prime order group
|
|
that is suitable for public key cryptography, including elliptic curve cryptography.
|
|
|
|
See JPakePrimeOrderGroups for convenient standard groups.
|
|
|
|
NIST <a href="http://csrc.nist.gov/groups/ST/toolkit/documents/Examples/DSA2_All.pdf">publishes</a>
|
|
many groups that can be used for the desired level of security.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup.#ctor(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Constructs a new JPakePrimeOrderGroup.
|
|
|
|
In general, you should use one of the pre-approved groups from
|
|
JPakePrimeOrderGroups, rather than manually constructing one.
|
|
|
|
The following basic checks are performed:
|
|
|
|
p-1 must be evenly divisible by q
|
|
g must be in [2, p-1]
|
|
g^q mod p must equal 1
|
|
p must be prime (within reasonably certainty)
|
|
q must be prime (within reasonably certainty)
|
|
|
|
The prime checks are performed using BigInteger#isProbablePrime(int),
|
|
and are therefore subject to the same probability guarantees.
|
|
|
|
These checks prevent trivial mistakes.
|
|
However, due to the small uncertainties if p and q are not prime,
|
|
advanced attacks are not prevented.
|
|
Use it at your own risk.
|
|
|
|
Throws NullReferenceException if any argument is null. Throws
|
|
InvalidOperationException is any of the above validations fail.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup.#ctor(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,System.Boolean)">
|
|
<summary>
|
|
Constructor used by the pre-approved groups in JPakePrimeOrderGroups.
|
|
These pre-approved groups can avoid the expensive checks.
|
|
User-specified groups should not use this constructor.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroups">
|
|
<summary>
|
|
Standard pre-computed prime order groups for use by J-PAKE.
|
|
(J-PAKE can use pre-computed prime order groups, same as DSA and Diffie-Hellman.)
|
|
<p/>
|
|
This class contains some convenient constants for use as input for
|
|
constructing {@link JPAKEParticipant}s.
|
|
<p/>
|
|
The prime order groups below are taken from Sun's JDK JavaDoc (docs/guide/security/CryptoSpec.html#AppB),
|
|
and from the prime order groups
|
|
<a href="http://csrc.nist.gov/groups/ST/toolkit/documents/Examples/DSA2_All.pdf">published by NIST</a>.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroups.SUN_JCE_1024">
|
|
<summary>
|
|
From Sun's JDK JavaDoc (docs/guide/security/CryptoSpec.html#AppB)
|
|
1024-bit p, 160-bit q and 1024-bit g for 80-bit security.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroups.NIST_2048">
|
|
<summary>
|
|
From NIST.
|
|
2048-bit p, 224-bit q and 2048-bit g for 112-bit security.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroups.NIST_3072">
|
|
<summary>
|
|
From NIST.
|
|
3072-bit p, 256-bit q and 3072-bit g for 128-bit security.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload">
|
|
<summary>
|
|
The payload sent/received during the first round of a J-PAKE exchange.
|
|
|
|
Each JPAKEParticipant creates and sends an instance of this payload to
|
|
the other. The payload to send should be created via
|
|
JPAKEParticipant.CreateRound1PayloadToSend().
|
|
|
|
Each participant must also validate the payload received from the other.
|
|
The received payload should be validated via
|
|
JPAKEParticipant.ValidateRound1PayloadReceived(JPakeRound1Payload).
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload.participantId">
|
|
<summary>
|
|
The id of the JPAKEParticipant who created/sent this payload.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload.gx1">
|
|
<summary>
|
|
The value of g^x1
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload.gx2">
|
|
<summary>
|
|
The value of g^x2
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload.knowledgeProofForX1">
|
|
<summary>
|
|
The zero knowledge proof for x1.
|
|
|
|
This is a two element array, containing {g^v, r} for x1.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload.knowledgeProofForX2">
|
|
<summary>
|
|
The zero knowledge proof for x2.
|
|
|
|
This is a two element array, containing {g^v, r} for x2.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound2Payload">
|
|
<summary>
|
|
The payload sent/received during the second round of a J-PAKE exchange.
|
|
|
|
Each JPAKEParticipant creates and sends an instance
|
|
of this payload to the other JPAKEParticipant.
|
|
The payload to send should be created via
|
|
JPAKEParticipant#createRound2PayloadToSend()
|
|
|
|
Each JPAKEParticipant must also validate the payload
|
|
received from the other JPAKEParticipant.
|
|
The received payload should be validated via
|
|
JPAKEParticipant#validateRound2PayloadReceived(JPakeRound2Payload)
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound2Payload.participantId">
|
|
<summary>
|
|
The id of the JPAKEParticipant who created/sent this payload.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound2Payload.a">
|
|
<summary>
|
|
The value of A, as computed during round 2.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound2Payload.knowledgeProofForX2s">
|
|
<summary>
|
|
The zero knowledge proof for x2 * s.
|
|
|
|
This is a two element array, containing {g^v, r} for x2 * s.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound3Payload">
|
|
<summary>
|
|
The payload sent/received during the optional third round of a J-PAKE exchange,
|
|
which is for explicit key confirmation.
|
|
|
|
Each JPAKEParticipant creates and sends an instance
|
|
of this payload to the other JPAKEParticipant.
|
|
The payload to send should be created via
|
|
JPAKEParticipant#createRound3PayloadToSend(BigInteger)
|
|
|
|
Eeach JPAKEParticipant must also validate the payload
|
|
received from the other JPAKEParticipant.
|
|
The received payload should be validated via
|
|
JPAKEParticipant#validateRound3PayloadReceived(JPakeRound3Payload, BigInteger)
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound3Payload.participantId">
|
|
<summary>
|
|
The id of the {@link JPAKEParticipant} who created/sent this payload.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound3Payload.macTag">
|
|
<summary>
|
|
The value of MacTag, as computed by round 3.
|
|
|
|
See JPAKEUtil#calculateMacTag(string, string, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, org.bouncycastle.crypto.Digest)
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities">
|
|
<summary>
|
|
Primitives needed for a J-PAKE exchange.
|
|
|
|
The recommended way to perform a J-PAKE exchange is by using
|
|
two JPAKEParticipants. Internally, those participants
|
|
call these primitive operations in JPakeUtilities.
|
|
|
|
The primitives, however, can be used without a JPAKEParticipant if needed.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.GenerateX1(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Return a value that can be used as x1 or x3 during round 1.
|
|
The returned value is a random value in the range [0, q-1].
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.GenerateX2(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Return a value that can be used as x2 or x4 during round 1.
|
|
The returned value is a random value in the range [1, q-1].
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateS(System.Char[])">
|
|
<summary>
|
|
Converts the given password to a BigInteger
|
|
for use in arithmetic calculations.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateGx(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Calculate g^x mod p as done in round 1.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateGA(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Calculate ga as done in round 2.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateX2s(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Calculate x2 * s as done in round 2.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateA(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Calculate A as done in round 2.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateZeroKnowledgeProof(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,System.String,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Calculate a zero knowledge proof of x using Schnorr's signature.
|
|
The returned array has two elements {g^v, r = v-x*h} for x.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.ValidateGx4(Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Validates that g^x4 is not 1.
|
|
throws CryptoException if g^x4 is 1
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.ValidateGa(Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Validates that ga is not 1.
|
|
|
|
As described by Feng Hao...
|
|
Alice could simply check ga != 1 to ensure it is a generator.
|
|
In fact, as we will explain in Section 3, (x1 + x3 + x4 ) is random over Zq even in the face of active attacks.
|
|
Hence, the probability for ga = 1 is extremely small - on the order of 2^160 for 160-bit q.
|
|
|
|
throws CryptoException if ga is 1
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.ValidateZeroKnowledgeProof(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger[],System.String,Org.BouncyCastle.Crypto.IDigest)">
|
|
<summary>
|
|
Validates the zero knowledge proof (generated by
|
|
calculateZeroKnowledgeProof(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, string, Digest, SecureRandom)
|
|
is correct.
|
|
|
|
throws CryptoException if the zero knowledge proof is not correct
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateKeyingMaterial(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Calculates the keying material, which can be done after round 2 has completed.
|
|
A session key must be derived from this key material using a secure key derivation function (KDF).
|
|
The KDF used to derive the key is handled externally (i.e. not by JPAKEParticipant).
|
|
|
|
KeyingMaterial = (B/g^{x2*x4*s})^x2
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.ValidateParticipantIdsDiffer(System.String,System.String)">
|
|
<summary>
|
|
Validates that the given participant ids are not equal.
|
|
(For the J-PAKE exchange, each participant must use a unique id.)
|
|
|
|
Throws CryptoException if the participantId strings are equal.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.ValidateParticipantIdsEqual(System.String,System.String)">
|
|
<summary>
|
|
Validates that the given participant ids are equal.
|
|
This is used to ensure that the payloads received from
|
|
each round all come from the same participant.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.ValidateNotNull(System.Object,System.String)">
|
|
<summary>
|
|
Validates that the given object is not null.
|
|
throws NullReferenceException if the object is null.
|
|
</summary>
|
|
<param name="obj">object in question</param>
|
|
<param name="description">name of the object (to be used in exception message)</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateMacTag(System.String,System.String,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Crypto.IDigest)">
|
|
<summary>
|
|
Calculates the MacTag (to be used for key confirmation), as defined by
|
|
<a href="http://csrc.nist.gov/publications/nistpubs/800-56A/SP800-56A_Revision1_Mar08-2007.pdf">NIST SP 800-56A Revision 1</a>,
|
|
Section 8.2 Unilateral Key Confirmation for Key Agreement Schemes.
|
|
|
|
MacTag = HMAC(MacKey, MacLen, MacData)
|
|
MacKey = H(K || "JPAKE_KC")
|
|
MacData = "KC_1_U" || participantId || partnerParticipantId || gx1 || gx2 || gx3 || gx4
|
|
|
|
Note that both participants use "KC_1_U" because the sender of the round 3 message
|
|
is always the initiator for key confirmation.
|
|
|
|
HMAC = {@link HMac} used with the given {@link Digest}
|
|
H = The given {@link Digest}
|
|
MacLen = length of MacTag
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.CalculateMacKey(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Crypto.IDigest)">
|
|
<summary>
|
|
Calculates the MacKey (i.e. the key to use when calculating the MagTag for key confirmation).
|
|
|
|
MacKey = H(K || "JPAKE_KC")
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.JPake.JPakeUtilities.ValidateMacTag(System.String,System.String,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Validates the MacTag received from the partner participant.
|
|
|
|
throws CryptoException if the participantId strings are equal.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.Kdf.ConcatenationKdfGenerator">
|
|
Generator for Concatenation Key Derivation Function defined in NIST SP 800-56A, Sect 5.8.1
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Kdf.ConcatenationKdfGenerator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
@param digest the digest to be used as the source of generated bytes
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Agreement.Kdf.ConcatenationKdfGenerator.Digest">
|
|
return the underlying digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Kdf.ConcatenationKdfGenerator.GenerateBytes(System.Byte[],System.Int32,System.Int32)">
|
|
fill len bytes of the output buffer with bytes generated from
|
|
the derivation function.
|
|
|
|
@throws DataLengthException if the out buffer is too small.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.Kdf.DHKekGenerator">
|
|
RFC 2631 Diffie-hellman KEK derivation function.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.Kdf.ECDHKekGenerator">
|
|
X9.63 based key derivation function for ECDH CMS.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.SM2KeyExchange">
|
|
<summary>
|
|
SM2 Key Exchange protocol - based on https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client">
|
|
Implements the client side SRP-6a protocol. Note that this class is stateful, and therefore NOT threadsafe.
|
|
This implementation of SRP is based on the optimized message sequence put forth by Thomas Wu in the paper
|
|
"SRP-6: Improvements and Refinements to the Secure Remote Password Protocol, 2002"
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client.Init(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Security.SecureRandom)">
|
|
Initialises the client to begin new authentication attempt
|
|
@param N The safe prime associated with the client's verifier
|
|
@param g The group parameter associated with the client's verifier
|
|
@param digest The digest algorithm associated with the client's verifier
|
|
@param random For key generation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client.GenerateClientCredentials(System.Byte[],System.Byte[],System.Byte[])">
|
|
Generates client's credentials given the client's salt, identity and password
|
|
@param salt The salt used in the client's verifier.
|
|
@param identity The user's identity (eg. username)
|
|
@param password The user's password
|
|
@return Client's public value to send to server
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client.CalculateSecret(Org.BouncyCastle.Math.BigInteger)">
|
|
Generates client's verification message given the server's credentials
|
|
@param serverB The server's credentials
|
|
@return Client's verification message for the server
|
|
@throws CryptoException If server's credentials are invalid
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client.CalculateClientEvidenceMessage">
|
|
Computes the client evidence message M1 using the previously received values.
|
|
To be called after calculating the secret S.
|
|
@return M1: the client side generated evidence message
|
|
@throws CryptoException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client.VerifyServerEvidenceMessage(Org.BouncyCastle.Math.BigInteger)">
|
|
Authenticates the server evidence message M2 received and saves it only if correct.
|
|
@param M2: the server side generated evidence message
|
|
@return A boolean indicating if the server message M2 was the expected one.
|
|
@throws CryptoException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client.CalculateSessionKey">
|
|
Computes the final session key as a result of the SRP successful mutual authentication
|
|
To be called after verifying the server evidence message M2.
|
|
@return Key: the mutually authenticated symmetric session key
|
|
@throws CryptoException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Server">
|
|
Implements the server side SRP-6a protocol. Note that this class is stateful, and therefore NOT threadsafe.
|
|
This implementation of SRP is based on the optimized message sequence put forth by Thomas Wu in the paper
|
|
"SRP-6: Improvements and Refinements to the Secure Remote Password Protocol, 2002"
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Server.Init(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Security.SecureRandom)">
|
|
Initialises the server to accept a new client authentication attempt
|
|
@param N The safe prime associated with the client's verifier
|
|
@param g The group parameter associated with the client's verifier
|
|
@param v The client's verifier
|
|
@param digest The digest algorithm associated with the client's verifier
|
|
@param random For key generation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Server.GenerateServerCredentials">
|
|
Generates the server's credentials that are to be sent to the client.
|
|
@return The server's public value to the client
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Server.CalculateSecret(Org.BouncyCastle.Math.BigInteger)">
|
|
Processes the client's credentials. If valid the shared secret is generated and returned.
|
|
@param clientA The client's credentials
|
|
@return A shared secret BigInteger
|
|
@throws CryptoException If client's credentials are invalid
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Server.VerifyClientEvidenceMessage(Org.BouncyCastle.Math.BigInteger)">
|
|
Authenticates the received client evidence message M1 and saves it only if correct.
|
|
To be called after calculating the secret S.
|
|
@param M1: the client side generated evidence message
|
|
@return A boolean indicating if the client message M1 was the expected one.
|
|
@throws CryptoException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Server.CalculateServerEvidenceMessage">
|
|
Computes the server evidence message M2 using the previously verified values.
|
|
To be called after successfully verifying the client evidence message M1.
|
|
@return M2: the server side generated evidence message
|
|
@throws CryptoException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Server.CalculateSessionKey">
|
|
Computes the final session key as a result of the SRP successful mutual authentication
|
|
To be called after calculating the server evidence message M2.
|
|
@return Key: the mutual authenticated symmetric session key
|
|
@throws CryptoException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Utilities.CalculateM1(Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Computes the client evidence message (M1) according to the standard routine:
|
|
M1 = H( A | B | S )
|
|
@param digest The Digest used as the hashing function H
|
|
@param N Modulus used to get the pad length
|
|
@param A The public client value
|
|
@param B The public server value
|
|
@param S The secret calculated by both sides
|
|
@return M1 The calculated client evidence message
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Utilities.CalculateM2(Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Computes the server evidence message (M2) according to the standard routine:
|
|
M2 = H( A | M1 | S )
|
|
@param digest The Digest used as the hashing function H
|
|
@param N Modulus used to get the pad length
|
|
@param A The public client value
|
|
@param M1 The client evidence message
|
|
@param S The secret calculated by both sides
|
|
@return M2 The calculated server evidence message
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Utilities.CalculateKey(Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Computes the final Key according to the standard routine: Key = H(S)
|
|
@param digest The Digest used as the hashing function H
|
|
@param N Modulus used to get the pad length
|
|
@param S The secret calculated by both sides
|
|
@return
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6VerifierGenerator">
|
|
Generates new SRP verifier for user
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6VerifierGenerator.Init(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Crypto.IDigest)">
|
|
Initialises generator to create new verifiers
|
|
@param N The safe prime to use (see DHParametersGenerator)
|
|
@param g The group parameter to use (see DHParametersGenerator)
|
|
@param digest The digest to use. The same digest type will need to be used later for the actual authentication
|
|
attempt. Also note that the final session key size is dependent on the chosen digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Agreement.Srp.Srp6VerifierGenerator.GenerateVerifier(System.Byte[],System.Byte[],System.Byte[])">
|
|
Creates a new SRP verifier
|
|
@param salt The salt to use, generally should be large and random
|
|
@param identity The user's identifying information (eg. username)
|
|
@param password The user's password
|
|
@return A new verifier for use in future SRP authentication
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair">
|
|
a holding class for public/private parameter pairs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
basic constructor.
|
|
|
|
@param publicParam a public key parameters object.
|
|
@param privateParam the corresponding private key parameters.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair.Public">
|
|
return the public key parameters.
|
|
|
|
@return the public key parameters.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair.Private">
|
|
return the private key parameters.
|
|
|
|
@return the private key parameters.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher">
|
|
The AEAD block ciphers already handle buffering internally, so this class
|
|
just takes care of implementing IBufferedCipher methods.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the cipher.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.GetBlockSize">
|
|
return the blocksize for the underlying cipher.
|
|
|
|
@return the blocksize for the underlying cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.GetUpdateOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update
|
|
an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.GetOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update plus a
|
|
doFinal with an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update and doFinal
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
process a single byte, producing an output block if necessary.
|
|
|
|
@param in the input byte.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
process an array of bytes, producing output if necessary.
|
|
|
|
@param in the input byte array.
|
|
@param inOff the offset at which the input data starts.
|
|
@param len the number of bytes to be copied out of the input array.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.DoFinal(System.Byte[],System.Int32)">
|
|
Process the last block in the buffer.
|
|
|
|
@param out the array the block currently being held is copied into.
|
|
@param outOff the offset at which the copying starts.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there is insufficient space in out for
|
|
the output, or the input is not block size aligned and should be.
|
|
@exception InvalidOperationException if the underlying cipher is not
|
|
initialised.
|
|
@exception InvalidCipherTextException if padding is expected and not found.
|
|
@exception DataLengthException if the input is not block size
|
|
aligned.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.Reset">
|
|
Reset the buffer and cipher. After resetting the object is in the same
|
|
state as it was after the last init (if there was one).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.BufferedAeadCipher">
|
|
The AEAD ciphers already handle buffering internally, so this class
|
|
just takes care of implementing IBufferedCipher methods.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the cipher.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.GetBlockSize">
|
|
return the blocksize for the underlying cipher.
|
|
|
|
@return the blocksize for the underlying cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.GetUpdateOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update
|
|
an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.GetOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update plus a
|
|
doFinal with an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update and doFinal
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
process a single byte, producing an output block if necessary.
|
|
|
|
@param in the input byte.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
process an array of bytes, producing output if necessary.
|
|
|
|
@param in the input byte array.
|
|
@param inOff the offset at which the input data starts.
|
|
@param len the number of bytes to be copied out of the input array.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.DoFinal(System.Byte[],System.Int32)">
|
|
Process the last block in the buffer.
|
|
|
|
@param out the array the block currently being held is copied into.
|
|
@param outOff the offset at which the copying starts.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there is insufficient space in out for
|
|
the output, or the input is not block size aligned and should be.
|
|
@exception InvalidOperationException if the underlying cipher is not
|
|
initialised.
|
|
@exception InvalidCipherTextException if padding is expected and not found.
|
|
@exception DataLengthException if the input is not block size
|
|
aligned.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAeadCipher.Reset">
|
|
Reset the buffer and cipher. After resetting the object is in the same
|
|
state as it was after the last init (if there was one).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.BufferedAsymmetricBlockCipher">
|
|
a buffer wrapper for an asymmetric block cipher, allowing input
|
|
to be accumulated in a piecemeal fashion until final processing.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAsymmetricBlockCipher.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher)">
|
|
base constructor.
|
|
|
|
@param cipher the cipher this buffering object wraps.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAsymmetricBlockCipher.GetBufferPosition">
|
|
return the amount of data sitting in the buffer.
|
|
|
|
@return the amount of data sitting in the buffer.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAsymmetricBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the buffer and the underlying cipher.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAsymmetricBlockCipher.DoFinal">
|
|
process the contents of the buffer using the underlying
|
|
cipher.
|
|
|
|
@return the result of the encryption/decryption process on the
|
|
buffer.
|
|
@exception InvalidCipherTextException if we are given a garbage block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedAsymmetricBlockCipher.Reset">
|
|
<summary>Reset the buffer</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.BufferedBlockCipher">
|
|
A wrapper class that allows block ciphers to be used to process data in
|
|
a piecemeal fashion. The BufferedBlockCipher outputs a block only when the
|
|
buffer is full and more data is being added, or on a doFinal.
|
|
<p>
|
|
Note: in the case where the underlying cipher is either a CFB cipher or an
|
|
OFB one the last block may not be a multiple of the block size.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.#ctor">
|
|
constructor for subclasses
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Create a buffered block cipher without padding.
|
|
|
|
@param cipher the underlying block cipher this buffering object wraps.
|
|
false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the cipher.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.GetBlockSize">
|
|
return the blocksize for the underlying cipher.
|
|
|
|
@return the blocksize for the underlying cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.GetUpdateOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update
|
|
an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.GetOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update plus a
|
|
doFinal with an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update and doFinal
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
process a single byte, producing an output block if necessary.
|
|
|
|
@param in the input byte.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
process an array of bytes, producing output if necessary.
|
|
|
|
@param in the input byte array.
|
|
@param inOff the offset at which the input data starts.
|
|
@param len the number of bytes to be copied out of the input array.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.DoFinal(System.Byte[],System.Int32)">
|
|
Process the last block in the buffer.
|
|
|
|
@param out the array the block currently being held is copied into.
|
|
@param outOff the offset at which the copying starts.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there is insufficient space in out for
|
|
the output, or the input is not block size aligned and should be.
|
|
@exception InvalidOperationException if the underlying cipher is not
|
|
initialised.
|
|
@exception InvalidCipherTextException if padding is expected and not found.
|
|
@exception DataLengthException if the input is not block size
|
|
aligned.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.BufferedBlockCipher.Reset">
|
|
Reset the buffer and cipher. After resetting the object is in the same
|
|
state as it was after the last init (if there was one).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.CipherKeyGenerator">
|
|
The base class for symmetric, or secret, cipher key generators.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.CipherKeyGenerator.Init(Org.BouncyCastle.Crypto.KeyGenerationParameters)">
|
|
initialise the key generator.
|
|
|
|
@param param the parameters to be used for key generation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.CipherKeyGenerator.GenerateKey">
|
|
Generate a secret key.
|
|
|
|
@return a byte array containing the key value.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.DataLengthException">
|
|
this exception is thrown if a buffer that is meant to have output
|
|
copied into it turns out to be too short, or if we've been given
|
|
insufficient input. In general this exception will Get thrown rather
|
|
than an ArrayOutOfBounds exception.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.DataLengthException.#ctor">
|
|
base constructor.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.DataLengthException.#ctor(System.String)">
|
|
create a DataLengthException with the given message.
|
|
|
|
@param message the message to be carried with the exception.
|
|
</member>
|
|
<!-- Badly formed XML comment ignored for member "T:Org.BouncyCastle.Crypto.Digests.Blake2bDigest" -->
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.#ctor(System.Int32)">
|
|
Basic sized constructor - size in bits.
|
|
|
|
@param digestSize size of the digest in bits
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.#ctor(System.Byte[])">
|
|
Blake2b for authentication ("Prefix-MAC mode").
|
|
After calling the doFinal() method, the key will
|
|
remain to be used for further computations of
|
|
this instance.
|
|
The key can be overwritten using the clearKey() method.
|
|
|
|
@param key A key up to 64 bytes or null
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.#ctor(System.Byte[],System.Int32,System.Byte[],System.Byte[])">
|
|
Blake2b with key, required digest length (in bytes), salt and personalization.
|
|
After calling the doFinal() method, the key, the salt and the personal string
|
|
will remain and might be used for further computations with this instance.
|
|
The key can be overwritten using the clearKey() method, the salt (pepper)
|
|
can be overwritten using the clearSalt() method.
|
|
|
|
@param key A key up to 64 bytes or null
|
|
@param digestLength from 1 up to 64 bytes
|
|
@param salt 16 bytes or null
|
|
@param personalization 16 bytes or null
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.Update(System.Byte)">
|
|
update the message digest with a single byte.
|
|
|
|
@param b the input byte to be entered.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the message digest with a block of bytes.
|
|
|
|
@param message the byte array containing the data.
|
|
@param offset the offset into the byte array where the data starts.
|
|
@param len the length of the data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.DoFinal(System.Byte[],System.Int32)">
|
|
close the digest, producing the final digest value. The doFinal
|
|
call leaves the digest reset.
|
|
Key, salt and personal string remain.
|
|
|
|
@param out the array the digest is to be copied into.
|
|
@param outOffset the offset into the out array the digest is to start at.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.Reset">
|
|
Reset the digest back to it's initial state.
|
|
The key, the salt and the personal string will
|
|
remain for further computations.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.AlgorithmName">
|
|
return the algorithm name
|
|
|
|
@return the algorithm name
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.GetDigestSize">
|
|
return the size, in bytes, of the digest produced by this message digest.
|
|
|
|
@return the size, in bytes, of the digest produced by this message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.GetByteLength">
|
|
Return the size in bytes of the internal buffer the digest applies it's compression
|
|
function to.
|
|
|
|
@return byte length of the digests internal buffer.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.ClearKey">
|
|
Overwrite the key
|
|
if it is no longer used (zeroization)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2bDigest.ClearSalt">
|
|
Overwrite the salt (pepper) if it
|
|
is secret and no longer used (zeroization)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Blake2sDigest">
|
|
Implementation of the cryptographic hash function BLAKE2s.
|
|
<p/>
|
|
BLAKE2s offers a built-in keying mechanism to be used directly
|
|
for authentication ("Prefix-MAC") rather than a HMAC construction.
|
|
<p/>
|
|
BLAKE2s offers a built-in support for a salt for randomized hashing
|
|
and a personal string for defining a unique hash function for each application.
|
|
<p/>
|
|
BLAKE2s is optimized for 32-bit platforms and produces digests of any size
|
|
between 1 and 32 bytes.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.blake2s_IV">
|
|
BLAKE2s Initialization Vector
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.blake2s_sigma">
|
|
Message word permutations
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.buffer">
|
|
Whenever this buffer overflows, it will be processed in the Compress()
|
|
function. For performance issues, long messages will not use this buffer.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.bufferPos">
|
|
Position of last inserted byte
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.internalState">
|
|
Internal state, in the BLAKE2 paper it is called v
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.chainValue">
|
|
State vector, in the BLAKE2 paper it is called h
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.t0">
|
|
holds least significant bits of counter
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.t1">
|
|
holds most significant bits of counter
|
|
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.f0">
|
|
finalization flag, for last block: ~0
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.#ctor">
|
|
BLAKE2s-256 for hashing.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.#ctor(System.Int32)">
|
|
BLAKE2s for hashing.
|
|
|
|
@param digestBits the desired digest length in bits. Must be a multiple of 8 and less than 256.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.#ctor(System.Byte[])">
|
|
BLAKE2s for authentication ("Prefix-MAC mode").
|
|
<p/>
|
|
After calling the doFinal() method, the key will remain to be used for
|
|
further computations of this instance. The key can be overwritten using
|
|
the clearKey() method.
|
|
|
|
@param key a key up to 32 bytes or null
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.#ctor(System.Byte[],System.Int32,System.Byte[],System.Byte[])">
|
|
BLAKE2s with key, required digest length, salt and personalization.
|
|
<p/>
|
|
After calling the doFinal() method, the key, the salt and the personal
|
|
string will remain and might be used for further computations with this
|
|
instance. The key can be overwritten using the clearKey() method, the
|
|
salt (pepper) can be overwritten using the clearSalt() method.
|
|
|
|
@param key a key up to 32 bytes or null
|
|
@param digestBytes from 1 up to 32 bytes
|
|
@param salt 8 bytes or null
|
|
@param personalization 8 bytes or null
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.Update(System.Byte)">
|
|
Update the message digest with a single byte.
|
|
|
|
@param b the input byte to be entered.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
Update the message digest with a block of bytes.
|
|
|
|
@param message the byte array containing the data.
|
|
@param offset the offset into the byte array where the data starts.
|
|
@param len the length of the data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.DoFinal(System.Byte[],System.Int32)">
|
|
Close the digest, producing the final digest value. The doFinal() call
|
|
leaves the digest reset. Key, salt and personal string remain.
|
|
|
|
@param out the array the digest is to be copied into.
|
|
@param outOffset the offset into the out array the digest is to start at.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.Reset">
|
|
Reset the digest back to its initial state. The key, the salt and the
|
|
personal string will remain for further computations.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.AlgorithmName">
|
|
Return the algorithm name.
|
|
|
|
@return the algorithm name
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.GetDigestSize">
|
|
Return the size in bytes of the digest produced by this message digest.
|
|
|
|
@return the size in bytes of the digest produced by this message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.GetByteLength">
|
|
Return the size in bytes of the internal buffer the digest applies its
|
|
compression function to.
|
|
|
|
@return byte length of the digest's internal buffer.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.ClearKey">
|
|
Overwrite the key if it is no longer used (zeroization).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Blake2sDigest.ClearSalt">
|
|
Overwrite the salt (pepper) if it is secret and no longer used
|
|
(zeroization).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Dstu7564Digest">
|
|
implementation of Ukrainian DSTU 7564 hash function
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.GeneralDigest">
|
|
base implementation of MD4 family style digest as outlined in
|
|
"Handbook of Applied Cryptography", pages 344 - 347.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Gost3411Digest">
|
|
implementation of GOST R 34.11-94
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Gost3411Digest.#ctor">
|
|
Standard constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Gost3411Digest.#ctor(System.Byte[])">
|
|
Constructor to allow use of a particular sbox with GOST28147
|
|
@see GOST28147Engine#getSBox(String)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Gost3411Digest.#ctor(Org.BouncyCastle.Crypto.Digests.Gost3411Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.Gost3411Digest.C2">
|
|
reset the chaining variables to the IV values.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.KeccakDigest">
|
|
<summary>
|
|
Implementation of Keccak based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
|
|
</summary>
|
|
<remarks>
|
|
Following the naming conventions used in the C source code to enable easy review of the implementation.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.KeccakDigest.GetByteLength">
|
|
Return the size of block that the compression function is applied to in bytes.
|
|
|
|
@return internal byte length of a block.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.LongDigest">
|
|
Base class for SHA-384 and SHA-512.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.LongDigest.#ctor">
|
|
Constructor for variable length word
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.LongDigest.#ctor(Org.BouncyCastle.Crypto.Digests.LongDigest)">
|
|
Copy constructor. We are using copy constructors in place
|
|
of the object.Clone() interface as this interface is not
|
|
supported by J2ME.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.LongDigest.AdjustByteCounts">
|
|
adjust the byte counts so that byteCount2 represents the
|
|
upper long (less 3 bits) word of the byte count.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.MD2Digest">
|
|
implementation of MD2
|
|
as outlined in RFC1319 by B.Kaliski from RSA Laboratories April 1992
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Digests.MD2Digest.AlgorithmName">
|
|
return the algorithm name
|
|
|
|
@return the algorithm name
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD2Digest.DoFinal(System.Byte[],System.Int32)">
|
|
Close the digest, producing the final digest value. The doFinal
|
|
call leaves the digest reset.
|
|
|
|
@param out the array the digest is to be copied into.
|
|
@param outOff the offset into the out array the digest is to start at.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD2Digest.Reset">
|
|
reset the digest back to it's initial state.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD2Digest.Update(System.Byte)">
|
|
update the message digest with a single byte.
|
|
|
|
@param in the input byte to be entered.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD2Digest.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the message digest with a block of bytes.
|
|
|
|
@param in the byte array containing the data.
|
|
@param inOff the offset into the byte array where the data starts.
|
|
@param len the length of the data.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.MD4Digest">
|
|
implementation of MD4 as RFC 1320 by R. Rivest, MIT Laboratory for
|
|
Computer Science and RSA Data Security, Inc.
|
|
<p>
|
|
<b>NOTE</b>: This algorithm is only included for backwards compatibility
|
|
with legacy applications, it's not secure, don't use it for anything new!</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD4Digest.#ctor">
|
|
Standard constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD4Digest.#ctor(Org.BouncyCastle.Crypto.Digests.MD4Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD4Digest.Reset">
|
|
reset the chaining variables to the IV values.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.MD5Digest">
|
|
implementation of MD5 as outlined in "Handbook of Applied Cryptography", pages 346 - 347.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD5Digest.#ctor(Org.BouncyCastle.Crypto.Digests.MD5Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.MD5Digest.Reset">
|
|
reset the chaining variables to the IV values.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.NonMemoableDigest">
|
|
Wrapper removes exposure to the IMemoable interface on an IDigest implementation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.NonMemoableDigest.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Base constructor.
|
|
|
|
@param baseDigest underlying digest to use.
|
|
@exception IllegalArgumentException if baseDigest is null
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.RipeMD128Digest">
|
|
implementation of RipeMD128
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD128Digest.#ctor">
|
|
Standard constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD128Digest.#ctor(Org.BouncyCastle.Crypto.Digests.RipeMD128Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD128Digest.Reset">
|
|
reset the chaining variables to the IV values.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.RipeMD160Digest">
|
|
implementation of RipeMD see,
|
|
http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD160Digest.#ctor">
|
|
Standard constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD160Digest.#ctor(Org.BouncyCastle.Crypto.Digests.RipeMD160Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD160Digest.Reset">
|
|
reset the chaining variables to the IV values.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.RipeMD256Digest">
|
|
<remarks>
|
|
<p>Implementation of RipeMD256.</p>
|
|
<p><b>Note:</b> this algorithm offers the same level of security as RipeMD128.</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD256Digest.#ctor">
|
|
<summary> Standard constructor</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD256Digest.#ctor(Org.BouncyCastle.Crypto.Digests.RipeMD256Digest)">
|
|
<summary> Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD256Digest.Reset">
|
|
<summary> reset the chaining variables to the IV values.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.RipeMD320Digest">
|
|
<remarks>
|
|
<p>Implementation of RipeMD 320.</p>
|
|
<p><b>Note:</b> this algorithm offers the same level of security as RipeMD160.</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD320Digest.#ctor">
|
|
<summary> Standard constructor</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD320Digest.#ctor(Org.BouncyCastle.Crypto.Digests.RipeMD320Digest)">
|
|
<summary> Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.RipeMD320Digest.Reset">
|
|
<summary> reset the chaining variables to the IV values.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Sha1Digest">
|
|
implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349.
|
|
|
|
It is interesting to ponder why the, apart from the extra IV, the other difference here from MD5
|
|
is the "endianness" of the word processing!
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha1Digest.#ctor(Org.BouncyCastle.Crypto.Digests.Sha1Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha1Digest.Reset">
|
|
reset the chaining variables
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Sha224Digest">
|
|
SHA-224 as described in RFC 3874
|
|
<pre>
|
|
block word digest
|
|
SHA-1 512 32 160
|
|
SHA-224 512 32 224
|
|
SHA-256 512 32 256
|
|
SHA-384 1024 64 384
|
|
SHA-512 1024 64 512
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha224Digest.#ctor">
|
|
Standard constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha224Digest.#ctor(Org.BouncyCastle.Crypto.Digests.Sha224Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha224Digest.Reset">
|
|
reset the chaining variables
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Sha256Digest">
|
|
Draft FIPS 180-2 implementation of SHA-256. <b>Note:</b> As this is
|
|
based on a draft this implementation is subject to change.
|
|
|
|
<pre>
|
|
block word digest
|
|
SHA-1 512 32 160
|
|
SHA-256 512 32 256
|
|
SHA-384 1024 64 384
|
|
SHA-512 1024 64 512
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha256Digest.#ctor(Org.BouncyCastle.Crypto.Digests.Sha256Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha256Digest.Reset">
|
|
reset the chaining variables
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Sha384Digest">
|
|
Draft FIPS 180-2 implementation of SHA-384. <b>Note:</b> As this is
|
|
based on a draft this implementation is subject to change.
|
|
|
|
<pre>
|
|
block word digest
|
|
SHA-1 512 32 160
|
|
SHA-256 512 32 256
|
|
SHA-384 1024 64 384
|
|
SHA-512 1024 64 512
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha384Digest.#ctor(Org.BouncyCastle.Crypto.Digests.Sha384Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha384Digest.Reset">
|
|
reset the chaining variables
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Sha3Digest">
|
|
<summary>
|
|
Implementation of SHA-3 based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
|
|
</summary>
|
|
<remarks>
|
|
Following the naming conventions used in the C source code to enable easy review of the implementation.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Sha512Digest">
|
|
Draft FIPS 180-2 implementation of SHA-512. <b>Note:</b> As this is
|
|
based on a draft this implementation is subject to change.
|
|
|
|
<pre>
|
|
block word digest
|
|
SHA-1 512 32 160
|
|
SHA-256 512 32 256
|
|
SHA-384 1024 64 384
|
|
SHA-512 1024 64 512
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha512Digest.#ctor(Org.BouncyCastle.Crypto.Digests.Sha512Digest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha512Digest.Reset">
|
|
reset the chaining variables
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.Sha512tDigest">
|
|
FIPS 180-4 implementation of SHA-512/t
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha512tDigest.#ctor(System.Int32)">
|
|
Standard constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha512tDigest.#ctor(Org.BouncyCastle.Crypto.Digests.Sha512tDigest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.Sha512tDigest.Reset">
|
|
reset the chaining variables
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.ShakeDigest">
|
|
<summary>
|
|
Implementation of SHAKE based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
|
|
</summary>
|
|
<remarks>
|
|
Following the naming conventions used in the C source code to enable easy review of the implementation.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.ShortenedDigest">
|
|
Wrapper class that reduces the output length of a particular digest to
|
|
only the first n bytes of the digest function.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.ShortenedDigest.#ctor(Org.BouncyCastle.Crypto.IDigest,System.Int32)">
|
|
Base constructor.
|
|
|
|
@param baseDigest underlying digest to use.
|
|
@param length length in bytes of the output of doFinal.
|
|
@exception ArgumentException if baseDigest is null, or length is greater than baseDigest.GetDigestSize().
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.SkeinDigest">
|
|
<summary>
|
|
Implementation of the Skein parameterised hash function in 256, 512 and 1024 bit block sizes,
|
|
based on the <see cref="T:Org.BouncyCastle.Crypto.Engines.ThreefishEngine">Threefish</see> tweakable block cipher.
|
|
</summary>
|
|
<remarks>
|
|
This is the 1.3 version of Skein defined in the Skein hash function submission to the NIST SHA-3
|
|
competition in October 2010.
|
|
<p/>
|
|
Skein was designed by Niels Ferguson - Stefan Lucks - Bruce Schneier - Doug Whiting - Mihir
|
|
Bellare - Tadayoshi Kohno - Jon Callas - Jesse Walker.
|
|
</remarks>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Digests.SkeinEngine"/>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinDigest.SKEIN_256">
|
|
<summary>
|
|
256 bit block size - Skein-256
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinDigest.SKEIN_512">
|
|
<summary>
|
|
512 bit block size - Skein-512
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinDigest.SKEIN_1024">
|
|
<summary>
|
|
1024 bit block size - Skein-1024
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinDigest.#ctor(System.Int32,System.Int32)">
|
|
<summary>
|
|
Constructs a Skein digest with an internal state size and output size.
|
|
</summary>
|
|
<param name="stateSizeBits">the internal state size in bits - one of <see cref="F:Org.BouncyCastle.Crypto.Digests.SkeinDigest.SKEIN_256"/> <see cref="F:Org.BouncyCastle.Crypto.Digests.SkeinDigest.SKEIN_512"/> or
|
|
<see cref="F:Org.BouncyCastle.Crypto.Digests.SkeinDigest.SKEIN_1024"/>.</param>
|
|
<param name="digestSizeBits">the output/digest size to produce in bits, which must be an integral number of
|
|
bytes.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinDigest.Init(Org.BouncyCastle.Crypto.Parameters.SkeinParameters)">
|
|
<summary>
|
|
Optionally initialises the Skein digest with the provided parameters.
|
|
</summary>
|
|
See <see cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"></see> for details on the parameterisation of the Skein hash function.
|
|
<param name="parameters">the parameters to apply to this engine, or <code>null</code> to use no parameters.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.SkeinEngine">
|
|
<summary>
|
|
Implementation of the Skein family of parameterised hash functions in 256, 512 and 1024 bit block
|
|
sizes, based on the <see cref="T:Org.BouncyCastle.Crypto.Engines.ThreefishEngine">Threefish</see> tweakable block cipher.
|
|
</summary>
|
|
<remarks>
|
|
This is the 1.3 version of Skein defined in the Skein hash function submission to the NIST SHA-3
|
|
competition in October 2010.
|
|
<p/>
|
|
Skein was designed by Niels Ferguson - Stefan Lucks - Bruce Schneier - Doug Whiting - Mihir
|
|
Bellare - Tadayoshi Kohno - Jon Callas - Jesse Walker.
|
|
<p/>
|
|
This implementation is the basis for <see cref="T:Org.BouncyCastle.Crypto.Digests.SkeinDigest"/> and <see cref="T:Org.BouncyCastle.Crypto.Macs.SkeinMac"/>, implementing the
|
|
parameter based configuration system that allows Skein to be adapted to multiple applications. <br/>
|
|
Initialising the engine with <see cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"/> allows standard and arbitrary parameters to
|
|
be applied during the Skein hash function.
|
|
<p/>
|
|
Implemented:
|
|
<ul>
|
|
<li>256, 512 and 1024 bit internal states.</li>
|
|
<li>Full 96 bit input length.</li>
|
|
<li>Parameters defined in the Skein specification, and arbitrary other pre and post message
|
|
parameters.</li>
|
|
<li>Arbitrary output size in 1 byte intervals.</li>
|
|
</ul>
|
|
<p/>
|
|
Not implemented:
|
|
<ul>
|
|
<li>Sub-byte length input (bit padding).</li>
|
|
<li>Tree hashing.</li>
|
|
</ul>
|
|
</remarks>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.SKEIN_256">
|
|
<summary>
|
|
256 bit block size - Skein-256
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.SKEIN_512">
|
|
<summary>
|
|
512 bit block size - Skein-512
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.SKEIN_1024">
|
|
<summary>
|
|
1024 bit block size - Skein-1024
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.PARAM_TYPE_KEY">
|
|
The parameter type for the Skein key.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.PARAM_TYPE_CONFIG">
|
|
The parameter type for the Skein configuration block.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.PARAM_TYPE_MESSAGE">
|
|
The parameter type for the message.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.PARAM_TYPE_OUTPUT">
|
|
The parameter type for the output transformation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.INITIAL_STATES">
|
|
Precalculated UBI(CFG) states for common state/output combinations without key or other
|
|
pre-message params.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UbiTweak.LOW_RANGE">
|
|
Point at which position might overflow long, so switch to add with carry logic
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UbiTweak.T1_FINAL">
|
|
Bit 127 = final
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UbiTweak.T1_FIRST">
|
|
Bit 126 = first
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UbiTweak.tweak">
|
|
UBI uses a 128 bit tweak
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UbiTweak.extendedPosition">
|
|
Whether 64 bit position exceeded
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UbiTweak.AdvancePosition(System.Int32)">
|
|
Advances the position in the tweak by the specified value.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UBI">
|
|
The Unique Block Iteration chaining mode.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UBI.currentBlock">
|
|
Buffer for the current block of message data
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UBI.currentOffset">
|
|
Offset into the current message block
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.UBI.message">
|
|
Buffer for message words for feedback into encrypted block
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.threefish">
|
|
Underlying Threefish tweakable block cipher
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.outputSizeBytes">
|
|
Size of the digest output, in bytes
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.chain">
|
|
The current chaining/state value
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.initialState">
|
|
The initial state value
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.key">
|
|
The (optional) key parameter
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.preMessageParameters">
|
|
Parameters to apply prior to the message
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.postMessageParameters">
|
|
Parameters to apply after the message, but prior to output
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.ubi">
|
|
The current UBI operation
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.singleByte">
|
|
Buffer for single byte update method
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinEngine.#ctor(System.Int32,System.Int32)">
|
|
<summary>
|
|
Constructs a Skein digest with an internal state size and output size.
|
|
</summary>
|
|
<param name="blockSizeBits">the internal state size in bits - one of <see cref="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.SKEIN_256"/> <see cref="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.SKEIN_512"/> or
|
|
<see cref="F:Org.BouncyCastle.Crypto.Digests.SkeinEngine.SKEIN_1024"/>.</param>
|
|
<param name="outputSizeBits">the output/digest size to produce in bits, which must be an integral number of
|
|
bytes.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinEngine.#ctor(Org.BouncyCastle.Crypto.Digests.SkeinEngine)">
|
|
<summary>
|
|
Creates a SkeinEngine as an exact copy of an existing instance.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinEngine.Init(Org.BouncyCastle.Crypto.Parameters.SkeinParameters)">
|
|
<summary>
|
|
Initialises the Skein engine with the provided parameters. See <see cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"/> for
|
|
details on the parameterisation of the Skein hash function.
|
|
</summary>
|
|
<param name="parameters">the parameters to apply to this engine, or <code>null</code> to use no parameters.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinEngine.CreateInitialState">
|
|
Calculate the initial (pre message block) chaining state.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SkeinEngine.Reset">
|
|
<summary>
|
|
Reset the engine to the initial state (with the key and any pre-message parameters , ready to
|
|
accept message input.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.SM3Digest">
|
|
<summary>
|
|
Implementation of Chinese SM3 digest as described at
|
|
http://tools.ietf.org/html/draft-shen-sm3-hash-00
|
|
and at .... ( Chinese PDF )
|
|
</summary>
|
|
<remarks>
|
|
The specification says "process a bit stream",
|
|
but this is written to process bytes in blocks of 4,
|
|
meaning this will process 32-bit word groups.
|
|
But so do also most other digest specifications,
|
|
including the SHA-256 which was a origin for
|
|
this specification.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SM3Digest.#ctor">
|
|
<summary>
|
|
Standard constructor
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SM3Digest.#ctor(Org.BouncyCastle.Crypto.Digests.SM3Digest)">
|
|
<summary>
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.SM3Digest.Reset">
|
|
<summary>
|
|
reset the chaining variables
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.TigerDigest">
|
|
implementation of Tiger based on:
|
|
<a href="http://www.cs.technion.ac.il/~biham/Reports/Tiger">
|
|
http://www.cs.technion.ac.il/~biham/Reports/Tiger</a>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.TigerDigest.#ctor">
|
|
Standard constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.TigerDigest.#ctor(Org.BouncyCastle.Crypto.Digests.TigerDigest)">
|
|
Copy constructor. This will copy the state of the provided
|
|
message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.TigerDigest.Reset">
|
|
reset the chaining variables
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Digests.WhirlpoolDigest">
|
|
Implementation of WhirlpoolDigest, based on Java source published by Barreto
|
|
and Rijmen.
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.WhirlpoolDigest.#ctor(Org.BouncyCastle.Crypto.Digests.WhirlpoolDigest)">
|
|
Copy constructor. This will copy the state of the provided message
|
|
digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Digests.WhirlpoolDigest.Reset">
|
|
Reset the chaining variables
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.EC.CustomNamedCurves.GetByOid(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the X9ECParameters object for the named curve represented by
|
|
the passed in object identifier. Null if the curve isn't present.
|
|
|
|
@param oid an object identifier representing a named curve, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.EC.CustomNamedCurves.GetOid(System.String)">
|
|
return the object identifier signified by the passed in name. Null
|
|
if there is no object identifier associated with name.
|
|
|
|
@return the object identifier associated with name, if present.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.EC.CustomNamedCurves.GetName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
return the named curve name represented by the given object identifier.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.EC.CustomNamedCurves.Names">
|
|
returns an enumeration containing the name strings for curves
|
|
contained in this structure.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Encodings.ISO9796d1Encoding">
|
|
ISO 9796-1 padding. Note in the light of recent results you should
|
|
only use this with RSA (rather than the "simpler" Rabin keys) and you
|
|
should never use it with anything other than a hash (ie. even if the
|
|
message is small don't sign the message, sign it's hash) or some "random"
|
|
value. See your favorite search engine for details.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.ISO9796d1Encoding.GetInputBlockSize">
|
|
return the input block size. The largest message we can process
|
|
is (key_size_in_bits + 3)/16, which in our world comes to
|
|
key_size_in_bytes / 2.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.ISO9796d1Encoding.GetOutputBlockSize">
|
|
return the maximum possible size for the output.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.ISO9796d1Encoding.SetPadBits(System.Int32)">
|
|
set the number of bits in the next message to be treated as
|
|
pad bits.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.ISO9796d1Encoding.GetPadBits">
|
|
retrieve the number of pad bits in the last decoded message.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.ISO9796d1Encoding.DecodeBlock(System.Byte[],System.Int32,System.Int32)">
|
|
@exception InvalidCipherTextException if the decrypted block is not a valid ISO 9796 bit string
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Encodings.OaepEncoding">
|
|
Optimal Asymmetric Encryption Padding (OAEP) - see PKCS 1 V 2.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.OaepEncoding.DecodeBlock(System.Byte[],System.Int32,System.Int32)">
|
|
@exception InvalidCipherTextException if the decrypted block turns out to
|
|
be badly formatted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.OaepEncoding.ItoOSP(System.Int32,System.Byte[])">
|
|
int to octet string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.OaepEncoding.maskGeneratorFunction1(System.Byte[],System.Int32,System.Int32,System.Int32)">
|
|
mask generator function, as described in PKCS1v2.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding">
|
|
this does your basic Pkcs 1 v1.5 padding - whether or not you should be using this
|
|
depends on your application - see Pkcs1 Version 2 for details.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.StrictLengthEnabledProperty">
|
|
some providers fail to include the leading zero in PKCS1 encoded blocks. If you need to
|
|
work with one of these set the system property Org.BouncyCastle.Pkcs1.Strict to false.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.StrictLengthEnabled">
|
|
The same effect can be achieved by setting the static property directly
|
|
<p>
|
|
The static property is checked during construction of the encoding object, it is set to
|
|
true by default.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher)">
|
|
Basic constructor.
|
|
|
|
@param cipher
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,System.Int32)">
|
|
Constructor for decryption with a fixed plaintext length.
|
|
|
|
@param cipher The cipher to use for cryptographic operation.
|
|
@param pLen Length of the expected plaintext.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,System.Byte[])">
|
|
Constructor for decryption with a fixed plaintext length and a fallback
|
|
value that is returned, if the padding is incorrect.
|
|
|
|
@param cipher
|
|
The cipher to use for cryptographic operation.
|
|
@param fallback
|
|
The fallback value, we don't to a arraycopy here.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.CheckPkcs1Encoding(System.Byte[],System.Int32)">
|
|
Checks if the argument is a correctly PKCS#1.5 encoded Plaintext
|
|
for encryption.
|
|
|
|
@param encoded The Plaintext.
|
|
@param pLen Expected length of the plaintext.
|
|
@return Either 0, if the encoding is correct, or -1, if it is incorrect.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.DecodeBlockOrRandom(System.Byte[],System.Int32,System.Int32)">
|
|
Decode PKCS#1.5 encoding, and return a random value if the padding is not correct.
|
|
|
|
@param in The encrypted block.
|
|
@param inOff Offset in the encrypted block.
|
|
@param inLen Length of the encrypted block.
|
|
@param pLen Length of the desired output.
|
|
@return The plaintext without padding, or a random value if the padding was incorrect.
|
|
@throws InvalidCipherTextException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding.DecodeBlock(System.Byte[],System.Int32,System.Int32)">
|
|
@exception InvalidCipherTextException if the decrypted block is not in Pkcs1 format.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.AesEngine">
|
|
an implementation of the AES (Rijndael), from FIPS-197.
|
|
<p>
|
|
For further details see: <a href="http://csrc.nist.gov/encryption/aes/">http://csrc.nist.gov/encryption/aes/</a>.
|
|
|
|
This implementation is based on optimizations from Dr. Brian Gladman's paper and C code at
|
|
<a href="http://fp.gladman.plus.com/cryptography_technology/rijndael/">http://fp.gladman.plus.com/cryptography_technology/rijndael/</a>
|
|
|
|
There are three levels of tradeoff of speed vs memory
|
|
Because java has no preprocessor, they are written as three separate classes from which to choose
|
|
|
|
The fastest uses 8Kbytes of static tables to precompute round calculations, 4 256 word tables for encryption
|
|
and 4 for decryption.
|
|
|
|
The middle performance version uses only one 256 word table for each, for a total of 2Kbytes,
|
|
adding 12 rotate operations per round to compute the values contained in the other tables from
|
|
the contents of the first.
|
|
|
|
The slowest version uses no static tables at all and computes the values in each round.
|
|
</p>
|
|
<p>
|
|
This file contains the middle performance version with 2Kbytes of static tables for round precomputation.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesEngine.GenerateWorkingKey(System.Byte[],System.Boolean)">
|
|
Calculate the necessary round keys
|
|
The number of calculations depends on key size and block size
|
|
AES specified a fixed block size of 128 bits and key sizes 128/192/256 bits
|
|
This code is written assuming those are the only possible values
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesEngine.#ctor">
|
|
default constructor - 128 bit block size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise an AES cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.AesFastEngine">
|
|
an implementation of the AES (Rijndael)), from FIPS-197.
|
|
<p>
|
|
For further details see: <a href="http://csrc.nist.gov/encryption/aes/">http://csrc.nist.gov/encryption/aes/</a>.
|
|
|
|
This implementation is based on optimizations from Dr. Brian Gladman's paper and C code at
|
|
<a href="http://fp.gladman.plus.com/cryptography_technology/rijndael/">http://fp.gladman.plus.com/cryptography_technology/rijndael/</a>
|
|
|
|
There are three levels of tradeoff of speed vs memory
|
|
Because java has no preprocessor), they are written as three separate classes from which to choose
|
|
|
|
The fastest uses 8Kbytes of static tables to precompute round calculations), 4 256 word tables for encryption
|
|
and 4 for decryption.
|
|
|
|
The middle performance version uses only one 256 word table for each), for a total of 2Kbytes),
|
|
adding 12 rotate operations per round to compute the values contained in the other tables from
|
|
the contents of the first
|
|
|
|
The slowest version uses no static tables at all and computes the values in each round
|
|
</p>
|
|
<p>
|
|
This file contains the fast version with 8Kbytes of static tables for round precomputation
|
|
</p>
|
|
<remarks>
|
|
Unfortunately this class has a few side channel issues.
|
|
In an environment where encryption/decryption may be closely observed it should not be used.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesFastEngine.GenerateWorkingKey(System.Byte[],System.Boolean)">
|
|
Calculate the necessary round keys
|
|
The number of calculations depends on key size and block size
|
|
AES specified a fixed block size of 128 bits and key sizes 128/192/256 bits
|
|
This code is written assuming those are the only possible values
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesFastEngine.#ctor">
|
|
default constructor - 128 bit block size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesFastEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise an AES cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.AesLightEngine">
|
|
an implementation of the AES (Rijndael), from FIPS-197.
|
|
<p>
|
|
For further details see: <a href="http://csrc.nist.gov/encryption/aes/">http://csrc.nist.gov/encryption/aes/</a>.
|
|
|
|
This implementation is based on optimizations from Dr. Brian Gladman's paper and C code at
|
|
<a href="http://fp.gladman.plus.com/cryptography_technology/rijndael/">http://fp.gladman.plus.com/cryptography_technology/rijndael/</a>
|
|
|
|
There are three levels of tradeoff of speed vs memory
|
|
Because java has no preprocessor, they are written as three separate classes from which to choose
|
|
|
|
The fastest uses 8Kbytes of static tables to precompute round calculations, 4 256 word tables for encryption
|
|
and 4 for decryption.
|
|
|
|
The middle performance version uses only one 256 word table for each, for a total of 2Kbytes,
|
|
adding 12 rotate operations per round to compute the values contained in the other tables from
|
|
the contents of the first
|
|
|
|
The slowest version uses no static tables at all and computes the values
|
|
in each round.
|
|
</p>
|
|
<p>
|
|
This file contains the slowest performance version with no static tables
|
|
for round precomputation, but it has the smallest foot print.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesLightEngine.GenerateWorkingKey(System.Byte[],System.Boolean)">
|
|
Calculate the necessary round keys
|
|
The number of calculations depends on key size and block size
|
|
AES specified a fixed block size of 128 bits and key sizes 128/192/256 bits
|
|
This code is written assuming those are the only possible values
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesLightEngine.#ctor">
|
|
default constructor - 128 bit block size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.AesLightEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise an AES cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.AesWrapEngine">
|
|
<remarks>
|
|
An implementation of the AES Key Wrapper from the NIST Key Wrap Specification.
|
|
<p/>
|
|
For further details see: <a href="http://csrc.nist.gov/encryption/kms/key-wrap.pdf">http://csrc.nist.gov/encryption/kms/key-wrap.pdf</a>.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.BlowfishEngine">
|
|
A class that provides Blowfish key encryption operations,
|
|
such as encoding data and generating keys.
|
|
All the algorithms herein are from Applied Cryptography
|
|
and implement a simplified cryptography interface.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.BlowfishEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a Blowfish cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.BlowfishEngine.ProcessTable(System.UInt32,System.UInt32,System.UInt32[])">
|
|
apply the encryption cycle to each value pair in the table.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.BlowfishEngine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
The input will be an exact multiple of our blocksize.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.BlowfishEngine.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Decrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
The input will be an exact multiple of our blocksize.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.CamelliaEngine">
|
|
Camellia - based on RFC 3713.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.CamelliaLightEngine">
|
|
Camellia - based on RFC 3713, smaller implementation, about half the size of CamelliaEngine.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.CamelliaWrapEngine">
|
|
<remarks>
|
|
An implementation of the Camellia key wrapper based on RFC 3657/RFC 3394.
|
|
<p/>
|
|
For further details see: <a href="http://www.ietf.org/rfc/rfc3657.txt">http://www.ietf.org/rfc/rfc3657.txt</a>.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.Cast5Engine">
|
|
A class that provides CAST key encryption operations,
|
|
such as encoding data and generating keys.
|
|
|
|
All the algorithms herein are from the Internet RFC's
|
|
|
|
RFC2144 - Cast5 (64bit block, 40-128bit key)
|
|
RFC2612 - CAST6 (128bit block, 128-256bit key)
|
|
|
|
and implement a simplified cryptography interface.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast5Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a CAST cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast5Engine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
|
|
@param src The plaintext buffer
|
|
@param srcIndex An offset into src
|
|
@param dst The ciphertext buffer
|
|
@param dstIndex An offset into dst
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast5Engine.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Decrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
|
|
@param src The plaintext buffer
|
|
@param srcIndex An offset into src
|
|
@param dst The ciphertext buffer
|
|
@param dstIndex An offset into dst
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast5Engine.F1(System.UInt32,System.UInt32,System.Int32)">
|
|
The first of the three processing functions for the
|
|
encryption and decryption.
|
|
|
|
@param D the input to be processed
|
|
@param Kmi the mask to be used from Km[n]
|
|
@param Kri the rotation value to be used
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast5Engine.F2(System.UInt32,System.UInt32,System.Int32)">
|
|
The second of the three processing functions for the
|
|
encryption and decryption.
|
|
|
|
@param D the input to be processed
|
|
@param Kmi the mask to be used from Km[n]
|
|
@param Kri the rotation value to be used
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast5Engine.F3(System.UInt32,System.UInt32,System.Int32)">
|
|
The third of the three processing functions for the
|
|
encryption and decryption.
|
|
|
|
@param D the input to be processed
|
|
@param Kmi the mask to be used from Km[n]
|
|
@param Kri the rotation value to be used
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast5Engine.CAST_Encipher(System.UInt32,System.UInt32,System.UInt32[])">
|
|
Does the 16 rounds to encrypt the block.
|
|
|
|
@param L0 the LH-32bits of the plaintext block
|
|
@param R0 the RH-32bits of the plaintext block
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.Cast6Engine">
|
|
A class that provides CAST6 key encryption operations,
|
|
such as encoding data and generating keys.
|
|
|
|
All the algorithms herein are from the Internet RFC
|
|
|
|
RFC2612 - CAST6 (128bit block, 128-256bit key)
|
|
|
|
and implement a simplified cryptography interface.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast6Engine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
|
|
@param src The plaintext buffer
|
|
@param srcIndex An offset into src
|
|
@param dst The ciphertext buffer
|
|
@param dstIndex An offset into dst
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast6Engine.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Decrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
|
|
@param src The plaintext buffer
|
|
@param srcIndex An offset into src
|
|
@param dst The ciphertext buffer
|
|
@param dstIndex An offset into dst
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast6Engine.CAST_Encipher(System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32[])">
|
|
Does the 12 quad rounds rounds to encrypt the block.
|
|
|
|
@param A the 00-31 bits of the plaintext block
|
|
@param B the 32-63 bits of the plaintext block
|
|
@param C the 64-95 bits of the plaintext block
|
|
@param D the 96-127 bits of the plaintext block
|
|
@param result the resulting ciphertext
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Cast6Engine.CAST_Decipher(System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32[])">
|
|
Does the 12 quad rounds rounds to decrypt the block.
|
|
|
|
@param A the 00-31 bits of the ciphertext block
|
|
@param B the 32-63 bits of the ciphertext block
|
|
@param C the 64-95 bits of the ciphertext block
|
|
@param D the 96-127 bits of the ciphertext block
|
|
@param result the resulting plaintext
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.ChaCha7539Engine">
|
|
<summary>
|
|
Implementation of Daniel J. Bernstein's ChaCha stream cipher.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ChaCha7539Engine.#ctor">
|
|
<summary>
|
|
Creates a 20 rounds ChaCha engine.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.ChaChaEngine">
|
|
<summary>
|
|
Implementation of Daniel J. Bernstein's ChaCha stream cipher.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ChaChaEngine.#ctor">
|
|
<summary>
|
|
Creates a 20 rounds ChaCha engine.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ChaChaEngine.#ctor(System.Int32)">
|
|
<summary>
|
|
Creates a ChaCha engine with a specific number of rounds.
|
|
</summary>
|
|
<param name="rounds">the number of rounds (must be an even number).</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ChaChaEngine.ChachaCore(System.Int32,System.UInt32[],System.UInt32[])">
|
|
<summary>
|
|
ChaCha function.
|
|
</summary>
|
|
<param name="rounds">The number of ChaCha rounds to execute</param>
|
|
<param name="input">The input words.</param>
|
|
<param name="x">The ChaCha state to modify.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.DesEdeEngine">
|
|
<remarks>A class that provides a basic DESede (or Triple DES) engine.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEdeEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a DESede cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine">
|
|
* Wrap keys according to
|
|
* <a href="http://www.ietf.org/internet-drafts/draft-ietf-smime-key-wrap-01.txt">
|
|
* draft-ietf-smime-key-wrap-01.txt</a>.
|
|
* <p>
|
|
* Note:
|
|
* <ul>
|
|
* <li>this is based on a draft, and as such is subject to change - don't use this class for anything requiring long term storage.</li>
|
|
* <li>if you are using this to wrap triple-des keys you need to set the
|
|
* parity bits on the key and, if it's a two-key triple-des key, pad it
|
|
* yourself.</li>
|
|
* </ul>
|
|
* </p>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.engine">
|
|
Field engine
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.param">
|
|
Field param
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.paramPlusIV">
|
|
Field paramPlusIV
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.iv">
|
|
Field iv
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.forWrapping">
|
|
Field forWrapping
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.IV2">
|
|
Field IV2
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Method init
|
|
|
|
@param forWrapping
|
|
@param param
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.AlgorithmName">
|
|
Method GetAlgorithmName
|
|
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.Wrap(System.Byte[],System.Int32,System.Int32)">
|
|
Method wrap
|
|
|
|
@param in
|
|
@param inOff
|
|
@param inLen
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.Unwrap(System.Byte[],System.Int32,System.Int32)">
|
|
Method unwrap
|
|
|
|
@param in
|
|
@param inOff
|
|
@param inLen
|
|
@return
|
|
@throws InvalidCipherTextException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.CalculateCmsKeyChecksum(System.Byte[])">
|
|
Some key wrap algorithms make use of the Key Checksum defined
|
|
in CMS [CMS-Algorithms]. This is used to provide an integrity
|
|
check value for the key being wrapped. The algorithm is
|
|
|
|
- Compute the 20 octet SHA-1 hash on the key being wrapped.
|
|
- Use the first 8 octets of this hash as the checksum value.
|
|
|
|
@param key
|
|
@return
|
|
@throws Exception
|
|
@see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEdeWrapEngine.CheckCmsKeyChecksum(System.Byte[],System.Byte[])">
|
|
@param key
|
|
@param checksum
|
|
@return
|
|
@see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.DesEngine">
|
|
<remarks>A class that provides a basic DES engine.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a DES cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.DesEngine.bytebit">
|
|
what follows is mainly taken from "Applied Cryptography", by
|
|
Bruce Schneier, however it also bears great resemblance to Richard
|
|
Outerbridge's D3DES...
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEngine.GenerateWorkingKey(System.Boolean,System.Byte[])">
|
|
Generate an integer based working key based on our secret key
|
|
and what we processing we are planning to do.
|
|
|
|
Acknowledgements for this routine go to James Gillogly and Phil Karn.
|
|
(whoever, and wherever they are!).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.DesEngine.DesFunc(System.Int32[],System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
the DES engine.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.Dstu7624Engine">
|
|
implementation of DSTU 7624 (Kalyna)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.ElGamalEngine">
|
|
this does your basic ElGamal algorithm.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ElGamalEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the ElGamal engine.
|
|
|
|
@param forEncryption true if we are encrypting, false otherwise.
|
|
@param param the necessary ElGamal key parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ElGamalEngine.GetInputBlockSize">
|
|
Return the maximum size for an input block to this engine.
|
|
For ElGamal this is always one byte less than the size of P on
|
|
encryption, and twice the length as the size of P on decryption.
|
|
|
|
@return maximum size for an input block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ElGamalEngine.GetOutputBlockSize">
|
|
Return the maximum size for an output block to this engine.
|
|
For ElGamal this is always one byte less than the size of P on
|
|
decryption, and twice the length as the size of P on encryption.
|
|
|
|
@return maximum size for an output block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ElGamalEngine.ProcessBlock(System.Byte[],System.Int32,System.Int32)">
|
|
Process a single block using the basic ElGamal algorithm.
|
|
|
|
@param in the input array.
|
|
@param inOff the offset into the input buffer where the data starts.
|
|
@param length the length of the data to be processed.
|
|
@return the result of the ElGamal process.
|
|
@exception DataLengthException the input block is too large.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.Gost28147Engine">
|
|
implementation of GOST 28147-89
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Gost28147Engine.#ctor">
|
|
standard constructor.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Gost28147Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise an Gost28147 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Gost28147Engine.GetSBox(System.String)">
|
|
Return the S-Box associated with SBoxName
|
|
@param sBoxName name of the S-Box
|
|
@return byte array representing the S-Box
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.HC128Engine">
|
|
HC-128 is a software-efficient stream cipher created by Hongjun Wu. It
|
|
generates keystream from a 128-bit secret key and a 128-bit initialization
|
|
vector.
|
|
<p>
|
|
http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf
|
|
</p><p>
|
|
It is a third phase candidate in the eStream contest, and is patent-free.
|
|
No attacks are known as of today (April 2007). See
|
|
|
|
http://www.ecrypt.eu.org/stream/hcp3.html
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.HC128Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise a HC-128 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption. Irrelevant, as
|
|
encryption and decryption are the same.
|
|
@param params the parameters required to set up the cipher.
|
|
@throws ArgumentException if the params argument is
|
|
inappropriate (ie. the key is not 128 bit long).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.HC256Engine">
|
|
HC-256 is a software-efficient stream cipher created by Hongjun Wu. It
|
|
generates keystream from a 256-bit secret key and a 256-bit initialization
|
|
vector.
|
|
<p>
|
|
http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf
|
|
</p><p>
|
|
Its brother, HC-128, is a third phase candidate in the eStream contest.
|
|
The algorithm is patent-free. No attacks are known as of today (April 2007).
|
|
See
|
|
|
|
http://www.ecrypt.eu.org/stream/hcp3.html
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.HC256Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise a HC-256 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption. Irrelevant, as
|
|
encryption and decryption are the same.
|
|
@param params the parameters required to set up the cipher.
|
|
@throws ArgumentException if the params argument is
|
|
inappropriate (ie. the key is not 256 bit long).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.IdeaEngine">
|
|
A class that provides a basic International Data Encryption Algorithm (IDEA) engine.
|
|
<p>
|
|
This implementation is based on the "HOWTO: INTERNATIONAL DATA ENCRYPTION ALGORITHM"
|
|
implementation summary by Fauzan Mirza (F.U.Mirza@sheffield.ac.uk). (barring 1 typo at the
|
|
end of the MulInv function!).
|
|
</p>
|
|
<p>
|
|
It can be found at ftp://ftp.funet.fi/pub/crypt/cryptography/symmetric/idea/
|
|
</p>
|
|
<p>
|
|
Note: This algorithm was patented in the USA, Japan and Europe. These patents expired in 2011/2012.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IdeaEngine.#ctor">
|
|
standard constructor.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IdeaEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise an IDEA cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IdeaEngine.Mul(System.Int32,System.Int32)">
|
|
return x = x * y where the multiplication is done modulo
|
|
65537 (0x10001) (as defined in the IDEA specification) and
|
|
a zero input is taken to be 65536 (0x10000).
|
|
|
|
@param x the x value
|
|
@param y the y value
|
|
@return x = x * y
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IdeaEngine.ExpandKey(System.Byte[])">
|
|
The following function is used to expand the user key to the encryption
|
|
subkey. The first 16 bytes are the user key, and the rest of the subkey
|
|
is calculated by rotating the previous 16 bytes by 25 bits to the left,
|
|
and so on until the subkey is completed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IdeaEngine.MulInv(System.Int32)">
|
|
This function computes multiplicative inverse using Euclid's Greatest
|
|
Common Divisor algorithm. Zero and one are self inverse.
|
|
<p>
|
|
i.e. x * MulInv(x) == 1 (modulo BASE)
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IdeaEngine.AddInv(System.Int32)">
|
|
Return the additive inverse of x.
|
|
<p>
|
|
i.e. x + AddInv(x) == 0
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IdeaEngine.InvertKey(System.Int32[])">
|
|
The function to invert the encryption subkey to the decryption subkey.
|
|
It also involves the multiplicative inverse and the additive inverse functions.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.IesEngine">
|
|
support class for constructing intergrated encryption ciphers
|
|
for doing basic message exchanges on top of key agreement ciphers
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IesEngine.#ctor(Org.BouncyCastle.Crypto.IBasicAgreement,Org.BouncyCastle.Crypto.IDerivationFunction,Org.BouncyCastle.Crypto.IMac)">
|
|
set up for use with stream mode, where the key derivation function
|
|
is used to provide a stream of bytes to xor with the message.
|
|
|
|
@param agree the key agreement used as the basis for the encryption
|
|
@param kdf the key derivation function used for byte generation
|
|
@param mac the message authentication code generator for the message
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IesEngine.#ctor(Org.BouncyCastle.Crypto.IBasicAgreement,Org.BouncyCastle.Crypto.IDerivationFunction,Org.BouncyCastle.Crypto.IMac,Org.BouncyCastle.Crypto.BufferedBlockCipher)">
|
|
set up for use in conjunction with a block cipher to handle the
|
|
message.
|
|
|
|
@param agree the key agreement used as the basis for the encryption
|
|
@param kdf the key derivation function used for byte generation
|
|
@param mac the message authentication code generator for the message
|
|
@param cipher the cipher to used for encrypting the message
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IesEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters,Org.BouncyCastle.Crypto.ICipherParameters,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the encryptor.
|
|
|
|
@param forEncryption whether or not this is encryption/decryption.
|
|
@param privParam our private key parameters
|
|
@param pubParam the recipient's/sender's public key parameters
|
|
@param param encoding and derivation parameters.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.IsaacEngine">
|
|
Implementation of Bob Jenkin's ISAAC (Indirection Shift Accumulate Add and Count).
|
|
see: http://www.burtleburtle.net/bob/rand/isaacafa.html
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.IsaacEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise an ISAAC cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param params the parameters required to set up the cipher.
|
|
@exception ArgumentException if the params argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine">
|
|
NaccacheStern Engine. For details on this cipher, please see
|
|
http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initializes this algorithm. Must be called before all other Functions.
|
|
|
|
@see org.bouncycastle.crypto.AsymmetricBlockCipher#init(bool,
|
|
org.bouncycastle.crypto.CipherParameters)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.GetInputBlockSize">
|
|
Returns the input block size of this algorithm.
|
|
|
|
@see org.bouncycastle.crypto.AsymmetricBlockCipher#GetInputBlockSize()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.GetOutputBlockSize">
|
|
Returns the output block size of this algorithm.
|
|
|
|
@see org.bouncycastle.crypto.AsymmetricBlockCipher#GetOutputBlockSize()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.ProcessBlock(System.Byte[],System.Int32,System.Int32)">
|
|
Process a single Block using the Naccache-Stern algorithm.
|
|
|
|
@see org.bouncycastle.crypto.AsymmetricBlockCipher#ProcessBlock(byte[],
|
|
int, int)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.Encrypt(Org.BouncyCastle.Math.BigInteger)">
|
|
Encrypts a BigInteger aka Plaintext with the public key.
|
|
|
|
@param plain
|
|
The BigInteger to encrypt
|
|
@return The byte[] representation of the encrypted BigInteger (i.e.
|
|
crypted.toByteArray())
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.AddCryptedBlocks(System.Byte[],System.Byte[])">
|
|
Adds the contents of two encrypted blocks mod sigma
|
|
|
|
@param block1
|
|
the first encrypted block
|
|
@param block2
|
|
the second encrypted block
|
|
@return encrypt((block1 + block2) mod sigma)
|
|
@throws InvalidCipherTextException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.ProcessData(System.Byte[])">
|
|
Convenience Method for data exchange with the cipher.
|
|
|
|
Determines blocksize and splits data to blocksize.
|
|
|
|
@param data the data to be processed
|
|
@return the data after it went through the NaccacheSternEngine.
|
|
@throws InvalidCipherTextException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NaccacheSternEngine.chineseRemainder(System.Collections.IList,System.Collections.IList)">
|
|
Computes the integer x that is expressed through the given primes and the
|
|
congruences with the chinese remainder theorem (CRT).
|
|
|
|
@param congruences
|
|
the congruences c_i
|
|
@param primes
|
|
the primes p_i
|
|
@return an integer x for that x % p_i == c_i
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.NoekeonEngine">
|
|
A Noekeon engine, using direct-key mode.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NoekeonEngine.#ctor">
|
|
Create an instance of the Noekeon encryption algorithm
|
|
and set some defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NoekeonEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param params the parameters required to set up the cipher.
|
|
@exception ArgumentException if the params argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.NoekeonEngine.setKey(System.Byte[])">
|
|
Re-key the cipher.
|
|
|
|
@param key the key to be used
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.NullEngine">
|
|
The no-op engine that just copies bytes through, irrespective of whether encrypting and decrypting.
|
|
Provided for the sake of completeness.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RC2Engine">
|
|
an implementation of RC2 as described in RFC 2268
|
|
"A Description of the RC2(r) Encryption Algorithm" R. Rivest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC2Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a RC2 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC2Engine.RotateWordLeft(System.Int32,System.Int32)">
|
|
return the result rotating the 16 bit number in x left by y
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine">
|
|
Wrap keys according to RFC 3217 - RC2 mechanism
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.engine">
|
|
Field engine
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.parameters">
|
|
Field param
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.paramPlusIV">
|
|
Field paramPlusIV
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.iv">
|
|
Field iv
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.forWrapping">
|
|
Field forWrapping
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.IV2">
|
|
Field IV2
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Method init
|
|
|
|
@param forWrapping
|
|
@param param
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.AlgorithmName">
|
|
Method GetAlgorithmName
|
|
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.Wrap(System.Byte[],System.Int32,System.Int32)">
|
|
Method wrap
|
|
|
|
@param in
|
|
@param inOff
|
|
@param inLen
|
|
@return
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.Unwrap(System.Byte[],System.Int32,System.Int32)">
|
|
Method unwrap
|
|
|
|
@param in
|
|
@param inOff
|
|
@param inLen
|
|
@return
|
|
@throws InvalidCipherTextException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.CalculateCmsKeyChecksum(System.Byte[])">
|
|
Some key wrap algorithms make use of the Key Checksum defined
|
|
in CMS [CMS-Algorithms]. This is used to provide an integrity
|
|
check value for the key being wrapped. The algorithm is
|
|
|
|
- Compute the 20 octet SHA-1 hash on the key being wrapped.
|
|
- Use the first 8 octets of this hash as the checksum value.
|
|
|
|
@param key
|
|
@return
|
|
@throws Exception
|
|
@see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC2WrapEngine.CheckCmsKeyChecksum(System.Byte[],System.Byte[])">
|
|
@param key
|
|
@param checksum
|
|
@return
|
|
@see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC4Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a RC4 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RC532Engine">
|
|
The specification for RC5 came from the <code>RC5 Encryption Algorithm</code>
|
|
publication in RSA CryptoBytes, Spring of 1995.
|
|
<em>http://www.rsasecurity.com/rsalabs/cryptobytes</em>.
|
|
<p>
|
|
This implementation has a word size of 32 bits.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC532Engine.#ctor">
|
|
Create an instance of the RC5 encryption algorithm
|
|
and set some defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC532Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a RC5-32 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC532Engine.SetKey(System.Byte[])">
|
|
Re-key the cipher.
|
|
|
|
@param key the key to be used
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC532Engine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt the given block starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
|
|
@param in in byte buffer containing data to encrypt
|
|
@param inOff offset into src buffer
|
|
@param out out buffer where encrypted data is written
|
|
@param outOff offset into out buffer
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC532Engine.RotateLeft(System.Int32,System.Int32)">
|
|
Perform a left "spin" of the word. The rotation of the given
|
|
word <em>x</em> is rotated left by <em>y</em> bits.
|
|
Only the <em>lg(32)</em> low-order bits of <em>y</em>
|
|
are used to determine the rotation amount. Here it is
|
|
assumed that the wordsize used is a power of 2.
|
|
|
|
@param x word to rotate
|
|
@param y number of bits to rotate % 32
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC532Engine.RotateRight(System.Int32,System.Int32)">
|
|
Perform a right "spin" of the word. The rotation of the given
|
|
word <em>x</em> is rotated left by <em>y</em> bits.
|
|
Only the <em>lg(32)</em> low-order bits of <em>y</em>
|
|
are used to determine the rotation amount. Here it is
|
|
assumed that the wordsize used is a power of 2.
|
|
|
|
@param x word to rotate
|
|
@param y number of bits to rotate % 32
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RC564Engine">
|
|
The specification for RC5 came from the <code>RC5 Encryption Algorithm</code>
|
|
publication in RSA CryptoBytes, Spring of 1995.
|
|
<em>http://www.rsasecurity.com/rsalabs/cryptobytes</em>.
|
|
<p>
|
|
This implementation is set to work with a 64 bit word size.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC564Engine.#ctor">
|
|
Create an instance of the RC5 encryption algorithm
|
|
and set some defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC564Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a RC5-64 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC564Engine.SetKey(System.Byte[])">
|
|
Re-key the cipher.
|
|
|
|
@param key the key to be used
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC564Engine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt the given block starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
|
|
@param in in byte buffer containing data to encrypt
|
|
@param inOff offset into src buffer
|
|
@param out out buffer where encrypted data is written
|
|
@param outOff offset into out buffer
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC564Engine.RotateLeft(System.Int64,System.Int64)">
|
|
Perform a left "spin" of the word. The rotation of the given
|
|
word <em>x</em> is rotated left by <em>y</em> bits.
|
|
Only the <em>lg(wordSize)</em> low-order bits of <em>y</em>
|
|
are used to determine the rotation amount. Here it is
|
|
assumed that the wordsize used is a power of 2.
|
|
|
|
@param x word to rotate
|
|
@param y number of bits to rotate % wordSize
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC564Engine.RotateRight(System.Int64,System.Int64)">
|
|
Perform a right "spin" of the word. The rotation of the given
|
|
word <em>x</em> is rotated left by <em>y</em> bits.
|
|
Only the <em>lg(wordSize)</em> low-order bits of <em>y</em>
|
|
are used to determine the rotation amount. Here it is
|
|
assumed that the wordsize used is a power of 2.
|
|
|
|
@param x word to rotate
|
|
@param y number of bits to rotate % wordSize
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RC6Engine">
|
|
An RC6 engine.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC6Engine.#ctor">
|
|
Create an instance of the RC6 encryption algorithm
|
|
and set some defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC6Engine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a RC5-32 cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC6Engine.SetKey(System.Byte[])">
|
|
Re-key the cipher.
|
|
|
|
@param inKey the key to be used
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC6Engine.RotateLeft(System.Int32,System.Int32)">
|
|
Perform a left "spin" of the word. The rotation of the given
|
|
word <em>x</em> is rotated left by <em>y</em> bits.
|
|
Only the <em>lg(wordSize)</em> low-order bits of <em>y</em>
|
|
are used to determine the rotation amount. Here it is
|
|
assumed that the wordsize used is a power of 2.
|
|
|
|
@param x word to rotate
|
|
@param y number of bits to rotate % wordSize
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RC6Engine.RotateRight(System.Int32,System.Int32)">
|
|
Perform a right "spin" of the word. The rotation of the given
|
|
word <em>x</em> is rotated left by <em>y</em> bits.
|
|
Only the <em>lg(wordSize)</em> low-order bits of <em>y</em>
|
|
are used to determine the rotation amount. Here it is
|
|
assumed that the wordsize used is a power of 2.
|
|
|
|
@param x word to rotate
|
|
@param y number of bits to rotate % wordSize
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.Rfc3211WrapEngine">
|
|
an implementation of the RFC 3211 Key Wrap
|
|
Specification.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.Rfc3394WrapEngine">
|
|
<remarks>
|
|
An implementation of the AES Key Wrapper from the NIST Key Wrap
|
|
Specification as described in RFC 3394.
|
|
<p/>
|
|
For further details see: <a href="http://www.ietf.org/rfc/rfc3394.txt">http://www.ietf.org/rfc/rfc3394.txt</a>
|
|
and <a href="http://csrc.nist.gov/encryption/kms/key-wrap.pdf">http://csrc.nist.gov/encryption/kms/key-wrap.pdf</a>.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RijndaelEngine">
|
|
an implementation of Rijndael, based on the documentation and reference implementation
|
|
by Paulo Barreto, Vincent Rijmen, for v2.0 August '99.
|
|
<p>
|
|
Note: this implementation is based on information prior to readonly NIST publication.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.Mul0x2(System.Int32)">
|
|
multiply two elements of GF(2^m)
|
|
needed for MixColumn and InvMixColumn
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.KeyAddition(System.Int64[])">
|
|
xor corresponding text input and round key input bytes
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.ShiftRow(System.Byte[])">
|
|
Row 0 remains unchanged
|
|
The other three rows are shifted a variable amount
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.Substitution(System.Byte[])">
|
|
Replace every byte of the input by the byte at that place
|
|
in the nonlinear S-box
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.MixColumn">
|
|
Mix the bytes of every column in a linear way
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.InvMixColumn">
|
|
Mix the bytes of every column in a linear way
|
|
This is the opposite operation of Mixcolumn
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.GenerateWorkingKey(System.Byte[])">
|
|
Calculate the necessary round keys
|
|
The number of calculations depends on keyBits and blockBits
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.#ctor">
|
|
default constructor - 128 bit block size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.#ctor(System.Int32)">
|
|
basic constructor - set the cipher up for a given blocksize
|
|
|
|
@param blocksize the blocksize in bits, must be 128, 192, or 256.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RijndaelEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a Rijndael cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine">
|
|
this does your basic RSA algorithm with blinding
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the RSA engine.
|
|
|
|
@param forEncryption true if we are encrypting, false otherwise.
|
|
@param param the necessary RSA key parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine.GetInputBlockSize">
|
|
Return the maximum size for an input block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
encryption, and the same length as the key size on decryption.
|
|
|
|
@return maximum size for an input block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine.GetOutputBlockSize">
|
|
Return the maximum size for an output block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
decryption, and the same length as the key size on encryption.
|
|
|
|
@return maximum size for an output block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine.ProcessBlock(System.Byte[],System.Int32,System.Int32)">
|
|
Process a single block using the basic RSA algorithm.
|
|
|
|
@param inBuf the input array.
|
|
@param inOff the offset into the input buffer where the data starts.
|
|
@param inLen the length of the data to be processed.
|
|
@return the result of the RSA process.
|
|
@exception DataLengthException the input block is too large.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RsaBlindingEngine">
|
|
This does your basic RSA Chaum's blinding and unblinding as outlined in
|
|
"Handbook of Applied Cryptography", page 475. You need to use this if you are
|
|
trying to get another party to generate signatures without them being aware
|
|
of the message they are signing.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindingEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the blinding engine.
|
|
|
|
@param forEncryption true if we are encrypting (blinding), false otherwise.
|
|
@param param the necessary RSA key parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindingEngine.GetInputBlockSize">
|
|
Return the maximum size for an input block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
encryption, and the same length as the key size on decryption.
|
|
|
|
@return maximum size for an input block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindingEngine.GetOutputBlockSize">
|
|
Return the maximum size for an output block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
decryption, and the same length as the key size on encryption.
|
|
|
|
@return maximum size for an output block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaBlindingEngine.ProcessBlock(System.Byte[],System.Int32,System.Int32)">
|
|
Process a single block using the RSA blinding algorithm.
|
|
|
|
@param in the input array.
|
|
@param inOff the offset into the input buffer where the data starts.
|
|
@param inLen the length of the data to be processed.
|
|
@return the result of the RSA process.
|
|
@throws DataLengthException the input block is too large.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RsaCoreEngine">
|
|
this does your basic RSA algorithm.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaCoreEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the RSA engine.
|
|
|
|
@param forEncryption true if we are encrypting, false otherwise.
|
|
@param param the necessary RSA key parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaCoreEngine.GetInputBlockSize">
|
|
Return the maximum size for an input block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
encryption, and the same length as the key size on decryption.
|
|
|
|
@return maximum size for an input block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaCoreEngine.GetOutputBlockSize">
|
|
Return the maximum size for an output block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
decryption, and the same length as the key size on encryption.
|
|
|
|
@return maximum size for an output block.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.RsaEngine">
|
|
this does your basic RSA algorithm.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the RSA engine.
|
|
|
|
@param forEncryption true if we are encrypting, false otherwise.
|
|
@param param the necessary RSA key parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaEngine.GetInputBlockSize">
|
|
Return the maximum size for an input block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
encryption, and the same length as the key size on decryption.
|
|
|
|
@return maximum size for an input block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaEngine.GetOutputBlockSize">
|
|
Return the maximum size for an output block to this engine.
|
|
For RSA this is always one byte less than the key size on
|
|
decryption, and the same length as the key size on encryption.
|
|
|
|
@return maximum size for an output block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.RsaEngine.ProcessBlock(System.Byte[],System.Int32,System.Int32)">
|
|
Process a single block using the basic RSA algorithm.
|
|
|
|
@param inBuf the input array.
|
|
@param inOff the offset into the input buffer where the data starts.
|
|
@param inLen the length of the data to be processed.
|
|
@return the result of the RSA process.
|
|
@exception DataLengthException the input block is too large.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.Salsa20Engine">
|
|
<summary>
|
|
Implementation of Daniel J. Bernstein's Salsa20 stream cipher, Snuffle 2005
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.Salsa20Engine.StateSize">
|
|
Constants
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Salsa20Engine.#ctor">
|
|
<summary>
|
|
Creates a 20 round Salsa20 engine.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Salsa20Engine.#ctor(System.Int32)">
|
|
<summary>
|
|
Creates a Salsa20 engine with a specific number of rounds.
|
|
</summary>
|
|
<param name="rounds">the number of rounds (must be an even number).</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.Salsa20Engine.R(System.UInt32,System.Int32)">
|
|
Rotate left
|
|
|
|
@param x value to rotate
|
|
@param y amount to rotate x
|
|
|
|
@return rotated x
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.SeedEngine">
|
|
Implementation of the SEED algorithm as described in RFC 4009
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.SeedWrapEngine">
|
|
<remarks>
|
|
An implementation of the SEED key wrapper based on RFC 4010/RFC 3394.
|
|
<p/>
|
|
For further details see: <a href="http://www.ietf.org/rfc/rfc4010.txt">http://www.ietf.org/rfc/rfc4010.txt</a>.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.SerpentEngine">
|
|
* Serpent is a 128-bit 32-round block cipher with variable key lengths,
|
|
* including 128, 192 and 256 bit keys conjectured to be at least as
|
|
* secure as three-key triple-DES.
|
|
* <p>
|
|
* Serpent was designed by Ross Anderson, Eli Biham and Lars Knudsen as a
|
|
* candidate algorithm for the NIST AES Quest.
|
|
* </p>
|
|
* <p>
|
|
* For full details see <a href="http://www.cl.cam.ac.uk/~rja14/serpent.html">The Serpent home page</a>
|
|
* </p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngine.MakeWorkingKey(System.Byte[])">
|
|
Expand a user-supplied key material into a session key.
|
|
|
|
@param key The user-key bytes (multiples of 4) to use.
|
|
@exception ArgumentException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt one block of plaintext.
|
|
|
|
@param input the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param output the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngine.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Decrypt one block of ciphertext.
|
|
|
|
@param input the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param output the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a Serpent cipher.
|
|
|
|
@param encrypting whether or not we are for encryption.
|
|
@param params the parameters required to set up the cipher.
|
|
@throws IllegalArgumentException if the params argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param in the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@return the number of bytes processed and produced.
|
|
@throws DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@throws IllegalStateException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib0(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvSO - {13, 3,11, 0,10, 6, 5,12, 1,14, 4, 7,15, 9, 8, 2 } - 15 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Sb1(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
S1 - {15,12, 2, 7, 9, 0, 5,10, 1,11,14, 8, 6,13, 3, 4 } - 14 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib1(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvS1 - { 5, 8, 2,14,15, 6,12, 3,11, 4, 7, 9, 1,13,10, 0 } - 14 steps.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Sb2(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
S2 - { 8, 6, 7, 9, 3,12,10,15,13, 1,14, 4, 0,11, 5, 2 } - 16 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib2(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvS2 - {12, 9,15, 4,11,14, 1, 2, 0, 3, 6,13, 5, 8,10, 7 } - 16 steps.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Sb3(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
S3 - { 0,15,11, 8,12, 9, 6, 3,13, 1, 2, 4,10, 7, 5,14 } - 16 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib3(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvS3 - { 0, 9,10, 7,11,14, 6,13, 3, 5,12, 2, 4, 8,15, 1 } - 15 terms
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Sb4(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
S4 - { 1,15, 8, 3,12, 0,11, 6, 2, 5, 4,10, 9,14, 7,13 } - 15 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib4(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvS4 - { 5, 0, 8, 3,10, 9, 7,14, 2,12,11, 6, 4,15,13, 1 } - 15 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Sb5(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
S5 - {15, 5, 2,11, 4,10, 9,12, 0, 3,14, 8,13, 6, 7, 1 } - 16 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib5(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvS5 - { 8,15, 2, 9, 4, 1,13,14,11, 6, 5, 3, 7,12,10, 0 } - 16 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Sb6(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
S6 - { 7, 2,12, 5, 8, 4, 6,11,14, 9, 1,15,13, 3,10, 0 } - 15 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib6(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvS6 - {15,10, 1,13, 5, 3, 6, 0, 4, 9,14, 7, 2,12, 8,11 } - 15 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Sb7(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
S7 - { 1,13,15, 0,14, 8, 2,11, 7, 4,12,10, 9, 3, 5, 6 } - 16 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.Ib7(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
InvS7 - { 3, 0, 6,13, 9,14,15, 8, 5,12,11, 7,10, 1, 4, 2 } - 17 terms.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.LT">
|
|
Apply the linear transformation to the register set.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SerpentEngineBase.InverseLT">
|
|
Apply the inverse of the linear transformation to the register set.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.SkipjackEngine">
|
|
a class that provides a basic SKIPJACK engine.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SkipjackEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a SKIPJACK cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SkipjackEngine.G(System.Int32,System.Int32)">
|
|
The G permutation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.SkipjackEngine.H(System.Int32,System.Int32)">
|
|
the inverse of the G permutation.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.SM2Engine">
|
|
<summary>
|
|
SM2 public key encryption engine - based on https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.SM4Engine">
|
|
<summary>SM4 Block Cipher - SM4 is a 128 bit block cipher with a 128 bit key.</summary>
|
|
<remarks>
|
|
The implementation here is based on the document <a href="http://eprint.iacr.org/2008/329.pdf">http://eprint.iacr.org/2008/329.pdf</a>
|
|
by Whitfield Diffie and George Ledin, which is a translation of Prof. LU Shu-wang's original standard.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.TeaEngine">
|
|
An TEA engine.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TeaEngine.#ctor">
|
|
Create an instance of the TEA encryption algorithm
|
|
and set some defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TeaEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param params the parameters required to set up the cipher.
|
|
@exception ArgumentException if the params argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TeaEngine.setKey(System.Byte[])">
|
|
Re-key the cipher.
|
|
|
|
@param key the key to be used
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.ThreefishEngine">
|
|
<summary>
|
|
Implementation of the Threefish tweakable large block cipher in 256, 512 and 1024 bit block
|
|
sizes.
|
|
</summary>
|
|
<remarks>
|
|
This is the 1.3 version of Threefish defined in the Skein hash function submission to the NIST
|
|
SHA-3 competition in October 2010.
|
|
<p/>
|
|
Threefish was designed by Niels Ferguson - Stefan Lucks - Bruce Schneier - Doug Whiting - Mihir
|
|
Bellare - Tadayoshi Kohno - Jon Callas - Jesse Walker.
|
|
<p/>
|
|
This implementation inlines all round functions, unrolls 8 rounds, and uses 1.2k of static tables
|
|
to speed up key schedule injection. <br/>
|
|
2 x block size state is retained by each cipher instance.
|
|
</remarks>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.BLOCKSIZE_256">
|
|
<summary>
|
|
256 bit block size - Threefish-256
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.BLOCKSIZE_512">
|
|
<summary>
|
|
512 bit block size - Threefish-512
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.BLOCKSIZE_1024">
|
|
<summary>
|
|
1024 bit block size - Threefish-1024
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.TWEAK_SIZE_BYTES">
|
|
Size of the tweak in bytes (always 128 bit/16 bytes)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.ROUNDS_256">
|
|
Rounds in Threefish-256
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.ROUNDS_512">
|
|
Rounds in Threefish-512
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.ROUNDS_1024">
|
|
Rounds in Threefish-1024
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.MAX_ROUNDS">
|
|
Max rounds of any of the variants
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.C_240">
|
|
Key schedule parity constant
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.blocksizeBytes">
|
|
Block size in bytes
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.blocksizeWords">
|
|
Block size in 64 bit words
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.currentBlock">
|
|
Buffer for byte oriented processBytes to call internal word API
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.t">
|
|
Tweak bytes (2 byte t1,t2, calculated t3 and repeat of t1,t2 for modulo free lookup
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.kw">
|
|
Key schedule words
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.cipher">
|
|
The internal cipher implementation (varies by blocksize)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.#ctor(System.Int32)">
|
|
<summary>
|
|
Constructs a new Threefish cipher, with a specified block size.
|
|
</summary>
|
|
<param name="blocksizeBits">the block size in bits, one of <see cref="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.BLOCKSIZE_256"/>, <see cref="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.BLOCKSIZE_512"/>,
|
|
<see cref="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.BLOCKSIZE_1024"/> .</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>
|
|
Initialise the engine.
|
|
</summary>
|
|
<param name="forEncryption">Initialise for encryption if true, for decryption if false.</param>
|
|
<param name="parameters">an instance of <see cref="T:Org.BouncyCastle.Crypto.Parameters.TweakableBlockCipherParameters"/> or <see cref="T:Org.BouncyCastle.Crypto.Parameters.KeyParameter"/> (to
|
|
use a 0 tweak)</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Init(System.Boolean,System.UInt64[],System.UInt64[])">
|
|
<summary>
|
|
Initialise the engine, specifying the key and tweak directly.
|
|
</summary>
|
|
<param name="forEncryption">the cipher mode.</param>
|
|
<param name="key">the words of the key, or <code>null</code> to use the current key.</param>
|
|
<param name="tweak">the 2 word (128 bit) tweak, or <code>null</code> to use the current tweak.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.ProcessBlock(System.UInt64[],System.UInt64[])">
|
|
<summary>
|
|
Process a block of data represented as 64 bit words.
|
|
</summary>
|
|
<returns>the number of 8 byte words processed (which will be the same as the block size).</returns>
|
|
<param name="inWords">a block sized buffer of words to process.</param>
|
|
<param name="outWords">a block sized buffer of words to receive the output of the operation.</param>
|
|
<exception cref="T:Org.BouncyCastle.Crypto.DataLengthException">if either the input or output is not block sized</exception>
|
|
<exception cref="T:System.InvalidOperationException">if this engine is not initialised</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.BytesToWord(System.Byte[],System.Int32)">
|
|
<summary>
|
|
Read a single 64 bit word from input in LSB first order.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.WordToBytes(System.UInt64,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Write a 64 bit word to output in LSB first order.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.RotlXor(System.UInt64,System.Int32,System.UInt64)">
|
|
Rotate left + xor part of the mix operation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.XorRotr(System.UInt64,System.Int32,System.UInt64)">
|
|
Rotate xor + rotate right part of the unmix operation.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.ThreefishCipher.t">
|
|
The extended + repeated tweak words
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.ThreefishCipher.kw">
|
|
The extended + repeated key words
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish256Cipher.ROTATION_0_0">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish256Cipher.ROTATION_0_1">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish512Cipher.ROTATION_0_0">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish512Cipher.ROTATION_0_1">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish512Cipher.ROTATION_0_2">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish512Cipher.ROTATION_0_3">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish1024Cipher.ROTATION_0_0">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish1024Cipher.ROTATION_0_1">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish1024Cipher.ROTATION_0_2">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.ThreefishEngine.Threefish1024Cipher.ROTATION_0_3">
|
|
Mix rotation constants defined in Skein 1.3 specification
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.TnepresEngine">
|
|
Tnepres is a 128-bit 32-round block cipher with variable key lengths,
|
|
including 128, 192 and 256 bit keys conjectured to be at least as
|
|
secure as three-key triple-DES.
|
|
<p>
|
|
Tnepres is based on Serpent which was designed by Ross Anderson, Eli Biham and Lars Knudsen as a
|
|
candidate algorithm for the NIST AES Quest. Unfortunately there was an endianness issue
|
|
with test vectors in the AES submission and the resulting confusion lead to the Tnepres cipher
|
|
as well, which is a byte swapped version of Serpent.
|
|
</p>
|
|
<p>
|
|
For full details see <a href="http://www.cl.cam.ac.uk/~rja14/serpent.html">The Serpent home page</a>
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TnepresEngine.MakeWorkingKey(System.Byte[])">
|
|
Expand a user-supplied key material into a session key.
|
|
|
|
@param key The user-key bytes (multiples of 4) to use.
|
|
@exception ArgumentException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TnepresEngine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt one block of plaintext.
|
|
|
|
@param input the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param output the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TnepresEngine.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Decrypt one block of ciphertext.
|
|
|
|
@param input the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param output the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.TwofishEngine">
|
|
A class that provides Twofish encryption operations.
|
|
|
|
This Java implementation is based on the Java reference
|
|
implementation provided by Bruce Schneier and developed
|
|
by Raif S. Naffah.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.TwofishEngine.P_00">
|
|
Define the fixed p0/p1 permutations used in keyed S-box lookup.
|
|
By changing the following constant definitions, the S-boxes will
|
|
automatically Get changed in the Twofish engine.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Engines.TwofishEngine.gSubKeys">
|
|
gSubKeys[] and gSBox[] are eventually used in the
|
|
encryption and decryption methods.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TwofishEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a Twofish cipher.
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param parameters the parameters required to set up the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TwofishEngine.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Encrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
The input will be an exact multiple of our blocksize.
|
|
|
|
encryptBlock uses the pre-calculated gSBox[] and subKey[]
|
|
arrays.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TwofishEngine.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Decrypt the given input starting at the given offset and place
|
|
the result in the provided buffer starting at the given offset.
|
|
The input will be an exact multiple of our blocksize.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TwofishEngine.RS_MDS_Encode(System.Int32,System.Int32)">
|
|
Use (12, 8) Reed-Solomon code over GF(256) to produce
|
|
a key S-box 32-bit entity from 2 key material 32-bit
|
|
entities.
|
|
|
|
@param k0 first 32-bit entity
|
|
@param k1 second 32-bit entity
|
|
@return Remainder polynomial Generated using RS code
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.TwofishEngine.RS_rem(System.Int32)">
|
|
* Reed-Solomon code parameters: (12,8) reversible code:
|
|
* <p>
|
|
* <pre>
|
|
* G(x) = x^4 + (a+1/a)x^3 + ax^2 + (a+1/a)x + 1
|
|
* </pre>
|
|
* where a = primitive root of field generator 0x14D
|
|
* </p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.VmpcEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise a VMPC cipher.
|
|
|
|
@param forEncryption
|
|
whether or not we are for encryption.
|
|
@param params
|
|
the parameters required to set up the cipher.
|
|
@exception ArgumentException
|
|
if the params argument is inappropriate.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.XSalsa20Engine">
|
|
<summary>
|
|
Implementation of Daniel J. Bernstein's XSalsa20 stream cipher - Salsa20 with an extended nonce.
|
|
</summary>
|
|
<remarks>
|
|
XSalsa20 requires a 256 bit key, and a 192 bit nonce.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.XSalsa20Engine.SetKey(System.Byte[],System.Byte[])">
|
|
<summary>
|
|
XSalsa20 key generation: process 256 bit input key and 128 bits of the input nonce
|
|
using a core Salsa20 function without input addition to produce 256 bit working key
|
|
and use that with the remaining 64 bits of nonce to initialize a standard Salsa20 engine state.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Engines.XteaEngine">
|
|
An XTEA engine.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.XteaEngine.#ctor">
|
|
Create an instance of the TEA encryption algorithm
|
|
and set some defaults
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.XteaEngine.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise
|
|
|
|
@param forEncryption whether or not we are for encryption.
|
|
@param params the parameters required to set up the cipher.
|
|
@exception ArgumentException if the params argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Engines.XteaEngine.setKey(System.Byte[])">
|
|
Re-key the cipher.
|
|
|
|
@param key the key to be used
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.BaseKdfBytesGenerator">
|
|
Basic KDF generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033
|
|
<br/>
|
|
This implementation is based on ISO 18033/P1363a.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.BaseKdfBytesGenerator.#ctor(System.Int32,Org.BouncyCastle.Crypto.IDigest)">
|
|
Construct a KDF Parameters generator.
|
|
|
|
@param counterStart value of counter.
|
|
@param digest the digest to be used as the source of derived keys.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Generators.BaseKdfBytesGenerator.Digest">
|
|
return the underlying digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.BaseKdfBytesGenerator.GenerateBytes(System.Byte[],System.Int32,System.Int32)">
|
|
fill len bytes of the output buffer with bytes generated from
|
|
the derivation function.
|
|
|
|
@throws ArgumentException if the size of the request will cause an overflow.
|
|
@throws DataLengthException if the out buffer is too small.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.BCrypt">
|
|
Core of password hashing scheme Bcrypt,
|
|
designed by Niels Provos and David Mazières,
|
|
corresponds to the C reference implementation.
|
|
<p>
|
|
This implementation does not correspondent to the 1999 published paper
|
|
"A Future-Adaptable Password Scheme" of Niels Provos and David Mazières,
|
|
see: https://www.usenix.org/legacy/events/usenix99/provos/provos_html/node1.html.
|
|
In contrast to the paper, the order of key setup and salt setup is reversed:
|
|
state <- ExpandKey(state, 0, key)
|
|
state %lt;- ExpandKey(state, 0, salt)
|
|
This corresponds to the OpenBSD reference implementation of Bcrypt.
|
|
</p><p>
|
|
Note:
|
|
There is no successful cryptanalysis (status 2015), but
|
|
the amount of memory and the band width of Bcrypt
|
|
may be insufficient to effectively prevent attacks
|
|
with custom hardware like FPGAs, ASICs
|
|
</p><p>
|
|
This implementation uses some parts of Bouncy Castle's BlowfishEngine.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.BCrypt.DeriveRawKey(System.Int32,System.Byte[],System.Byte[])">
|
|
Derives a raw 192 bit Bcrypt key
|
|
|
|
@param cost the cost factor, treated as an exponent of 2
|
|
@param salt a 16 byte salt
|
|
@param psw the password
|
|
@return a 192 bit key
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Generators.BCrypt.SALT_SIZE_BYTES">
|
|
Size of the salt parameter in bytes
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Generators.BCrypt.MIN_COST">
|
|
Minimum value of cost parameter, equal to log2(bytes of salt)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Generators.BCrypt.MAX_COST">
|
|
Maximum value of cost parameter (31 == 2,147,483,648)
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Generators.BCrypt.MAX_PASSWORD_BYTES">
|
|
Maximum size of password == max (unrestricted) size of Blowfish key
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.BCrypt.PasswordToByteArray(System.Char[])">
|
|
Converts a character password to bytes incorporating the required trailing zero byte.
|
|
|
|
@param password the password to be encoded.
|
|
@return a byte representation of the password in UTF8 + trailing zero.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.BCrypt.Generate(System.Byte[],System.Byte[],System.Int32)">
|
|
Calculates the <b>bcrypt</b> hash of a password.
|
|
<p>
|
|
This implements the raw <b>bcrypt</b> function as defined in the bcrypt specification, not
|
|
the crypt encoded version implemented in OpenBSD.
|
|
</p>
|
|
@param password the password bytes (up to 72 bytes) to use for this invocation.
|
|
@param salt the 128 bit salt to use for this invocation.
|
|
@param cost the bcrypt cost parameter. The cost of the bcrypt function grows as
|
|
<code>2^cost</code>. Legal values are 4..31 inclusive.
|
|
@return the output of the raw bcrypt operation: a 192 bit (24 byte) hash.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.DesEdeKeyGenerator.engineInit(Org.BouncyCastle.Crypto.KeyGenerationParameters)">
|
|
initialise the key generator - if strength is set to zero
|
|
the key Generated will be 192 bits in size, otherwise
|
|
strength can be 128 or 192 (or 112 or 168 if you don't count
|
|
parity bits), depending on whether you wish to do 2-key or 3-key
|
|
triple DES.
|
|
|
|
@param param the parameters to be used for key generation
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.DesKeyGenerator.engineInit(Org.BouncyCastle.Crypto.KeyGenerationParameters)">
|
|
initialise the key generator - if strength is set to zero
|
|
the key generated will be 64 bits in size, otherwise
|
|
strength can be 64 or 56 bits (if you don't count the parity bits).
|
|
|
|
@param param the parameters to be used for key generation
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator">
|
|
a basic Diffie-Hellman key pair generator.
|
|
|
|
This generates keys consistent for use with the basic algorithm for
|
|
Diffie-Hellman.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.DHKeyPairGenerator">
|
|
a Diffie-Hellman key pair generator.
|
|
|
|
This generates keys consistent for use in the MTI/A0 key agreement protocol
|
|
as described in "Handbook of Applied Cryptography", Pages 516-519.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.DHParametersGenerator.GenerateParameters">
|
|
which Generates the p and g values from the given parameters,
|
|
returning the DHParameters object.
|
|
<p>
|
|
Note: can take a while...</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.DsaKeyPairGenerator">
|
|
a DSA key pair generator.
|
|
|
|
This Generates DSA keys in line with the method described
|
|
in <i>FIPS 186-3 B.1 FFC Key Pair Generation</i>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.DsaParametersGenerator">
|
|
Generate suitable parameters for DSA, in line with FIPS 186-2, or FIPS 186-3.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.DsaParametersGenerator.Init(System.Int32,System.Int32,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>Initialise the generator</summary>
|
|
<remarks>This form can only be used for older DSA (pre-DSA2) parameters</remarks>
|
|
<param name="size">the size of keys in bits (from 512 up to 1024, and a multiple of 64)</param>
|
|
<param name="certainty">measure of robustness of primes (at least 80 for FIPS 186-2 compliance)</param>
|
|
<param name="random">the source of randomness to use</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.DsaParametersGenerator.Init(Org.BouncyCastle.Crypto.Parameters.DsaParameterGenerationParameters)">
|
|
<summary>Initialise the generator for DSA 2</summary>
|
|
<remarks>You must use this Init method if you need to generate parameters for DSA 2 keys</remarks>
|
|
<param name="parameters">An instance of <c>DsaParameterGenerationParameters</c> used to configure this generator</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.DsaParametersGenerator.GenerateParameters">
|
|
<summary>Generates a set of <c>DsaParameters</c></summary>
|
|
<remarks>Can take a while...</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.DsaParametersGenerator.GenerateParameters_FIPS186_3">
|
|
generate suitable parameters for DSA, in line with
|
|
<i>FIPS 186-3 A.1 Generation of the FFC Primes p and q</i>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator.GenerateKeyPair">
|
|
Given the domain parameters this routine generates an EC key
|
|
pair in accordance with X9.62 section 5.2.1 pages 26, 27.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.ElGamalKeyPairGenerator">
|
|
a ElGamal key pair generator.
|
|
<p>
|
|
This Generates keys consistent for use with ElGamal as described in
|
|
page 164 of "Handbook of Applied Cryptography".</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.ElGamalParametersGenerator.GenerateParameters">
|
|
* which Generates the p and g values from the given parameters,
|
|
* returning the ElGamalParameters object.
|
|
* <p>
|
|
* Note: can take a while...
|
|
* </p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Gost3410KeyPairGenerator">
|
|
a GOST3410 key pair generator.
|
|
This generates GOST3410 keys in line with the method described
|
|
in GOST R 34.10-94.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Gost3410ParametersGenerator">
|
|
generate suitable parameters for GOST3410.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Gost3410ParametersGenerator.Init(System.Int32,System.Int32,Org.BouncyCastle.Security.SecureRandom)">
|
|
initialise the key generator.
|
|
|
|
@param size size of the key
|
|
@param typeProcedure type procedure A,B = 1; A',B' - else
|
|
@param random random byte source.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Gost3410ParametersGenerator.procedure_C(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Procedure C
|
|
procedure generates the a value from the given p,q,
|
|
returning the a value.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Gost3410ParametersGenerator.GenerateParameters">
|
|
which generates the p , q and a values from the given parameters,
|
|
returning the Gost3410Parameters object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.HkdfBytesGenerator">
|
|
HMAC-based Extract-and-Expand Key Derivation Function (HKDF) implemented
|
|
according to IETF RFC 5869, May 2010 as specified by H. Krawczyk, IBM
|
|
Research & P. Eronen, Nokia. It uses a HMac internally to compute de OKM
|
|
(output keying material) and is likely to have better security properties
|
|
than KDF's based on just a hash function.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.HkdfBytesGenerator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Creates a HKDFBytesGenerator based on the given hash function.
|
|
|
|
@param hash the digest to be used as the source of generatedBytes bytes
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.HkdfBytesGenerator.Extract(System.Byte[],System.Byte[])">
|
|
Performs the extract part of the key derivation function.
|
|
|
|
@param salt the salt to use
|
|
@param ikm the input keying material
|
|
@return the PRK as KeyParameter
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.HkdfBytesGenerator.ExpandNext">
|
|
Performs the expand part of the key derivation function, using currentT
|
|
as input and output buffer.
|
|
|
|
@throws DataLengthException if the total number of bytes generated is larger than the one
|
|
specified by RFC 5869 (255 * HashLen)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Kdf1BytesGenerator">
|
|
KFD2 generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033
|
|
<br/>
|
|
This implementation is based on IEEE P1363/ISO 18033.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Kdf1BytesGenerator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Construct a KDF1 byte generator.
|
|
|
|
@param digest the digest to be used as the source of derived keys.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Kdf2BytesGenerator">
|
|
KDF2 generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033
|
|
<br/>
|
|
This implementation is based on IEEE P1363/ISO 18033.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Kdf2BytesGenerator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Construct a KDF2 bytes generator. Generates key material
|
|
according to IEEE P1363 or ISO 18033 depending on the initialisation.
|
|
|
|
@param digest the digest to be used as the source of derived keys.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Mgf1BytesGenerator">
|
|
Generator for MGF1 as defined in Pkcs 1v2
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Mgf1BytesGenerator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
@param digest the digest to be used as the source of Generated bytes
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Generators.Mgf1BytesGenerator.Digest">
|
|
return the underlying digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Mgf1BytesGenerator.ItoOSP(System.Int32,System.Byte[])">
|
|
int to octet string.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Mgf1BytesGenerator.GenerateBytes(System.Byte[],System.Int32,System.Int32)">
|
|
fill len bytes of the output buffer with bytes Generated from
|
|
the derivation function.
|
|
|
|
@throws DataLengthException if the out buffer is too small.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.NaccacheSternKeyPairGenerator">
|
|
Key generation parameters for NaccacheStern cipher. For details on this cipher, please see
|
|
|
|
http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.NaccacheSternKeyPairGenerator.permuteList(System.Collections.IList,Org.BouncyCastle.Security.SecureRandom)">
|
|
Generates a permuted ArrayList from the original one. The original List
|
|
is not modified
|
|
|
|
@param arr
|
|
the ArrayList to be permuted
|
|
@param rand
|
|
the source of Randomness for permutation
|
|
@return a new IList with the permuted elements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.NaccacheSternKeyPairGenerator.findFirstPrimes(System.Int32)">
|
|
Finds the first 'count' primes starting with 3
|
|
|
|
@param count
|
|
the number of primes to find
|
|
@return a vector containing the found primes as Integer
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.OpenBsdBCrypt">
|
|
Password hashing scheme BCrypt,
|
|
designed by Niels Provos and David Mazières, using the
|
|
String format and the Base64 encoding
|
|
of the reference implementation on OpenBSD
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenBsdBCrypt.CreateBcryptString(System.String,System.Byte[],System.Byte[],System.Int32)">
|
|
Creates a 60 character Bcrypt String, including
|
|
version, cost factor, salt and hash, separated by '$'
|
|
|
|
@param version the version, 2y,2b or 2a. (2a is not backwards compatible.)
|
|
@param cost the cost factor, treated as an exponent of 2
|
|
@param salt a 16 byte salt
|
|
@param password the password
|
|
@return a 60 character Bcrypt String
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenBsdBCrypt.Generate(System.Char[],System.Byte[],System.Int32)">
|
|
Creates a 60 character Bcrypt String, including
|
|
version, cost factor, salt and hash, separated by '$' using version
|
|
'2y'.
|
|
|
|
@param cost the cost factor, treated as an exponent of 2
|
|
@param salt a 16 byte salt
|
|
@param password the password
|
|
@return a 60 character Bcrypt String
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenBsdBCrypt.Generate(System.String,System.Char[],System.Byte[],System.Int32)">
|
|
Creates a 60 character Bcrypt String, including
|
|
version, cost factor, salt and hash, separated by '$'
|
|
|
|
@param version the version, may be 2b, 2y or 2a. (2a is not backwards compatible.)
|
|
@param cost the cost factor, treated as an exponent of 2
|
|
@param salt a 16 byte salt
|
|
@param password the password
|
|
@return a 60 character Bcrypt String
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenBsdBCrypt.CheckPassword(System.String,System.Char[])">
|
|
Checks if a password corresponds to a 60 character Bcrypt String
|
|
|
|
@param bcryptString a 60 character Bcrypt String, including
|
|
version, cost factor, salt and hash,
|
|
separated by '$'
|
|
@param password the password as an array of chars
|
|
@return true if the password corresponds to the
|
|
Bcrypt String, otherwise false
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.OpenSslPbeParametersGenerator">
|
|
Generator for PBE derived keys and ivs as usd by OpenSSL.
|
|
<p>
|
|
The scheme is a simple extension of PKCS 5 V2.0 Scheme 1 using MD5 with an
|
|
iteration count of 1.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenSslPbeParametersGenerator.#ctor">
|
|
Construct a OpenSSL Parameters generator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenSslPbeParametersGenerator.Init(System.Byte[],System.Byte[])">
|
|
Initialise - note the iteration count for this algorithm is fixed at 1.
|
|
|
|
@param password password to use.
|
|
@param salt salt to use.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenSslPbeParametersGenerator.GenerateDerivedKey(System.Int32)">
|
|
the derived key function, the ith hash of the password and the salt.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenSslPbeParametersGenerator.GenerateDerivedParameters(System.Int32)">
|
|
Generate a key parameter derived from the password, salt, and iteration
|
|
count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
@exception ArgumentException if the key length larger than the base hash size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenSslPbeParametersGenerator.GenerateDerivedParameters(System.Int32,System.Int32)">
|
|
Generate a key with initialisation vector parameter derived from
|
|
the password, salt, and iteration count we are currently initialised
|
|
with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@param ivSize the size of the iv we want (in bits)
|
|
@return a ParametersWithIV object.
|
|
@exception ArgumentException if keySize + ivSize is larger than the base hash size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.OpenSslPbeParametersGenerator.GenerateDerivedMacParameters(System.Int32)">
|
|
Generate a key parameter for use with a MAC derived from the password,
|
|
salt, and iteration count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
@exception ArgumentException if the key length larger than the base hash size.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Pkcs12ParametersGenerator">
|
|
Generator for Pbe derived keys and ivs as defined by Pkcs 12 V1.0.
|
|
<p>
|
|
The document this implementation is based on can be found at
|
|
<a href="http://www.rsasecurity.com/rsalabs/pkcs/pkcs-12/index.html">
|
|
RSA's Pkcs12 Page</a>
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs12ParametersGenerator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Construct a Pkcs 12 Parameters generator.
|
|
|
|
@param digest the digest to be used as the source of derived keys.
|
|
@exception ArgumentException if an unknown digest is passed in.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs12ParametersGenerator.Adjust(System.Byte[],System.Int32,System.Byte[])">
|
|
add a + b + 1, returning the result in a. The a value is treated
|
|
as a BigInteger of length (b.Length * 8) bits. The result is
|
|
modulo 2^b.Length in case of overflow.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs12ParametersGenerator.GenerateDerivedKey(System.Int32,System.Int32)">
|
|
generation of a derived key ala Pkcs12 V1.0.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs12ParametersGenerator.GenerateDerivedParameters(System.Int32)">
|
|
Generate a key parameter derived from the password, salt, and iteration
|
|
count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs12ParametersGenerator.GenerateDerivedParameters(System.Int32,System.Int32)">
|
|
Generate a key with initialisation vector parameter derived from
|
|
the password, salt, and iteration count we are currently initialised
|
|
with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@param ivSize the size of the iv we want (in bits)
|
|
@return a ParametersWithIV object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs12ParametersGenerator.GenerateDerivedMacParameters(System.Int32)">
|
|
Generate a key parameter for use with a MAC derived from the password,
|
|
salt, and iteration count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Pkcs5S1ParametersGenerator">
|
|
Generator for Pbe derived keys and ivs as defined by Pkcs 5 V2.0 Scheme 1.
|
|
Note this generator is limited to the size of the hash produced by the
|
|
digest used to drive it.
|
|
<p>
|
|
The document this implementation is based on can be found at
|
|
<a href="http://www.rsasecurity.com/rsalabs/pkcs/pkcs-5/index.html">
|
|
RSA's Pkcs5 Page</a>
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S1ParametersGenerator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Construct a Pkcs 5 Scheme 1 Parameters generator.
|
|
|
|
@param digest the digest to be used as the source of derived keys.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S1ParametersGenerator.GenerateDerivedKey">
|
|
the derived key function, the ith hash of the mPassword and the mSalt.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S1ParametersGenerator.GenerateDerivedParameters(System.Int32)">
|
|
Generate a key parameter derived from the mPassword, mSalt, and iteration
|
|
count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
@exception ArgumentException if the key length larger than the base hash size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S1ParametersGenerator.GenerateDerivedParameters(System.Int32,System.Int32)">
|
|
Generate a key with initialisation vector parameter derived from
|
|
the mPassword, mSalt, and iteration count we are currently initialised
|
|
with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@param ivSize the size of the iv we want (in bits)
|
|
@return a ParametersWithIV object.
|
|
@exception ArgumentException if keySize + ivSize is larger than the base hash size.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S1ParametersGenerator.GenerateDerivedMacParameters(System.Int32)">
|
|
Generate a key parameter for use with a MAC derived from the mPassword,
|
|
mSalt, and iteration count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
@exception ArgumentException if the key length larger than the base hash size.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Pkcs5S2ParametersGenerator">
|
|
Generator for Pbe derived keys and ivs as defined by Pkcs 5 V2.0 Scheme 2.
|
|
This generator uses a SHA-1 HMac as the calculation function.
|
|
<p>
|
|
The document this implementation is based on can be found at
|
|
<a href="http://www.rsasecurity.com/rsalabs/pkcs/pkcs-5/index.html">
|
|
RSA's Pkcs5 Page</a></p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S2ParametersGenerator.#ctor">
|
|
construct a Pkcs5 Scheme 2 Parameters generator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S2ParametersGenerator.GenerateDerivedParameters(System.Int32)">
|
|
Generate a key parameter derived from the password, salt, and iteration
|
|
count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S2ParametersGenerator.GenerateDerivedParameters(System.Int32,System.Int32)">
|
|
Generate a key with initialisation vector parameter derived from
|
|
the password, salt, and iteration count we are currently initialised
|
|
with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@param ivSize the size of the iv we want (in bits)
|
|
@return a ParametersWithIV object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Pkcs5S2ParametersGenerator.GenerateDerivedMacParameters(System.Int32)">
|
|
Generate a key parameter for use with a MAC derived from the password,
|
|
salt, and iteration count we are currently initialised with.
|
|
|
|
@param keySize the size of the key we want (in bits)
|
|
@return a KeyParameter object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator">
|
|
<summary>
|
|
Generates keys for the Poly1305 MAC.
|
|
</summary>
|
|
<remarks>
|
|
Poly1305 keys are 256 bit keys consisting of a 128 bit secret key used for the underlying block
|
|
cipher followed by a 128 bit {@code r} value used for the polynomial portion of the Mac. <br/>
|
|
The {@code r} value has a specific format with some bits required to be cleared, resulting in an
|
|
effective 106 bit key. <br/>
|
|
A separately generated 256 bit key can be modified to fit the Poly1305 key format by using the
|
|
{@link #clamp(byte[])} method to clear the required bits.
|
|
</remarks>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Macs.Poly1305"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator.engineInit(Org.BouncyCastle.Crypto.KeyGenerationParameters)">
|
|
<summary>
|
|
Initialises the key generator.
|
|
</summary>
|
|
<remarks>
|
|
Poly1305 keys are always 256 bits, so the key length in the provided parameters is ignored.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator.engineGenerateKey">
|
|
<summary>
|
|
Generates a 256 bit key in the format required for Poly1305 - e.g.
|
|
<code>k[0] ... k[15], r[0] ... r[15]</code> with the required bits in <code>r</code> cleared
|
|
as per <see cref="M:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator.Clamp(System.Byte[])"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator.Clamp(System.Byte[])">
|
|
<summary>
|
|
Modifies an existing 32 byte key value to comply with the requirements of the Poly1305 key by
|
|
clearing required bits in the <code>r</code> (second 16 bytes) portion of the key.<br/>
|
|
Specifically:
|
|
<ul>
|
|
<li>r[3], r[7], r[11], r[15] have top four bits clear (i.e., are {0, 1, . . . , 15})</li>
|
|
<li>r[4], r[8], r[12] have bottom two bits clear (i.e., are in {0, 4, 8, . . . , 252})</li>
|
|
</ul>
|
|
</summary>
|
|
<param name="key">a 32 byte key value <code>k[0] ... k[15], r[0] ... r[15]</code></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator.CheckKey(System.Byte[])">
|
|
<summary>
|
|
Checks a 32 byte key for compliance with the Poly1305 key requirements, e.g.
|
|
<code>k[0] ... k[15], r[0] ... r[15]</code> with the required bits in <code>r</code> cleared
|
|
as per <see cref="M:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator.Clamp(System.Byte[])"/>.
|
|
</summary>
|
|
<param name="key">Key.</param>
|
|
<exception cref="T:System.ArgumentException">if the key is of the wrong length, or has invalid bits set
|
|
in the <code>r</code> portion of the key.</exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.RsaBlindingFactorGenerator">
|
|
Generate a random factor suitable for use with RSA blind signatures
|
|
as outlined in Chaum's blinding and unblinding as outlined in
|
|
"Handbook of Applied Cryptography", page 475.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.RsaBlindingFactorGenerator.Init(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the factor generator
|
|
|
|
@param param the necessary RSA key parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.RsaBlindingFactorGenerator.GenerateBlindingFactor">
|
|
Generate a suitable blind factor for the public key the generator was initialised with.
|
|
|
|
@return a random blind factor
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.RsaKeyPairGenerator">
|
|
an RSA key pair generator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.RsaKeyPairGenerator.ChooseRandomPrime(System.Int32,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>Choose a random prime value for use with RSA</summary>
|
|
<param name="bitlength">the bit-length of the returned prime</param>
|
|
<param name="e">the RSA public exponent</param>
|
|
<returns>a prime p, with (p-1) relatively prime to e</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Generators.SCrypt">
|
|
<summary>Implementation of the scrypt a password-based key derivation function.</summary>
|
|
<remarks>
|
|
Scrypt was created by Colin Percival and is specified in
|
|
<a href="http://tools.ietf.org/html/draft-josefsson-scrypt-kdf-01">draft-josefsson-scrypt-kd</a>.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Generators.SCrypt.Generate(System.Byte[],System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
<summary>Generate a key using the scrypt key derivation function.</summary>
|
|
<param name="P">the bytes of the pass phrase.</param>
|
|
<param name="S">the salt to use for this invocation.</param>
|
|
<param name="N">CPU/Memory cost parameter. Must be larger than 1, a power of 2 and less than
|
|
<code>2^(128 * r / 8)</code>.</param>
|
|
<param name="r">the block size, must be >= 1.</param>
|
|
<param name="p">Parallelization parameter. Must be a positive integer less than or equal to
|
|
<code>Int32.MaxValue / (128 * r * 8)</code>.</param>
|
|
<param name="dkLen">the length of the key to generate.</param>
|
|
<returns>the generated key.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IAsymmetricBlockCipher">
|
|
<remarks>Base interface for a public/private key block cipher.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IAsymmetricBlockCipher.AlgorithmName">
|
|
<summary>The name of the algorithm this cipher implements.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IAsymmetricBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>Initialise the cipher.</summary>
|
|
<param name="forEncryption">Initialise for encryption if true, for decryption if false.</param>
|
|
<param name="parameters">The key or other data required by the cipher.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IAsymmetricBlockCipher.GetInputBlockSize">
|
|
<returns>The maximum size, in bytes, an input block may be.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IAsymmetricBlockCipher.GetOutputBlockSize">
|
|
<returns>The maximum size, in bytes, an output block will be.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IAsymmetricBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>Process a block.</summary>
|
|
<param name="inBuf">The input buffer.</param>
|
|
<param name="inOff">The offset into <paramref>inBuf</paramref> that the input block begins.</param>
|
|
<param name="inLen">The length of the input block.</param>
|
|
<exception cref="T:Org.BouncyCastle.Crypto.InvalidCipherTextException">Input decrypts improperly.</exception>
|
|
<exception cref="T:Org.BouncyCastle.Crypto.DataLengthException">Input is too large for the cipher.</exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IAsymmetricCipherKeyPairGenerator">
|
|
interface that a public/private key pair generator should conform to.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IAsymmetricCipherKeyPairGenerator.Init(Org.BouncyCastle.Crypto.KeyGenerationParameters)">
|
|
intialise the key pair generator.
|
|
|
|
@param the parameters the key pair is to be initialised with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IAsymmetricCipherKeyPairGenerator.GenerateKeyPair">
|
|
return an AsymmetricCipherKeyPair containing the Generated keys.
|
|
|
|
@return an AsymmetricCipherKeyPair containing the Generated keys.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IBasicAgreement">
|
|
The basic interface that basic Diffie-Hellman implementations
|
|
conforms to.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBasicAgreement.Init(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the agreement engine.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBasicAgreement.GetFieldSize">
|
|
return the field size for the agreement algorithm in bytes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBasicAgreement.CalculateAgreement(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
given a public key from a given party calculate the next
|
|
message in the agreement sequence.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IBlockCipher">
|
|
<remarks>Base interface for a symmetric key block cipher.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IBlockCipher.AlgorithmName">
|
|
<summary>The name of the algorithm this cipher implements.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>Initialise the cipher.</summary>
|
|
<param name="forEncryption">Initialise for encryption if true, for decryption if false.</param>
|
|
<param name="parameters">The key or other data required by the cipher.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBlockCipher.GetBlockSize">
|
|
<returns>The block size for this cipher, in bytes.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IBlockCipher.IsPartialBlockOkay">
|
|
<summary>Indicates whether this cipher can handle partial blocks.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
<summary>Process a block.</summary>
|
|
<param name="inBuf">The input buffer.</param>
|
|
<param name="inOff">The offset into <paramref>inBuf</paramref> that the input block begins.</param>
|
|
<param name="outBuf">The output buffer.</param>
|
|
<param name="outOff">The offset into <paramref>outBuf</paramref> to write the output block.</param>
|
|
<exception cref="T:Org.BouncyCastle.Crypto.DataLengthException">If input block is wrong size, or outBuf too small.</exception>
|
|
<returns>The number of bytes processed and produced.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBlockCipher.Reset">
|
|
<summary>
|
|
Reset the cipher to the same state as it was after the last init (if there was one).
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IBlockResult">
|
|
<summary>
|
|
Operators that reduce their input to a single block return an object
|
|
of this type.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBlockResult.Collect">
|
|
<summary>
|
|
Return the final result of the operation.
|
|
</summary>
|
|
<returns>A block of bytes, representing the result of an operation.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBlockResult.Collect(System.Byte[],System.Int32)">
|
|
<summary>
|
|
Store the final result of the operation by copying it into the destination array.
|
|
</summary>
|
|
<returns>The number of bytes copied into destination.</returns>
|
|
<param name="destination">The byte array to copy the result into.</param>
|
|
<param name="offset">The offset into destination to start copying the result at.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IBufferedCipher">
|
|
<remarks>Block cipher engines are expected to conform to this interface.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IBufferedCipher.AlgorithmName">
|
|
<summary>The name of the algorithm this cipher implements.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBufferedCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>Initialise the cipher.</summary>
|
|
<param name="forEncryption">If true the cipher is initialised for encryption,
|
|
if false for decryption.</param>
|
|
<param name="parameters">The key and other data required by the cipher.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IBufferedCipher.Reset">
|
|
<summary>
|
|
Reset the cipher. After resetting the cipher is in the same state
|
|
as it was after the last init (if there was one).
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.ICipher">
|
|
<summary>
|
|
Base interface for a ciphers that do not require data to be block aligned.
|
|
<para>
|
|
Note: In cases where the underlying algorithm is block based, these ciphers may add or remove padding as needed.
|
|
</para>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ICipher.GetMaxOutputSize(System.Int32)">
|
|
<summary>
|
|
Return the size of the output buffer required for a Write() plus a
|
|
close() with the write() being passed inputLen bytes.
|
|
<para>
|
|
The returned size may be dependent on the initialisation of this cipher
|
|
and may not be accurate once subsequent input data is processed as the cipher may
|
|
add, add or remove padding, as it sees fit.
|
|
</para>
|
|
</summary>
|
|
<returns>The space required to accommodate a call to processBytes and doFinal with inputLen bytes of input.</returns>
|
|
<param name="inputLen">The length of the expected input.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ICipher.GetUpdateOutputSize(System.Int32)">
|
|
<summary>
|
|
Return the size of the output buffer required for a write() with the write() being
|
|
passed inputLen bytes and just updating the cipher output.
|
|
</summary>
|
|
<returns>The space required to accommodate a call to processBytes with inputLen bytes of input.</returns>
|
|
<param name="inputLen">The length of the expected input.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.ICipher.Stream">
|
|
<summary>
|
|
Gets the stream for reading/writing data processed/to be processed.
|
|
</summary>
|
|
<value>The stream associated with this cipher.</value>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.ICipherBuilder">
|
|
<summary>
|
|
Base interface for cipher builders.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.ICipherBuilder.AlgorithmDetails">
|
|
<summary>
|
|
Return the algorithm and parameter details associated with any cipher built.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ICipherBuilder.GetMaxOutputSize(System.Int32)">
|
|
<summary>
|
|
Return the maximum output size that a given input will produce.
|
|
</summary>
|
|
<param name="inputLen">the length of the expected input.</param>
|
|
<returns>The maximum possible output size that can produced for the expected input length.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ICipherBuilder.BuildCipher(System.IO.Stream)">
|
|
<summary>
|
|
Build a cipher that operates on the passed in stream.
|
|
</summary>
|
|
<param name="stream">The stream to write/read any encrypted/decrypted data.</param>
|
|
<returns>A cipher based around the given stream.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.ICipherBuilderWithKey">
|
|
<summary>
|
|
A cipher builder that can also return the key it was initialized with.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.ICipherBuilderWithKey.Key">
|
|
<summary>
|
|
Return the key we were initialized with.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.ICipherParameters">
|
|
all parameter classes implement this.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IDecryptorBuilderProvider">
|
|
<summary>
|
|
Interface describing a provider of cipher builders for creating decrypting ciphers.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDecryptorBuilderProvider.CreateDecryptorBuilder(System.Object)">
|
|
<summary>
|
|
Return a cipher builder for creating decrypting ciphers.
|
|
</summary>
|
|
<param name="algorithmDetails">The algorithm details/parameters to use to create the final cipher.</param>
|
|
<returns>A new cipher builder.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IDerivationFunction">
|
|
base interface for general purpose byte derivation functions.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IDerivationFunction.Digest">
|
|
return the message digest used as the basis for the function
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IDerivationParameters">
|
|
Parameters for key/byte stream derivation classes
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IDigest">
|
|
interface that a message digest conforms to.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IDigest.AlgorithmName">
|
|
return the algorithm name
|
|
|
|
@return the algorithm name
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDigest.GetDigestSize">
|
|
return the size, in bytes, of the digest produced by this message digest.
|
|
|
|
@return the size, in bytes, of the digest produced by this message digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDigest.GetByteLength">
|
|
return the size, in bytes, of the internal buffer used by this digest.
|
|
|
|
@return the size, in bytes, of the internal buffer used by this digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDigest.Update(System.Byte)">
|
|
update the message digest with a single byte.
|
|
|
|
@param inByte the input byte to be entered.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDigest.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the message digest with a block of bytes.
|
|
|
|
@param input the byte array containing the data.
|
|
@param inOff the offset into the byte array where the data starts.
|
|
@param len the length of the data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDigest.DoFinal(System.Byte[],System.Int32)">
|
|
Close the digest, producing the final digest value. The doFinal
|
|
call leaves the digest reset.
|
|
|
|
@param output the array the digest is to be copied into.
|
|
@param outOff the offset into the out array the digest is to start at.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDigest.Reset">
|
|
reset the digest back to it's initial state.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IDsa">
|
|
interface for classes implementing the Digital Signature Algorithm
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDsa.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the signer for signature generation or signature
|
|
verification.
|
|
|
|
@param forSigning true if we are generating a signature, false
|
|
otherwise.
|
|
@param param key parameters for signature generation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDsa.GenerateSignature(System.Byte[])">
|
|
sign the passed in message (usually the output of a hash function).
|
|
|
|
@param message the message to be signed.
|
|
@return two big integers representing the r and s values respectively.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IDsa.VerifySignature(System.Byte[],Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
verify the message message against the signature values r and s.
|
|
|
|
@param message the message that was supposed to have been signed.
|
|
@param r the r signature value.
|
|
@param s the s signature value.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IDsaExt">
|
|
<summary>
|
|
An "extended" interface for classes implementing DSA-style algorithms, that provides access
|
|
to the group order.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IDsaExt.Order">
|
|
<summary>The order of the group that the r, s values in signatures belong to.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IEntropySource">
|
|
<summary>
|
|
Base interface describing an entropy source for a DRBG.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IEntropySource.IsPredictionResistant">
|
|
<summary>
|
|
Return whether or not this entropy source is regarded as prediction resistant.
|
|
</summary>
|
|
<value><c>true</c> if this instance is prediction resistant; otherwise, <c>false</c>.</value>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IEntropySource.GetEntropy">
|
|
<summary>
|
|
Return a byte array of entropy.
|
|
</summary>
|
|
<returns>The entropy bytes.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IEntropySource.EntropySize">
|
|
<summary>
|
|
Return the number of bits of entropy this source can produce.
|
|
</summary>
|
|
<value>The size, in bits, of the return value of getEntropy.</value>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IEntropySourceProvider">
|
|
<summary>
|
|
Base interface describing a provider of entropy sources.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IEntropySourceProvider.Get(System.Int32)">
|
|
<summary>
|
|
Return an entropy source providing a block of entropy.
|
|
</summary>
|
|
<param name="bitsRequired">The size of the block of entropy required.</param>
|
|
<returns>An entropy source providing bitsRequired blocks of entropy.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IKeyUnwrapper">
|
|
<summary>
|
|
Base interface for a key unwrapper.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IKeyUnwrapper.AlgorithmDetails">
|
|
<summary>
|
|
The parameter set used to configure this key unwrapper.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IKeyUnwrapper.Unwrap(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>
|
|
Unwrap the passed in data.
|
|
</summary>
|
|
<param name="cipherText">The array containing the data to be unwrapped.</param>
|
|
<param name="offset">The offset into cipherText at which the unwrapped data starts.</param>
|
|
<param name="length">The length of the data to be unwrapped.</param>
|
|
<returns>an IBlockResult containing the unwrapped key data.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IKeyWrapper">
|
|
<summary>
|
|
Base interface for a key wrapper.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IKeyWrapper.AlgorithmDetails">
|
|
<summary>
|
|
The parameter set used to configure this key wrapper.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IKeyWrapper.Wrap(System.Byte[])">
|
|
<summary>
|
|
Wrap the passed in key data.
|
|
</summary>
|
|
<param name="keyData">The key data to be wrapped.</param>
|
|
<returns>an IBlockResult containing the wrapped key data.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IMac">
|
|
The base interface for implementations of message authentication codes (MACs).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IMac.Init(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the MAC.
|
|
|
|
@param param the key and other data required by the MAC.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IMac.AlgorithmName">
|
|
Return the name of the algorithm the MAC implements.
|
|
|
|
@return the name of the algorithm the MAC implements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IMac.GetMacSize">
|
|
Return the block size for this MAC (in bytes).
|
|
|
|
@return the block size for this MAC in bytes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IMac.Update(System.Byte)">
|
|
add a single byte to the mac for processing.
|
|
|
|
@param in the byte to be processed.
|
|
@exception InvalidOperationException if the MAC is not initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IMac.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
@param in the array containing the input.
|
|
@param inOff the index in the array the data begins at.
|
|
@param len the length of the input starting at inOff.
|
|
@exception InvalidOperationException if the MAC is not initialised.
|
|
@exception DataLengthException if there isn't enough data in in.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IMac.DoFinal(System.Byte[],System.Int32)">
|
|
Compute the final stage of the MAC writing the output to the out
|
|
parameter.
|
|
<p>
|
|
doFinal leaves the MAC in the same state it was after the last init.
|
|
</p>
|
|
@param out the array the MAC is to be output to.
|
|
@param outOff the offset into the out buffer the output is to start at.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the MAC is not initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IMac.Reset">
|
|
Reset the MAC. At the end of resetting the MAC should be in the
|
|
in the same state it was after the last init (if there was one).
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IMacFactory.AlgorithmDetails">
|
|
<summary>The algorithm details object for this calculator.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IMacFactory.CreateCalculator">
|
|
<summary>
|
|
Create a stream calculator for this signature calculator. The stream
|
|
calculator is used for the actual operation of entering the data to be signed
|
|
and producing the signature block.
|
|
</summary>
|
|
<returns>A calculator producing an IBlockResult with a signature in it.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.InvalidCipherTextException">
|
|
this exception is thrown whenever we find something we don't expect in a
|
|
message.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.InvalidCipherTextException.#ctor">
|
|
base constructor.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.InvalidCipherTextException.#ctor(System.String)">
|
|
create a InvalidCipherTextException with the given message.
|
|
|
|
@param message the message to be carried with the exception.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.ISignatureFactory">
|
|
<summary>
|
|
Base interface for operators that serve as stream-based signature calculators.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.ISignatureFactory.AlgorithmDetails">
|
|
<summary>The algorithm details object for this calculator.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISignatureFactory.CreateCalculator">
|
|
<summary>
|
|
Create a stream calculator for this signature calculator. The stream
|
|
calculator is used for the actual operation of entering the data to be signed
|
|
and producing the signature block.
|
|
</summary>
|
|
<returns>A calculator producing an IBlockResult with a signature in it.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.ISigner.AlgorithmName">
|
|
Return the name of the algorithm the signer implements.
|
|
|
|
@return the name of the algorithm the signer implements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISigner.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the signer for signing or verification.
|
|
|
|
@param forSigning true if for signing, false otherwise
|
|
@param param necessary parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISigner.Update(System.Byte)">
|
|
update the internal digest with the byte b
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISigner.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the internal digest with the byte array in
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISigner.GenerateSignature">
|
|
Generate a signature for the message we've been loaded with using
|
|
the key we were initialised with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISigner.VerifySignature(System.Byte[])">
|
|
return true if the internal state represents the signature described
|
|
in the passed in array.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISigner.Reset">
|
|
reset the internal state
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.ISignerWithRecovery">
|
|
Signer with message recovery.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISignerWithRecovery.HasFullMessage">
|
|
Returns true if the signer has recovered the full message as
|
|
part of signature verification.
|
|
|
|
@return true if full message recovered.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISignerWithRecovery.GetRecoveredMessage">
|
|
Returns a reference to what message was recovered (if any).
|
|
|
|
@return full/partial message, null if nothing.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.ISignerWithRecovery.UpdateWithRecoveredMessage(System.Byte[])">
|
|
Perform an update with the recovered message before adding any other data. This must
|
|
be the first update method called, and calling it will result in the signer assuming
|
|
that further calls to update will include message content past what is recoverable.
|
|
|
|
@param signature the signature that we are in the process of verifying.
|
|
@throws IllegalStateException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IStreamCalculator">
|
|
<summary>
|
|
Base interface for cryptographic operations such as Hashes, MACs, and Signatures which reduce a stream of data
|
|
to a single value.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IStreamCalculator.Stream">
|
|
<summary>Return a "sink" stream which only exists to update the implementing object.</summary>
|
|
<returns>A stream to write to in order to update the implementing object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IStreamCalculator.GetResult">
|
|
<summary>
|
|
Return the result of processing the stream. This value is only available once the stream
|
|
has been closed.
|
|
</summary>
|
|
<returns>The result of processing the stream.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IStreamCipher">
|
|
<summary>The interface stream ciphers conform to.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IStreamCipher.AlgorithmName">
|
|
<summary>The name of the algorithm this cipher implements.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IStreamCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>Initialise the cipher.</summary>
|
|
<param name="forEncryption">If true the cipher is initialised for encryption,
|
|
if false for decryption.</param>
|
|
<param name="parameters">The key and other data required by the cipher.</param>
|
|
<exception cref="T:System.ArgumentException">
|
|
If the parameters argument is inappropriate.
|
|
</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IStreamCipher.ReturnByte(System.Byte)">
|
|
<summary>encrypt/decrypt a single byte returning the result.</summary>
|
|
<param name="input">the byte to be processed.</param>
|
|
<returns>the result of processing the input byte.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IStreamCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Process a block of bytes from <c>input</c> putting the result into <c>output</c>.
|
|
</summary>
|
|
<param name="input">The input byte array.</param>
|
|
<param name="inOff">
|
|
The offset into <c>input</c> where the data to be processed starts.
|
|
</param>
|
|
<param name="length">The number of bytes to be processed.</param>
|
|
<param name="output">The output buffer the processed bytes go into.</param>
|
|
<param name="outOff">
|
|
The offset into <c>output</c> the processed data starts at.
|
|
</param>
|
|
<exception cref="T:Org.BouncyCastle.Crypto.DataLengthException">If the output buffer is too small.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IStreamCipher.Reset">
|
|
<summary>
|
|
Reset the cipher to the same state as it was after the last init (if there was one).
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IVerifier">
|
|
<summary>
|
|
Operators that reduce their input to the validation of a signature produce this type.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IVerifier.IsVerified(System.Byte[])">
|
|
<summary>
|
|
Return true if the passed in data matches what is expected by the verification result.
|
|
</summary>
|
|
<param name="data">The bytes representing the signature.</param>
|
|
<returns>true if the signature verifies, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IVerifier.IsVerified(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>
|
|
Return true if the length bytes from off in the source array match the signature
|
|
expected by the verification result.
|
|
</summary>
|
|
<param name="source">Byte array containing the signature.</param>
|
|
<param name="off">The offset into the source array where the signature starts.</param>
|
|
<param name="length">The number of bytes in source making up the signature.</param>
|
|
<returns>true if the signature verifies, false otherwise.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IVerifierFactory">
|
|
<summary>
|
|
Base interface for operators that serve as stream-based signature verifiers.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IVerifierFactory.AlgorithmDetails">
|
|
<summary>The algorithm details object for this verifier.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IVerifierFactory.CreateCalculator">
|
|
<summary>
|
|
Create a stream calculator for this verifier. The stream
|
|
calculator is used for the actual operation of entering the data to be verified
|
|
and producing a result which can be used to verify the original signature.
|
|
</summary>
|
|
<returns>A calculator producing an IVerifier which can verify the signature.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IVerifierFactoryProvider">
|
|
<summary>
|
|
Base interface for a provider to support the dynamic creation of signature verifiers.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IVerifierFactoryProvider.CreateVerifierFactory(System.Object)">
|
|
<summary>
|
|
Return a signature verfier for signature algorithm described in the passed in algorithm details object.
|
|
</summary>
|
|
<param name="algorithmDetails">The details of the signature algorithm verification is required for.</param>
|
|
<returns>A new signature verifier.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.IWrapper.AlgorithmName">
|
|
<summary>The name of the algorithm this cipher implements.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.IXof">
|
|
<remarks>
|
|
With FIPS PUB 202 a new kind of message digest was announced which supported extendable output, or variable digest sizes.
|
|
This interface provides the extra method required to support variable output on a digest implementation.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IXof.DoFinal(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>
|
|
Output the results of the final calculation for this digest to outLen number of bytes.
|
|
</summary>
|
|
<param name="output">output array to write the output bytes to.</param>
|
|
<param name="outOff">offset to start writing the bytes at.</param>
|
|
<param name="outLen">the number of output bytes requested.</param>
|
|
<returns>the number of bytes written</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.IXof.DoOutput(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>
|
|
Start outputting the results of the final calculation for this digest. Unlike DoFinal, this method
|
|
will continue producing output until the Xof is explicitly reset, or signals otherwise.
|
|
</summary>
|
|
<param name="output">output array to write the output bytes to.</param>
|
|
<param name="outOff">offset to start writing the bytes at.</param>
|
|
<param name="outLen">the number of output bytes requested.</param>
|
|
<returns>the number of bytes written</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.KeyGenerationParameters">
|
|
The base class for parameters to key generators.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.KeyGenerationParameters.#ctor(Org.BouncyCastle.Security.SecureRandom,System.Int32)">
|
|
initialise the generator with a source of randomness
|
|
and a strength (in bits).
|
|
|
|
@param random the random byte source.
|
|
@param strength the size, in bits, of the keys we want to produce.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.KeyGenerationParameters.Random">
|
|
return the random source associated with this
|
|
generator.
|
|
|
|
@return the generators random source.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.KeyGenerationParameters.Strength">
|
|
return the bit strength for keys produced by this generator,
|
|
|
|
@return the strength of the keys this generator produces (in bits).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.CbcBlockCipherMac">
|
|
standard CBC Block Cipher MAC - if no padding is specified the default of
|
|
pad of zeroes is used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CbcBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
create a standard MAC based on a CBC block cipher. This will produce an
|
|
authentication code half the length of the block size of the cipher.
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CbcBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding)">
|
|
create a standard MAC based on a CBC block cipher. This will produce an
|
|
authentication code half the length of the block size of the cipher.
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param padding the padding to be used to complete the last block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CbcBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32)">
|
|
create a standard MAC based on a block cipher with the size of the
|
|
MAC been given in bits. This class uses CBC mode as the basis for the
|
|
MAC generation.
|
|
<p>
|
|
Note: the size of the MAC must be at least 24 bits (FIPS Publication 81),
|
|
or 16 bits if being used as a data authenticator (FIPS Publication 113),
|
|
and in general should be less than the size of the block cipher as it reduces
|
|
the chance of an exhaustive attack (see Handbook of Applied Cryptography).
|
|
</p>
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param macSizeInBits the size of the MAC in bits, must be a multiple of 8.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CbcBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32,Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding)">
|
|
create a standard MAC based on a block cipher with the size of the
|
|
MAC been given in bits. This class uses CBC mode as the basis for the
|
|
MAC generation.
|
|
<p>
|
|
Note: the size of the MAC must be at least 24 bits (FIPS Publication 81),
|
|
or 16 bits if being used as a data authenticator (FIPS Publication 113),
|
|
and in general should be less than the size of the block cipher as it reduces
|
|
the chance of an exhaustive attack (see Handbook of Applied Cryptography).
|
|
</p>
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param macSizeInBits the size of the MAC in bits, must be a multiple of 8.
|
|
@param padding the padding to be used to complete the last block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CbcBlockCipherMac.Reset">
|
|
Reset the mac generator.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.MacCFBBlockCipher">
|
|
implements a Cipher-FeedBack (CFB) mode on top of a simple cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.MacCFBBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used as the basis of the
|
|
feedback mode.
|
|
@param blockSize the block size in bits (note: a multiple of 8)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.MacCFBBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the cipher and, possibly, the initialisation vector (IV).
|
|
If an IV isn't passed as part of the parameter, the IV will be all zeros.
|
|
An IV which is too short is handled in FIPS compliant fashion.
|
|
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Macs.MacCFBBlockCipher.AlgorithmName">
|
|
return the algorithm name and mode.
|
|
|
|
@return the name of the underlying algorithm followed by "/CFB"
|
|
and the block size in bits.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.MacCFBBlockCipher.GetBlockSize">
|
|
return the block size we are operating at.
|
|
|
|
@return the block size we are operating at (in bytes).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.MacCFBBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param in the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.MacCFBBlockCipher.Reset">
|
|
reset the chaining vector back to the IV and reset the underlying
|
|
cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CfbBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
create a standard MAC based on a CFB block cipher. This will produce an
|
|
authentication code half the length of the block size of the cipher, with
|
|
the CFB mode set to 8 bits.
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CfbBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding)">
|
|
create a standard MAC based on a CFB block cipher. This will produce an
|
|
authentication code half the length of the block size of the cipher, with
|
|
the CFB mode set to 8 bits.
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param padding the padding to be used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CfbBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32,System.Int32)">
|
|
create a standard MAC based on a block cipher with the size of the
|
|
MAC been given in bits. This class uses CFB mode as the basis for the
|
|
MAC generation.
|
|
<p>
|
|
Note: the size of the MAC must be at least 24 bits (FIPS Publication 81),
|
|
or 16 bits if being used as a data authenticator (FIPS Publication 113),
|
|
and in general should be less than the size of the block cipher as it reduces
|
|
the chance of an exhaustive attack (see Handbook of Applied Cryptography).
|
|
</p>
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param cfbBitSize the size of an output block produced by the CFB mode.
|
|
@param macSizeInBits the size of the MAC in bits, must be a multiple of 8.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CfbBlockCipherMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32,System.Int32,Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding)">
|
|
create a standard MAC based on a block cipher with the size of the
|
|
MAC been given in bits. This class uses CFB mode as the basis for the
|
|
MAC generation.
|
|
<p>
|
|
Note: the size of the MAC must be at least 24 bits (FIPS Publication 81),
|
|
or 16 bits if being used as a data authenticator (FIPS Publication 113),
|
|
and in general should be less than the size of the block cipher as it reduces
|
|
the chance of an exhaustive attack (see Handbook of Applied Cryptography).
|
|
</p>
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param cfbBitSize the size of an output block produced by the CFB mode.
|
|
@param macSizeInBits the size of the MAC in bits, must be a multiple of 8.
|
|
@param padding a padding to be used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CfbBlockCipherMac.Reset">
|
|
Reset the mac generator.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.CMac">
|
|
CMAC - as specified at www.nuee.nagoya-u.ac.jp/labs/tiwata/omac/omac.html
|
|
<p>
|
|
CMAC is analogous to OMAC1 - see also en.wikipedia.org/wiki/CMAC
|
|
</p><p>
|
|
CMAC is a NIST recomendation - see
|
|
csrc.nist.gov/CryptoToolkit/modes/800-38_Series_Publications/SP800-38B.pdf
|
|
</p><p>
|
|
CMAC/OMAC1 is a blockcipher-based message authentication code designed and
|
|
analyzed by Tetsu Iwata and Kaoru Kurosawa.
|
|
</p><p>
|
|
CMAC/OMAC1 is a simple variant of the CBC MAC (Cipher Block Chaining Message
|
|
Authentication Code). OMAC stands for One-Key CBC MAC.
|
|
</p><p>
|
|
It supports 128- or 64-bits block ciphers, with any key size, and returns
|
|
a MAC with dimension less or equal to the block size of the underlying
|
|
cipher.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
create a standard MAC based on a CBC block cipher (64 or 128 bit block).
|
|
This will produce an authentication code the length of the block size
|
|
of the cipher.
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CMac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32)">
|
|
create a standard MAC based on a block cipher with the size of the
|
|
MAC been given in bits.
|
|
<p/>
|
|
Note: the size of the MAC must be at least 24 bits (FIPS Publication 81),
|
|
or 16 bits if being used as a data authenticator (FIPS Publication 113),
|
|
and in general should be less than the size of the block cipher as it reduces
|
|
the chance of an exhaustive attack (see Handbook of Applied Cryptography).
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param macSizeInBits the size of the MAC in bits, must be a multiple of 8 and @lt;= 128.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.CMac.Reset">
|
|
Reset the mac generator.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.Dstu7564Mac">
|
|
<summary>
|
|
Implementation of DSTU7564 mac mode
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.Dstu7624Mac">
|
|
implementation of DSTU 7624 MAC
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.GMac">
|
|
<summary>
|
|
The GMAC specialisation of Galois/Counter mode (GCM) detailed in NIST Special Publication
|
|
800-38D.
|
|
</summary>
|
|
<remarks>
|
|
GMac is an invocation of the GCM mode where no data is encrypted (i.e. all input data to the Mac
|
|
is processed as additional authenticated data with the underlying GCM block cipher).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.GMac.#ctor(Org.BouncyCastle.Crypto.Modes.GcmBlockCipher)">
|
|
<summary>
|
|
Creates a GMAC based on the operation of a block cipher in GCM mode.
|
|
</summary>
|
|
<remarks>
|
|
This will produce an authentication code the length of the block size of the cipher.
|
|
</remarks>
|
|
<param name="cipher">the cipher to be used in GCM mode to generate the MAC.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.GMac.#ctor(Org.BouncyCastle.Crypto.Modes.GcmBlockCipher,System.Int32)">
|
|
<summary>
|
|
Creates a GMAC based on the operation of a 128 bit block cipher in GCM mode.
|
|
</summary>
|
|
<remarks>
|
|
This will produce an authentication code the length of the block size of the cipher.
|
|
</remarks>
|
|
<param name="cipher">the cipher to be used in GCM mode to generate the MAC.</param>
|
|
<param name="macSizeBits">the mac size to generate, in bits. Must be a multiple of 8, between 32 and 128 (inclusive).
|
|
Sizes less than 96 are not recommended, but are supported for specialized applications.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.GMac.Init(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>
|
|
Initialises the GMAC - requires a <see cref="T:Org.BouncyCastle.Crypto.Parameters.ParametersWithIV"/>
|
|
providing a <see cref="T:Org.BouncyCastle.Crypto.Parameters.KeyParameter"/> and a nonce.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.Gost28147Mac">
|
|
implementation of GOST 28147-89 MAC
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.HMac">
|
|
HMAC implementation based on RFC2104
|
|
|
|
H(K XOR opad, H(K XOR ipad, text))
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.HMac.Reset">
|
|
Reset the mac generator.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.ISO9797Alg3Mac">
|
|
DES based CBC Block Cipher MAC according to ISO9797, algorithm 3 (ANSI X9.19 Retail MAC)
|
|
|
|
This could as well be derived from CBCBlockCipherMac, but then the property mac in the base
|
|
class must be changed to protected
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.ISO9797Alg3Mac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
create a Retail-MAC based on a CBC block cipher. This will produce an
|
|
authentication code of the length of the block size of the cipher.
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation. This must
|
|
be DESEngine.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.ISO9797Alg3Mac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding)">
|
|
create a Retail-MAC based on a CBC block cipher. This will produce an
|
|
authentication code of the length of the block size of the cipher.
|
|
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param padding the padding to be used to complete the last block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.ISO9797Alg3Mac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32)">
|
|
create a Retail-MAC based on a block cipher with the size of the
|
|
MAC been given in bits. This class uses single DES CBC mode as the basis for the
|
|
MAC generation.
|
|
<p>
|
|
Note: the size of the MAC must be at least 24 bits (FIPS Publication 81),
|
|
or 16 bits if being used as a data authenticator (FIPS Publication 113),
|
|
and in general should be less than the size of the block cipher as it reduces
|
|
the chance of an exhaustive attack (see Handbook of Applied Cryptography).
|
|
</p>
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param macSizeInBits the size of the MAC in bits, must be a multiple of 8.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.ISO9797Alg3Mac.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32,Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding)">
|
|
create a standard MAC based on a block cipher with the size of the
|
|
MAC been given in bits. This class uses single DES CBC mode as the basis for the
|
|
MAC generation. The final block is decrypted and then encrypted using the
|
|
middle and right part of the key.
|
|
<p>
|
|
Note: the size of the MAC must be at least 24 bits (FIPS Publication 81),
|
|
or 16 bits if being used as a data authenticator (FIPS Publication 113),
|
|
and in general should be less than the size of the block cipher as it reduces
|
|
the chance of an exhaustive attack (see Handbook of Applied Cryptography).
|
|
</p>
|
|
@param cipher the cipher to be used as the basis of the MAC generation.
|
|
@param macSizeInBits the size of the MAC in bits, must be a multiple of 8.
|
|
@param padding the padding to be used to complete the last block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.ISO9797Alg3Mac.Reset">
|
|
Reset the mac generator.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.Poly1305">
|
|
<summary>
|
|
Poly1305 message authentication code, designed by D. J. Bernstein.
|
|
</summary>
|
|
<remarks>
|
|
Poly1305 computes a 128-bit (16 bytes) authenticator, using a 128 bit nonce and a 256 bit key
|
|
consisting of a 128 bit key applied to an underlying cipher, and a 128 bit key (with 106
|
|
effective key bits) used in the authenticator.
|
|
|
|
The polynomial calculation in this implementation is adapted from the public domain <a
|
|
href="https://github.com/floodyberry/poly1305-donna">poly1305-donna-unrolled</a> C implementation
|
|
by Andrew M (@floodyberry).
|
|
</remarks>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator"/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.r0">
|
|
Polynomial key
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.r1">
|
|
Polynomial key
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.r2">
|
|
Polynomial key
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.r3">
|
|
Polynomial key
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.r4">
|
|
Polynomial key
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.s1">
|
|
Precomputed 5 * r[1..4]
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.s2">
|
|
Precomputed 5 * r[1..4]
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.s3">
|
|
Precomputed 5 * r[1..4]
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.s4">
|
|
Precomputed 5 * r[1..4]
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.k0">
|
|
Encrypted nonce
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.k1">
|
|
Encrypted nonce
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.k2">
|
|
Encrypted nonce
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.k3">
|
|
Encrypted nonce
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.currentBlock">
|
|
Current block of buffered input
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.currentBlockOffset">
|
|
Current offset in input buffer
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.h0">
|
|
Polynomial accumulator
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.h1">
|
|
Polynomial accumulator
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.h2">
|
|
Polynomial accumulator
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.h3">
|
|
Polynomial accumulator
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.Poly1305.h4">
|
|
Polynomial accumulator
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.Poly1305.#ctor">
|
|
Constructs a Poly1305 MAC, where the key passed to init() will be used directly.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.Poly1305.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Constructs a Poly1305 MAC, using a 128 bit block cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.Poly1305.Init(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>
|
|
Initialises the Poly1305 MAC.
|
|
</summary>
|
|
<param name="parameters">a {@link ParametersWithIV} containing a 128 bit nonce and a {@link KeyParameter} with
|
|
a 256 bit key complying to the {@link Poly1305KeyGenerator Poly1305 key format}.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.SipHash">
|
|
<summary>
|
|
Implementation of SipHash as specified in "SipHash: a fast short-input PRF", by Jean-Philippe
|
|
Aumasson and Daniel J. Bernstein (https://131002.net/siphash/siphash.pdf).
|
|
</summary>
|
|
<remarks>
|
|
"SipHash is a family of PRFs SipHash-c-d where the integer parameters c and d are the number of
|
|
compression rounds and the number of finalization rounds. A compression round is identical to a
|
|
finalization round and this round function is called SipRound. Given a 128-bit key k and a
|
|
(possibly empty) byte string m, SipHash-c-d returns a 64-bit value..."
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.SipHash.#ctor">
|
|
<summary>SipHash-2-4</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.SipHash.#ctor(System.Int32,System.Int32)">
|
|
<summary>SipHash-c-d</summary>
|
|
<param name="c">the number of compression rounds</param>
|
|
<param name="d">the number of finalization rounds</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Macs.SkeinMac">
|
|
<summary>
|
|
Implementation of the Skein parameterised MAC function in 256, 512 and 1024 bit block sizes,
|
|
based on the <see cref="T:Org.BouncyCastle.Crypto.Engines.ThreefishEngine">Threefish</see> tweakable block cipher.
|
|
</summary>
|
|
<remarks>
|
|
This is the 1.3 version of Skein defined in the Skein hash function submission to the NIST SHA-3
|
|
competition in October 2010.
|
|
<p/>
|
|
Skein was designed by Niels Ferguson - Stefan Lucks - Bruce Schneier - Doug Whiting - Mihir
|
|
Bellare - Tadayoshi Kohno - Jon Callas - Jesse Walker.
|
|
</remarks>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Digests.SkeinEngine"/>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.SkeinMac.SKEIN_256">
|
|
<summary>
|
|
256 bit block size - Skein-256
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.SkeinMac.SKEIN_512">
|
|
<summary>
|
|
512 bit block size - Skein-512
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Macs.SkeinMac.SKEIN_1024">
|
|
<summary>
|
|
1024 bit block size - Skein-1024
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.SkeinMac.#ctor(System.Int32,System.Int32)">
|
|
<summary>
|
|
Constructs a Skein MAC with an internal state size and output size.
|
|
</summary>
|
|
<param name="stateSizeBits">the internal state size in bits - one of <see cref="F:Org.BouncyCastle.Crypto.Macs.SkeinMac.SKEIN_256"/> <see cref="F:Org.BouncyCastle.Crypto.Macs.SkeinMac.SKEIN_512"/> or
|
|
<see cref="F:Org.BouncyCastle.Crypto.Macs.SkeinMac.SKEIN_1024"/>.</param>
|
|
<param name="digestSizeBits">the output/MAC size to produce in bits, which must be an integral number of
|
|
bytes.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Macs.SkeinMac.Init(Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>
|
|
Optionally initialises the Skein digest with the provided parameters.
|
|
</summary>
|
|
See <see cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"></see> for details on the parameterisation of the Skein hash function.
|
|
<param name="parameters">the parameters to apply to this engine, or <code>null</code> to use no parameters.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.MaxBytesExceededException">
|
|
<summary>
|
|
This exception is thrown whenever a cipher requires a change of key, iv
|
|
or similar after x amount of bytes enciphered
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher">
|
|
implements Cipher-Block-Chaining (CBC) mode on top of a simple cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used as the basis of chaining.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the cipher and, possibly, the initialisation vector (IV).
|
|
If an IV isn't passed as part of the parameter, the IV will be all zeros.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.AlgorithmName">
|
|
return the algorithm name and mode.
|
|
|
|
@return the name of the underlying algorithm followed by "/CBC".
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.GetBlockSize">
|
|
return the block size of the underlying cipher.
|
|
|
|
@return the block size of the underlying cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param in the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.Reset">
|
|
reset the chaining vector back to the IV and reset the underlying
|
|
cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Do the appropriate chaining step for CBC mode encryption.
|
|
|
|
@param in the array containing the data to be encrypted.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the encrypted data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CbcBlockCipher.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Do the appropriate chaining step for CBC mode decryption.
|
|
|
|
@param in the array containing the data to be decrypted.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the decrypted data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.CcmBlockCipher">
|
|
Implements the Counter with Cipher Block Chaining mode (CCM) detailed in
|
|
NIST Special Publication 800-38C.
|
|
<p>
|
|
<b>Note</b>: this mode is a packet mode - it needs all the data up front.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CcmBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CcmBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CcmBlockCipher.GetMac">
|
|
Returns a byte array containing the mac calculated as part of the
|
|
last encrypt or decrypt operation.
|
|
|
|
@return the last mac calculated.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CcmBlockCipher.ProcessPacket(System.Byte[],System.Int32,System.Int32)">
|
|
Process a packet of data for either CCM decryption or encryption.
|
|
|
|
@param in data for processing.
|
|
@param inOff offset at which data starts in the input array.
|
|
@param inLen length of the data in the input array.
|
|
@return a byte array containing the processed input..
|
|
@throws IllegalStateException if the cipher is not appropriately set up.
|
|
@throws InvalidCipherTextException if the input data is truncated or the mac check fails.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CcmBlockCipher.ProcessPacket(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
Process a packet of data for either CCM decryption or encryption.
|
|
|
|
@param in data for processing.
|
|
@param inOff offset at which data starts in the input array.
|
|
@param inLen length of the data in the input array.
|
|
@param output output array.
|
|
@param outOff offset into output array to start putting processed bytes.
|
|
@return the number of bytes added to output.
|
|
@throws IllegalStateException if the cipher is not appropriately set up.
|
|
@throws InvalidCipherTextException if the input data is truncated or the mac check fails.
|
|
@throws DataLengthException if output buffer too short.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher">
|
|
implements a Cipher-FeedBack (CFB) mode on top of a simple cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used as the basis of the
|
|
feedback mode.
|
|
@param blockSize the block size in bits (note: a multiple of 8)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the cipher and, possibly, the initialisation vector (IV).
|
|
If an IV isn't passed as part of the parameter, the IV will be all zeros.
|
|
An IV which is too short is handled in FIPS compliant fashion.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.AlgorithmName">
|
|
return the algorithm name and mode.
|
|
|
|
@return the name of the underlying algorithm followed by "/CFB"
|
|
and the block size in bits.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.GetBlockSize">
|
|
return the block size we are operating at.
|
|
|
|
@return the block size we are operating at (in bytes).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param in the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Do the appropriate processing for CFB mode encryption.
|
|
|
|
@param in the array containing the data to be encrypted.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the encrypted data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Do the appropriate processing for CFB mode decryption.
|
|
|
|
@param in the array containing the data to be decrypted.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the encrypted data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CfbBlockCipher.Reset">
|
|
reset the chaining vector back to the IV and reset the underlying
|
|
cipher.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.CtsBlockCipher">
|
|
A Cipher Text Stealing (CTS) mode cipher. CTS allows block ciphers to
|
|
be used to produce cipher text which is the same outLength as the plain text.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CtsBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Create a buffered block cipher that uses Cipher Text Stealing
|
|
|
|
@param cipher the underlying block cipher this buffering object wraps.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CtsBlockCipher.GetUpdateOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update of 'length' bytes.
|
|
|
|
@param length the outLength of the input.
|
|
@return the space required to accommodate a call to update
|
|
with length bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CtsBlockCipher.GetOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update plus a
|
|
doFinal with an input of length bytes.
|
|
|
|
@param length the outLength of the input.
|
|
@return the space required to accommodate a call to update and doFinal
|
|
with length bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CtsBlockCipher.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
process a single byte, producing an output block if necessary.
|
|
|
|
@param in the input byte.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CtsBlockCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
process an array of bytes, producing output if necessary.
|
|
|
|
@param in the input byte array.
|
|
@param inOff the offset at which the input data starts.
|
|
@param length the number of bytes to be copied out of the input array.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.CtsBlockCipher.DoFinal(System.Byte[],System.Int32)">
|
|
Process the last block in the buffer.
|
|
|
|
@param out the array the block currently being held is copied into.
|
|
@param outOff the offset at which the copying starts.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there is insufficient space in out for
|
|
the output.
|
|
@exception InvalidOperationException if the underlying cipher is not
|
|
initialised.
|
|
@exception InvalidCipherTextException if cipher text decrypts wrongly (in
|
|
case the exception will never Get thrown).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.EaxBlockCipher">
|
|
A Two-Pass Authenticated-Encryption Scheme Optimized for Simplicity and
|
|
Efficiency - by M. Bellare, P. Rogaway, D. Wagner.
|
|
|
|
http://www.cs.ucdavis.edu/~rogaway/papers/eax.pdf
|
|
|
|
EAX is an AEAD scheme based on CTR and OMAC1/CMAC, that uses a single block
|
|
cipher to encrypt and authenticate data. It's on-line (the length of a
|
|
message isn't needed to begin processing it), has good performances, it's
|
|
simple and provably secure (provided the underlying block cipher is secure).
|
|
|
|
Of course, this implementations is NOT thread-safe.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.EaxBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Constructor that accepts an instance of a block cipher engine.
|
|
|
|
@param cipher the engine to use
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.GcmBlockCipher">
|
|
<summary>
|
|
Implements the Galois/Counter mode (GCM) detailed in
|
|
NIST Special Publication 800-38D.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.GcmBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<remarks>
|
|
MAC sizes from 32 bits to 128 bits (must be a multiple of 8) are supported. The default is 128 bits.
|
|
Sizes less than 96 are not recommended, but are supported for specialized applications.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher">
|
|
implements the GOST 28147 OFB counter mode (GCTR).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used as the basis of the
|
|
counter mode (must have a 64 bit block size).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the cipher and, possibly, the initialisation vector (IV).
|
|
If an IV isn't passed as part of the parameter, the IV will be all zeros.
|
|
An IV which is too short is handled in FIPS compliant fashion.
|
|
|
|
@param encrypting if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param parameters the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is inappropriate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher.AlgorithmName">
|
|
return the algorithm name and mode.
|
|
|
|
@return the name of the underlying algorithm followed by "/GCTR"
|
|
and the block size in bits
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher.GetBlockSize">
|
|
return the block size we are operating at (in bytes).
|
|
|
|
@return the block size we are operating at (in bytes).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param in the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher.Reset">
|
|
reset the feedback vector back to the IV and reset the underlying
|
|
cipher.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher">
|
|
<summary>An IAeadCipher based on an IBlockCipher.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher.GetBlockSize">
|
|
<returns>The block size for this cipher, in bytes.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher.GetUnderlyingCipher">
|
|
<summary>The block cipher underlying this algorithm.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.IAeadCipher">
|
|
<summary>
|
|
A cipher mode that includes authenticated encryption with a streaming mode and optional
|
|
associated data.
|
|
</summary>
|
|
<remarks>
|
|
Implementations of this interface may operate in a packet mode (where all input data is
|
|
buffered and processed during the call to DoFinal, or in a streaming mode (where output
|
|
data is incrementally produced with each call to ProcessByte or ProcessBytes. This is
|
|
important to consider during decryption: in a streaming mode, unauthenticated plaintext
|
|
data may be output prior to the call to DoFinal that results in an authentication failure.
|
|
The higher level protocol utilising this cipher must ensure the plaintext data is handled
|
|
appropriately until the end of data is reached and the entire ciphertext is authenticated.
|
|
</remarks>
|
|
<see cref="T:Org.BouncyCastle.Crypto.Parameters.AeadParameters"/>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Modes.IAeadCipher.AlgorithmName">
|
|
<summary>The name of the algorithm this cipher implements.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>Initialise the cipher.</summary>
|
|
<remarks>Parameter can either be an AeadParameters or a ParametersWithIV object.</remarks>
|
|
<param name="forEncryption">Initialise for encryption if true, for decryption if false.</param>
|
|
<param name="parameters">The key or other data required by the cipher.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.ProcessAadByte(System.Byte)">
|
|
<summary>Add a single byte to the associated data check.</summary>
|
|
<remarks>If the implementation supports it, this will be an online operation and will not retain the associated data.</remarks>
|
|
<param name="input">The byte to be processed.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.ProcessAadBytes(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>Add a sequence of bytes to the associated data check.</summary>
|
|
<remarks>If the implementation supports it, this will be an online operation and will not retain the associated data.</remarks>
|
|
<param name="inBytes">The input byte array.</param>
|
|
<param name="inOff">The offset into the input array where the data to be processed starts.</param>
|
|
<param name="len">The number of bytes to be processed.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
Encrypt/decrypt a single byte.
|
|
|
|
@param input the byte to be processed.
|
|
@param outBytes the output buffer the processed byte goes into.
|
|
@param outOff the offset into the output byte array the processed data starts at.
|
|
@return the number of bytes written to out.
|
|
@exception DataLengthException if the output buffer is too small.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
Process a block of bytes from in putting the result into out.
|
|
|
|
@param inBytes the input byte array.
|
|
@param inOff the offset into the in array where the data to be processed starts.
|
|
@param len the number of bytes to be processed.
|
|
@param outBytes the output buffer the processed bytes go into.
|
|
@param outOff the offset into the output byte array the processed data starts at.
|
|
@return the number of bytes written to out.
|
|
@exception DataLengthException if the output buffer is too small.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.DoFinal(System.Byte[],System.Int32)">
|
|
Finish the operation either appending or verifying the MAC at the end of the data.
|
|
|
|
@param outBytes space for any resulting output data.
|
|
@param outOff offset into out to start copying the data at.
|
|
@return number of bytes written into out.
|
|
@throws InvalidOperationException if the cipher is in an inappropriate state.
|
|
@throws InvalidCipherTextException if the MAC fails to match.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.GetMac">
|
|
Return the value of the MAC associated with the last stream processed.
|
|
|
|
@return MAC for plaintext data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.GetUpdateOutputSize(System.Int32)">
|
|
Return the size of the output buffer required for a ProcessBytes
|
|
an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to ProcessBytes
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.GetOutputSize(System.Int32)">
|
|
Return the size of the output buffer required for a ProcessBytes plus a
|
|
DoFinal with an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to ProcessBytes and DoFinal
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.IAeadCipher.Reset">
|
|
<summary>
|
|
Reset the cipher to the same state as it was after the last init (if there was one).
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCcmBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
<summary>
|
|
Base constructor. Nb value is set to 4.
|
|
</summary>
|
|
<param name="engine">base cipher to use under CCM.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCcmBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32)">
|
|
<summary>
|
|
Constructor allowing Nb configuration.
|
|
|
|
Nb is a parameter specified in CCM mode of DSTU7624 standard.
|
|
This parameter specifies maximum possible length of input.It should
|
|
be calculated as follows: Nb = 1 / 8 * (-3 + log[2]Nmax) + 1,
|
|
where Nmax - length of input message in bits.For practical reasons
|
|
Nmax usually less than 4Gb, e.g. for Nmax = 2^32 - 1, Nb = 4.
|
|
</summary>
|
|
<param name="engine">base cipher to use under CCM.</param>
|
|
<param name="Nb">Nb value to use.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher">
|
|
Implements a Gamming or Counter (CTR) mode on top of a DSTU 7624 block cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used as the basis of the
|
|
feedback mode.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the cipher and, possibly, the initialisation vector (IV).
|
|
If an IV isn't passed as part of the parameter, the IV will be all zeros.
|
|
An IV which is too short is handled in FIPS compliant fashion.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher.AlgorithmName">
|
|
return the algorithm name and mode.
|
|
|
|
@return the name of the underlying algorithm followed by "/KCTR"
|
|
and the block size in bits.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher.GetBlockSize">
|
|
return the block size we are operating at.
|
|
|
|
@return the block size we are operating at (in bytes).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param input the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param output the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher.Reset">
|
|
reset the chaining vector back to the IV and reset the underlying
|
|
cipher.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.OcbBlockCipher">
|
|
An implementation of <a href="http://tools.ietf.org/html/rfc7253">RFC 7253 on The OCB
|
|
Authenticated-Encryption Algorithm</a>, licensed per:
|
|
|
|
<blockquote><p><a href="http://www.cs.ucdavis.edu/~rogaway/ocb/license1.pdf">License for
|
|
Open-Source Software Implementations of OCB</a> (Jan 9, 2013) - 'License 1'<br/>
|
|
Under this license, you are authorized to make, use, and distribute open-source software
|
|
implementations of OCB. This license terminates for you if you sue someone over their open-source
|
|
software implementation of OCB claiming that you have a patent covering their implementation.
|
|
</p><p>
|
|
This is a non-binding summary of a legal document (the link above). The parameters of the license
|
|
are specified in the license document and that document is controlling.</p></blockquote>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher">
|
|
implements a Output-FeedBack (OFB) mode on top of a simple cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used as the basis of the
|
|
feedback mode.
|
|
@param blockSize the block size in bits (note: a multiple of 8)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the cipher and, possibly, the initialisation vector (IV).
|
|
If an IV isn't passed as part of the parameter, the IV will be all zeros.
|
|
An IV which is too short is handled in FIPS compliant fashion.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher.AlgorithmName">
|
|
return the algorithm name and mode.
|
|
|
|
@return the name of the underlying algorithm followed by "/OFB"
|
|
and the block size in bits
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher.GetBlockSize">
|
|
return the block size we are operating at (in bytes).
|
|
|
|
@return the block size we are operating at (in bytes).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param in the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OfbBlockCipher.Reset">
|
|
reset the feedback vector back to the IV and reset the underlying
|
|
cipher.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher">
|
|
* Implements OpenPGP's rather strange version of Cipher-FeedBack (CFB) mode
|
|
* on top of a simple cipher. This class assumes the IV has been prepended
|
|
* to the data stream already, and just accomodates the reset after
|
|
* (blockSize + 2) bytes have been read.
|
|
* <p>
|
|
* For further info see <a href="http://www.ietf.org/rfc/rfc2440.html">RFC 2440</a>.
|
|
* </p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Basic constructor.
|
|
|
|
@param cipher the block cipher to be used as the basis of the
|
|
feedback mode.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.AlgorithmName">
|
|
return the algorithm name and mode.
|
|
|
|
@return the name of the underlying algorithm followed by "/PGPCFB"
|
|
and the block size in bits.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.GetBlockSize">
|
|
return the block size we are operating at.
|
|
|
|
@return the block size we are operating at (in bytes).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Process one block of input from the array in and write it to
|
|
the out array.
|
|
|
|
@param in the array containing the input data.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the output data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.Reset">
|
|
reset the chaining vector back to the IV and reset the underlying
|
|
cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the cipher and, possibly, the initialisation vector (IV).
|
|
If an IV isn't passed as part of the parameter, the IV will be all zeros.
|
|
An IV which is too short is handled in FIPS compliant fashion.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param parameters the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.EncryptByte(System.Byte,System.Int32)">
|
|
Encrypt one byte of data according to CFB mode.
|
|
@param data the byte to encrypt
|
|
@param blockOff offset in the current block
|
|
@returns the encrypted byte
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.EncryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Do the appropriate processing for CFB IV mode encryption.
|
|
|
|
@param in the array containing the data to be encrypted.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the encrypted data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.OpenPgpCfbBlockCipher.DecryptBlock(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Do the appropriate processing for CFB IV mode decryption.
|
|
|
|
@param in the array containing the data to be decrypted.
|
|
@param inOff offset into the in array the data starts at.
|
|
@param out the array the encrypted data will be copied into.
|
|
@param outOff the offset into the out array the output will start at.
|
|
@exception DataLengthException if there isn't enough data in in, or
|
|
space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
@return the number of bytes processed and produced.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Modes.SicBlockCipher">
|
|
Implements the Segmented Integer Counter (SIC) mode on top of a simple
|
|
block cipher.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.SicBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Basic constructor.
|
|
|
|
@param c the block cipher to be used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Modes.SicBlockCipher.GetUnderlyingCipher">
|
|
return the underlying block cipher that we are wrapping.
|
|
|
|
@return the underlying block cipher that we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Operators.X509Utilities.GetDigestAlgName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
Return the digest algorithm using one of the standard JCA string
|
|
representations rather than the algorithm identifier (if possible).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Operators.Asn1SignatureFactory">
|
|
<summary>
|
|
Calculator factory class for signature generation in ASN.1 based profiles that use an AlgorithmIdentifier to preserve
|
|
signature algorithm details.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Operators.Asn1SignatureFactory.#ctor(System.String,Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Base constructor.
|
|
</summary>
|
|
<param name="algorithm">The name of the signature algorithm to use.</param>
|
|
<param name="privateKey">The private key to be used in the signing operation.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Operators.Asn1SignatureFactory.#ctor(System.String,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Constructor which also specifies a source of randomness to be used if one is required.
|
|
</summary>
|
|
<param name="algorithm">The name of the signature algorithm to use.</param>
|
|
<param name="privateKey">The private key to be used in the signing operation.</param>
|
|
<param name="random">The source of randomness to be used in signature calculation.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Operators.Asn1SignatureFactory.SignatureAlgNames">
|
|
<summary>
|
|
Allows enumeration of the signature names supported by the verifier provider.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Operators.Asn1VerifierFactory">
|
|
<summary>
|
|
Verifier class for signature verification in ASN.1 based profiles that use an AlgorithmIdentifier to preserve
|
|
signature algorithm details.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Operators.Asn1VerifierFactory.#ctor(System.String,Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Base constructor.
|
|
</summary>
|
|
<param name="algorithm">The name of the signature algorithm to use.</param>
|
|
<param name="publicKey">The public key to be used in the verification operation.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Operators.Asn1VerifierFactoryProvider">
|
|
<summary>
|
|
Provider class which supports dynamic creation of signature verifiers.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Operators.Asn1VerifierFactoryProvider.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Base constructor - specify the public key to be used in verification.
|
|
</summary>
|
|
<param name="publicKey">The public key to be used in creating verifiers provided by this object.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Operators.Asn1VerifierFactoryProvider.SignatureAlgNames">
|
|
<summary>
|
|
Allows enumeration of the signature names supported by the verifier provider.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding">
|
|
Block cipher padders are expected to conform to this interface
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding.Init(Org.BouncyCastle.Security.SecureRandom)">
|
|
Initialise the padder.
|
|
|
|
@param param parameters, if any required.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding.PaddingName">
|
|
Return the name of the algorithm the cipher implements.
|
|
|
|
@return the name of the algorithm the cipher implements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding.AddPadding(System.Byte[],System.Int32)">
|
|
add the pad bytes to the passed in block, returning the
|
|
number of bytes added.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding.PadCount(System.Byte[])">
|
|
return the number of pad bytes present in the block.
|
|
@exception InvalidCipherTextException if the padding is badly formed
|
|
or invalid.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.ISO10126d2Padding">
|
|
A padder that adds ISO10126-2 padding to a block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ISO10126d2Padding.Init(Org.BouncyCastle.Security.SecureRandom)">
|
|
Initialise the padder.
|
|
|
|
@param random a SecureRandom if available.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Paddings.ISO10126d2Padding.PaddingName">
|
|
Return the name of the algorithm the cipher implements.
|
|
|
|
@return the name of the algorithm the cipher implements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ISO10126d2Padding.AddPadding(System.Byte[],System.Int32)">
|
|
add the pad bytes to the passed in block, returning the
|
|
number of bytes added.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ISO10126d2Padding.PadCount(System.Byte[])">
|
|
return the number of pad bytes present in the block.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.ISO7816d4Padding">
|
|
A padder that adds the padding according to the scheme referenced in
|
|
ISO 7814-4 - scheme 2 from ISO 9797-1. The first byte is 0x80, rest is 0x00
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ISO7816d4Padding.Init(Org.BouncyCastle.Security.SecureRandom)">
|
|
Initialise the padder.
|
|
|
|
@param random - a SecureRandom if available.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Paddings.ISO7816d4Padding.PaddingName">
|
|
Return the name of the algorithm the padder implements.
|
|
|
|
@return the name of the algorithm the padder implements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ISO7816d4Padding.AddPadding(System.Byte[],System.Int32)">
|
|
add the pad bytes to the passed in block, returning the
|
|
number of bytes added.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ISO7816d4Padding.PadCount(System.Byte[])">
|
|
return the number of pad bytes present in the block.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher">
|
|
A wrapper class that allows block ciphers to be used to process data in
|
|
a piecemeal fashion with padding. The PaddedBufferedBlockCipher
|
|
outputs a block only when the buffer is full and more data is being added,
|
|
or on a doFinal (unless the current block in the buffer is a pad block).
|
|
The default padding mechanism used is the one outlined in Pkcs5/Pkcs7.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding)">
|
|
Create a buffered block cipher with the desired padding.
|
|
|
|
@param cipher the underlying block cipher this buffering object wraps.
|
|
@param padding the padding type.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
Create a buffered block cipher Pkcs7 padding
|
|
|
|
@param cipher the underlying block cipher this buffering object wraps.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the cipher.
|
|
|
|
@param forEncryption if true the cipher is initialised for
|
|
encryption, if false for decryption.
|
|
@param param the key and other data required by the cipher.
|
|
@exception ArgumentException if the parameters argument is
|
|
inappropriate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.GetOutputSize(System.Int32)">
|
|
return the minimum size of the output buffer required for an update
|
|
plus a doFinal with an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update and doFinal
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.GetUpdateOutputSize(System.Int32)">
|
|
return the size of the output buffer required for an update
|
|
an input of len bytes.
|
|
|
|
@param len the length of the input.
|
|
@return the space required to accommodate a call to update
|
|
with len bytes of input.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
process a single byte, producing an output block if necessary.
|
|
|
|
@param in the input byte.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
process an array of bytes, producing output if necessary.
|
|
|
|
@param in the input byte array.
|
|
@param inOff the offset at which the input data starts.
|
|
@param len the number of bytes to be copied out of the input array.
|
|
@param out the space for any output that might be produced.
|
|
@param outOff the offset from which the output will be copied.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there isn't enough space in out.
|
|
@exception InvalidOperationException if the cipher isn't initialised.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.DoFinal(System.Byte[],System.Int32)">
|
|
Process the last block in the buffer. If the buffer is currently
|
|
full and padding needs to be added a call to doFinal will produce
|
|
2 * GetBlockSize() bytes.
|
|
|
|
@param out the array the block currently being held is copied into.
|
|
@param outOff the offset at which the copying starts.
|
|
@return the number of output bytes copied to out.
|
|
@exception DataLengthException if there is insufficient space in out for
|
|
the output or we are decrypting and the input is not block size aligned.
|
|
@exception InvalidOperationException if the underlying cipher is not
|
|
initialised.
|
|
@exception InvalidCipherTextException if padding is expected and not found.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.Pkcs7Padding">
|
|
A padder that adds Pkcs7/Pkcs5 padding to a block.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.Pkcs7Padding.Init(Org.BouncyCastle.Security.SecureRandom)">
|
|
Initialise the padder.
|
|
|
|
@param random - a SecureRandom if available.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Paddings.Pkcs7Padding.PaddingName">
|
|
Return the name of the algorithm the cipher implements.
|
|
|
|
@return the name of the algorithm the cipher implements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.Pkcs7Padding.AddPadding(System.Byte[],System.Int32)">
|
|
add the pad bytes to the passed in block, returning the
|
|
number of bytes added.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.Pkcs7Padding.PadCount(System.Byte[])">
|
|
return the number of pad bytes present in the block.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.TbcPadding">
|
|
<summary> A padder that adds Trailing-Bit-Compliment padding to a block.
|
|
<p>
|
|
This padding pads the block out compliment of the last bit
|
|
of the plain text.
|
|
</p>
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Paddings.TbcPadding.PaddingName">
|
|
<summary> Return the name of the algorithm the cipher implements.</summary>
|
|
<returns> the name of the algorithm the cipher implements.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.TbcPadding.Init(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary> Initialise the padder.</summary>
|
|
<param name="random">- a SecureRandom if available.
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.TbcPadding.AddPadding(System.Byte[],System.Int32)">
|
|
<summary> add the pad bytes to the passed in block, returning the
|
|
number of bytes added.
|
|
<p>
|
|
Note: this assumes that the last block of plain text is always
|
|
passed to it inside in. i.e. if inOff is zero, indicating the
|
|
entire block is to be overwritten with padding the value of in
|
|
should be the same as the last block of plain text.
|
|
</p>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.TbcPadding.PadCount(System.Byte[])">
|
|
<summary> return the number of pad bytes present in the block.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.X923Padding">
|
|
A padder that adds X9.23 padding to a block - if a SecureRandom is
|
|
passed in random padding is assumed, otherwise padding with zeros is used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.X923Padding.Init(Org.BouncyCastle.Security.SecureRandom)">
|
|
Initialise the padder.
|
|
|
|
@param random a SecureRandom if one is available.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Paddings.X923Padding.PaddingName">
|
|
Return the name of the algorithm the cipher implements.
|
|
|
|
@return the name of the algorithm the cipher implements.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.X923Padding.AddPadding(System.Byte[],System.Int32)">
|
|
add the pad bytes to the passed in block, returning the
|
|
number of bytes added.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.X923Padding.PadCount(System.Byte[])">
|
|
return the number of pad bytes present in the block.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Paddings.ZeroBytePadding">
|
|
<summary> A padder that adds Null byte padding to a block.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Paddings.ZeroBytePadding.PaddingName">
|
|
<summary> Return the name of the algorithm the cipher implements.
|
|
|
|
</summary>
|
|
<returns> the name of the algorithm the cipher implements.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ZeroBytePadding.Init(Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary> Initialise the padder.
|
|
|
|
</summary>
|
|
<param name="random">- a SecureRandom if available.
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ZeroBytePadding.AddPadding(System.Byte[],System.Int32)">
|
|
<summary> add the pad bytes to the passed in block, returning the
|
|
number of bytes added.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Paddings.ZeroBytePadding.PadCount(System.Byte[])">
|
|
<summary> return the number of pad bytes present in the block.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.AeadParameters.#ctor(Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Int32,System.Byte[])">
|
|
Base constructor.
|
|
|
|
@param key key to be used by underlying cipher
|
|
@param macSize macSize in bits
|
|
@param nonce nonce to be used
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.AeadParameters.#ctor(Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Int32,System.Byte[],System.Byte[])">
|
|
Base constructor.
|
|
|
|
@param key key to be used by underlying cipher
|
|
@param macSize macSize in bits
|
|
@param nonce nonce to be used
|
|
@param associatedText associated text, if any
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.CcmParameters.#ctor(Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Int32,System.Byte[],System.Byte[])">
|
|
Base constructor.
|
|
|
|
@param key key to be used by underlying cipher
|
|
@param macSize macSize in bits
|
|
@param nonce nonce to be used
|
|
@param associatedText associated text, if any
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DesEdeParameters.IsWeakKey(System.Byte[],System.Int32,System.Int32)">
|
|
return true if the passed in key is a DES-EDE weak key.
|
|
|
|
@param key bytes making up the key
|
|
@param offset offset into the byte array the key starts at
|
|
@param length number of bytes making up the key
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DesEdeParameters.IsWeakKey(System.Byte[],System.Int32)">
|
|
return true if the passed in key is a DES-EDE weak key.
|
|
|
|
@param key bytes making up the key
|
|
@param offset offset into the byte array the key starts at
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DesEdeParameters.IsRealEdeKey(System.Byte[],System.Int32)">
|
|
return true if the passed in key is a real 2/3 part DES-EDE key.
|
|
|
|
@param key bytes making up the key
|
|
@param offset offset into the byte array the key starts at
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DesEdeParameters.IsReal2Key(System.Byte[],System.Int32)">
|
|
return true if the passed in key is a real 2 part DES-EDE key.
|
|
|
|
@param key bytes making up the key
|
|
@param offset offset into the byte array the key starts at
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DesEdeParameters.IsReal3Key(System.Byte[],System.Int32)">
|
|
return true if the passed in key is a real 3 part DES-EDE key.
|
|
|
|
@param key bytes making up the key
|
|
@param offset offset into the byte array the key starts at
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DesParameters.IsWeakKey(System.Byte[],System.Int32)">
|
|
DES has 16 weak keys. This method will check
|
|
if the given DES key material is weak or semi-weak.
|
|
Key material that is too short is regarded as weak.
|
|
<p>
|
|
See <a href="http://www.counterpane.com/applied.html">"Applied
|
|
Cryptography"</a> by Bruce Schneier for more information.
|
|
</p>
|
|
@return true if the given DES key material is weak or semi-weak,
|
|
false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DesParameters.SetOddParity(System.Byte[])">
|
|
DES Keys use the LSB as the odd parity bit. This can
|
|
be used to check for corrupt keys.
|
|
|
|
@param bytes the byte array to set the parity on.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.DHParameters.M">
|
|
<summary>The minimum bitlength of the private value.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.DHParameters.L">
|
|
<summary>The bitlength of the private value.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DsaParameterGenerationParameters.#ctor(System.Int32,System.Int32,System.Int32,Org.BouncyCastle.Security.SecureRandom)">
|
|
Construct without a usage index, this will do a random construction of G.
|
|
|
|
@param L desired length of prime P in bits (the effective key size).
|
|
@param N desired length of prime Q in bits.
|
|
@param certainty certainty level for prime number generation.
|
|
@param random the source of randomness to use.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.DsaParameterGenerationParameters.#ctor(System.Int32,System.Int32,System.Int32,Org.BouncyCastle.Security.SecureRandom,System.Int32)">
|
|
Construct for a specific usage index - this has the effect of using verifiable canonical generation of G.
|
|
|
|
@param L desired length of prime P in bits (the effective key size).
|
|
@param N desired length of prime Q in bits.
|
|
@param certainty certainty level for prime number generation.
|
|
@param random the source of randomness to use.
|
|
@param usageIndex a valid usage index.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.ElGamalParameters.G">
|
|
return the generator - g
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.ElGamalParameters.L">
|
|
return private value limit - l
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.HkdfParameters">
|
|
Parameter class for the HkdfBytesGenerator class.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.HkdfParameters.#ctor(System.Byte[],System.Byte[],System.Byte[])">
|
|
Generates parameters for HKDF, specifying both the optional salt and
|
|
optional info. Step 1: Extract won't be skipped.
|
|
|
|
@param ikm the input keying material or seed
|
|
@param salt the salt to use, may be null for a salt for hashLen zeros
|
|
@param info the info to use, may be null for an info field of zero bytes
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.HkdfParameters.SkipExtractParameters(System.Byte[],System.Byte[])">
|
|
Factory method that makes the HKDF skip the extract part of the key
|
|
derivation function.
|
|
|
|
@param ikm the input keying material or seed, directly used for step 2:
|
|
Expand
|
|
@param info the info to use, may be null for an info field of zero bytes
|
|
@return HKDFParameters that makes the implementation skip step 1
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.HkdfParameters.GetIkm">
|
|
Returns the input keying material or seed.
|
|
|
|
@return the keying material
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.HkdfParameters.SkipExtract">
|
|
Returns if step 1: extract has to be skipped or not
|
|
|
|
@return true for skipping, false for no skipping of step 1
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.HkdfParameters.GetSalt">
|
|
Returns the salt, or null if the salt should be generated as a byte array
|
|
of HashLen zeros.
|
|
|
|
@return the salt, or null
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.HkdfParameters.GetInfo">
|
|
Returns the info field, which may be empty (null is converted to empty).
|
|
|
|
@return the info field, never null
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.IesParameters">
|
|
parameters for using an integrated cipher in stream mode.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.IesParameters.#ctor(System.Byte[],System.Byte[],System.Int32)">
|
|
@param derivation the derivation parameter for the KDF function.
|
|
@param encoding the encoding parameter for the KDF function.
|
|
@param macKeySize the size of the MAC key (in bits).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.IesWithCipherParameters.#ctor(System.Byte[],System.Byte[],System.Int32,System.Int32)">
|
|
@param derivation the derivation parameter for the KDF function.
|
|
@param encoding the encoding parameter for the KDF function.
|
|
@param macKeySize the size of the MAC key (in bits).
|
|
@param cipherKeySize the size of the associated Cipher key (in bits).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.Iso18033KdfParameters">
|
|
parameters for Key derivation functions for ISO-18033
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.KdfCounterParameters.#ctor(System.Byte[],System.Byte[],System.Int32)">
|
|
<summary>
|
|
Base constructor - suffix fixed input data only.
|
|
</summary>
|
|
<param name="ki">the KDF seed</param>
|
|
<param name="fixedInputDataCounterSuffix">fixed input data to follow counter.</param>
|
|
<param name="r">length of the counter in bits</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.KdfCounterParameters.#ctor(System.Byte[],System.Byte[],System.Byte[],System.Int32)">
|
|
<summary>
|
|
Base constructor - prefix and suffix fixed input data.
|
|
</summary>
|
|
<param name="ki">the KDF seed</param>
|
|
<param name="fixedInputDataCounterPrefix">fixed input data to precede counter</param>
|
|
<param name="fixedInputDataCounterSuffix">fixed input data to follow counter.</param>
|
|
<param name="r">length of the counter in bits.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.KdfParameters">
|
|
parameters for Key derivation functions for IEEE P1363a
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.MgfParameters">
|
|
<remarks>Parameters for mask derivation functions.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyGenerationParameters">
|
|
Parameters for NaccacheStern public private key generation. For details on
|
|
this cipher, please see
|
|
|
|
http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyGenerationParameters.#ctor(Org.BouncyCastle.Security.SecureRandom,System.Int32,System.Int32,System.Int32)">
|
|
Parameters for generating a NaccacheStern KeyPair.
|
|
|
|
@param random
|
|
The source of randomness
|
|
@param strength
|
|
The desired strength of the Key in Bits
|
|
@param certainty
|
|
the probability that the generated primes are not really prime
|
|
as integer: 2^(-certainty) is then the probability
|
|
@param countSmallPrimes
|
|
How many small key factors are desired
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyGenerationParameters.#ctor(Org.BouncyCastle.Security.SecureRandom,System.Int32,System.Int32,System.Int32,System.Boolean)">
|
|
* Parameters for a NaccacheStern KeyPair.
|
|
*
|
|
* @param random
|
|
* The source of randomness
|
|
* @param strength
|
|
* The desired strength of the Key in Bits
|
|
* @param certainty
|
|
* the probability that the generated primes are not really prime
|
|
* as integer: 2^(-certainty) is then the probability
|
|
* @param cntSmallPrimes
|
|
* How many small key factors are desired
|
|
* @param debug
|
|
* Ignored
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyGenerationParameters.Certainty">
|
|
@return Returns the certainty.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyGenerationParameters.CountSmallPrimes">
|
|
@return Returns the countSmallPrimes.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyParameters">
|
|
Public key parameters for NaccacheStern cipher. For details on this cipher,
|
|
please see
|
|
|
|
http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyParameters.#ctor(System.Boolean,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,System.Int32)">
|
|
@param privateKey
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyParameters.G">
|
|
@return Returns the g.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyParameters.LowerSigmaBound">
|
|
@return Returns the lowerSigmaBound.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.NaccacheSternKeyParameters.Modulus">
|
|
@return Returns the n.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.NaccacheSternPrivateKeyParameters">
|
|
Private key parameters for NaccacheStern cipher. For details on this cipher,
|
|
please see
|
|
|
|
http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.NaccacheSternPrivateKeyParameters.#ctor(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,System.Int32,System.Collections.IList,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructs a NaccacheSternPrivateKey
|
|
|
|
@param g
|
|
the public enryption parameter g
|
|
@param n
|
|
the public modulus n = p*q
|
|
@param lowerSigmaBound
|
|
the public lower sigma bound up to which data can be encrypted
|
|
@param smallPrimes
|
|
the small primes, of which sigma is constructed in the right
|
|
order
|
|
@param phi_n
|
|
the private modulus phi(n) = (p-1)(q-1)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.ParametersWithSalt">
|
|
<summary> Cipher parameters with a fixed salt value associated with them.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters">
|
|
<summary>
|
|
Parameters for the Skein hash function - a series of byte[] strings identified by integer tags.
|
|
</summary>
|
|
<remarks>
|
|
Parameterised Skein can be used for:
|
|
<ul>
|
|
<li>MAC generation, by providing a <see cref="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetKey(System.Byte[])">key</see>.</li>
|
|
<li>Randomised hashing, by providing a <see cref="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetNonce(System.Byte[])">nonce</see>.</li>
|
|
<li>A hash function for digital signatures, associating a
|
|
<see cref="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetPublicKey(System.Byte[])">public key</see> with the message digest.</li>
|
|
<li>A key derivation function, by providing a
|
|
<see cref="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetKeyIdentifier(System.Byte[])">key identifier</see>.</li>
|
|
<li>Personalised hashing, by providing a
|
|
<see cref="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetPersonalisation(System.DateTime,System.String,System.String)">recommended format</see> or
|
|
<see cref="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetPersonalisation(System.Byte[])">arbitrary</see> personalisation string.</li>
|
|
</ul>
|
|
</remarks>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Digests.SkeinEngine"/>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Digests.SkeinDigest"/>
|
|
<seealso cref="T:Org.BouncyCastle.Crypto.Macs.SkeinMac"/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_KEY">
|
|
<summary>
|
|
The parameter type for a secret key, supporting MAC or KDF functions: 0
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_CONFIG">
|
|
<summary>
|
|
The parameter type for the Skein configuration block: 4
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_PERSONALISATION">
|
|
<summary>
|
|
The parameter type for a personalisation string: 8
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_PUBLIC_KEY">
|
|
<summary>
|
|
The parameter type for a public key: 12
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_KEY_IDENTIFIER">
|
|
<summary>
|
|
The parameter type for a key identifier string: 16
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_NONCE">
|
|
<summary>
|
|
The parameter type for a nonce: 20
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_MESSAGE">
|
|
<summary>
|
|
The parameter type for the message: 48
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_OUTPUT">
|
|
<summary>
|
|
The parameter type for the output transformation: 63
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.GetParameters">
|
|
<summary>
|
|
Obtains a map of type (int) to value (byte[]) for the parameters tracked in this object.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.GetKey">
|
|
<summary>
|
|
Obtains the value of the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_KEY">key parameter</see>, or <code>null</code> if not
|
|
set.
|
|
</summary>
|
|
<returns>The key.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.GetPersonalisation">
|
|
<summary>
|
|
Obtains the value of the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_PERSONALISATION">personalisation parameter</see>, or
|
|
<code>null</code> if not set.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.GetPublicKey">
|
|
<summary>
|
|
Obtains the value of the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_PUBLIC_KEY">public key parameter</see>, or
|
|
<code>null</code> if not set.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.GetKeyIdentifier">
|
|
<summary>
|
|
Obtains the value of the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_KEY_IDENTIFIER">key identifier parameter</see>, or
|
|
<code>null</code> if not set.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.GetNonce">
|
|
<summary>
|
|
Obtains the value of the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_NONCE">nonce parameter</see>, or <code>null</code> if
|
|
not set.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder">
|
|
<summary>
|
|
A builder for <see cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.Set(System.Int32,System.Byte[])">
|
|
<summary>
|
|
Sets a parameters to apply to the Skein hash function.
|
|
</summary>
|
|
<remarks>
|
|
Parameter types must be in the range 0,5..62, and cannot use the value 48
|
|
(reserved for message body).
|
|
<p/>
|
|
Parameters with type < 48 are processed before
|
|
the message content, parameters with type > 48
|
|
are processed after the message and prior to output.
|
|
</remarks>
|
|
<param name="type">the type of the parameter, in the range 5..62.</param>
|
|
<param name="value">the byte sequence of the parameter.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetKey(System.Byte[])">
|
|
<summary>
|
|
Sets the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_KEY"/> parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetPersonalisation(System.Byte[])">
|
|
<summary>
|
|
Sets the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_PERSONALISATION"/> parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetPersonalisation(System.DateTime,System.String,System.String)">
|
|
<summary>
|
|
Implements the recommended personalisation format for Skein defined in Section 4.11 of
|
|
the Skein 1.3 specification.
|
|
</summary>
|
|
<remarks>
|
|
The format is <code>YYYYMMDD email@address distinguisher</code>, encoded to a byte
|
|
sequence using UTF-8 encoding.
|
|
</remarks>
|
|
<param name="date">the date the personalised application of the Skein was defined.</param>
|
|
<param name="emailAddress">the email address of the creation of the personalised application.</param>
|
|
<param name="distinguisher">an arbitrary personalisation string distinguishing the application.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetPublicKey(System.Byte[])">
|
|
<summary>
|
|
Sets the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_KEY_IDENTIFIER"/> parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetKeyIdentifier(System.Byte[])">
|
|
<summary>
|
|
Sets the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_KEY_IDENTIFIER"/> parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.SetNonce(System.Byte[])">
|
|
<summary>
|
|
Sets the <see cref="F:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.PARAM_TYPE_NONCE"/> parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Parameters.SkeinParameters.Builder.Build">
|
|
<summary>
|
|
Constructs a new <see cref="T:Org.BouncyCastle.Crypto.Parameters.SkeinParameters"/> instance with the parameters provided to this
|
|
builder.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.SM2KeyExchangePrivateParameters">
|
|
<summary>Private parameters for an SM2 key exchange.</summary>
|
|
<remarks>The ephemeralPrivateKey is used to calculate the random point used in the algorithm.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.SM2KeyExchangePublicParameters">
|
|
<summary>Public parameters for an SM2 key exchange.</summary>
|
|
<remarks>In this case the ephemeralPublicKey provides the random point used in the algorithm.</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Parameters.TweakableBlockCipherParameters">
|
|
<summary>
|
|
Parameters for tweakable block ciphers.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.TweakableBlockCipherParameters.Key">
|
|
<summary>
|
|
Gets the key.
|
|
</summary>
|
|
<value>the key to use, or <code>null</code> to use the current key.</value>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Parameters.TweakableBlockCipherParameters.Tweak">
|
|
<summary>
|
|
Gets the tweak value.
|
|
</summary>
|
|
<value>The tweak to use, or <code>null</code> to use the current tweak.</value>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.PbeParametersGenerator">
|
|
super class for all Password Based Encyrption (Pbe) parameter generator classes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.#ctor">
|
|
base constructor.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.Init(System.Byte[],System.Byte[],System.Int32)">
|
|
initialise the Pbe generator.
|
|
|
|
@param password the password converted into bytes (see below).
|
|
@param salt the salt to be mixed with the password.
|
|
@param iterationCount the number of iterations the "mixing" function
|
|
is to be applied for.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.GetPassword">
|
|
return the password byte array.
|
|
|
|
@return the password byte array.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.GetSalt">
|
|
return the salt byte array.
|
|
|
|
@return the salt byte array.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.PbeParametersGenerator.IterationCount">
|
|
return the iteration count.
|
|
|
|
@return the iteration count.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.GenerateDerivedParameters(System.Int32)">
|
|
Generate derived parameters for a key of length keySize.
|
|
|
|
@param keySize the length, in bits, of the key required.
|
|
@return a parameters object representing a key.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.GenerateDerivedParameters(System.Int32,System.Int32)">
|
|
Generate derived parameters for a key of length keySize, and
|
|
an initialisation vector (IV) of length ivSize.
|
|
|
|
@param keySize the length, in bits, of the key required.
|
|
@param ivSize the length, in bits, of the iv required.
|
|
@return a parameters object representing a key and an IV.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.GenerateDerivedMacParameters(System.Int32)">
|
|
Generate derived parameters for a key of length keySize, specifically
|
|
for use with a MAC.
|
|
|
|
@param keySize the length, in bits, of the key required.
|
|
@return a parameters object representing a key.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.Pkcs5PasswordToBytes(System.Char[])">
|
|
converts a password to a byte array according to the scheme in
|
|
Pkcs5 (ascii, no padding)
|
|
|
|
@param password a character array representing the password.
|
|
@return a byte array representing the password.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.Pkcs5PasswordToUtf8Bytes(System.Char[])">
|
|
converts a password to a byte array according to the scheme in
|
|
PKCS5 (UTF-8, no padding)
|
|
|
|
@param password a character array representing the password.
|
|
@return a byte array representing the password.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.PbeParametersGenerator.Pkcs12PasswordToBytes(System.Char[])">
|
|
converts a password to a byte array according to the scheme in
|
|
Pkcs12 (unicode, big endian, 2 zero pad bytes at the end).
|
|
|
|
@param password a character array representing the password.
|
|
@return a byte array representing the password.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.BasicEntropySourceProvider">
|
|
An EntropySourceProvider where entropy generation is based on a SecureRandom output using SecureRandom.generateSeed().
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.BasicEntropySourceProvider.#ctor(Org.BouncyCastle.Security.SecureRandom,System.Boolean)">
|
|
Create a entropy source provider based on the passed in SecureRandom.
|
|
|
|
@param secureRandom the SecureRandom to base EntropySource construction on.
|
|
@param isPredictionResistant boolean indicating if the SecureRandom is based on prediction resistant entropy or not (true if it is).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.BasicEntropySourceProvider.Get(System.Int32)">
|
|
Return an entropy source that will create bitsRequired bits of entropy on
|
|
each invocation of getEntropy().
|
|
|
|
@param bitsRequired size (in bits) of entropy to be created by the provided source.
|
|
@return an EntropySource that generates bitsRequired bits of entropy on each call to its getEntropy() method.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.CryptoApiRandomGenerator">
|
|
<summary>
|
|
Uses RandomNumberGenerator.Create() to get randomness generator
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.DigestRandomGenerator">
|
|
Random generation based on the digest with counter. Calling AddSeedMaterial will
|
|
always increase the entropy of the hash.
|
|
<p>
|
|
Internal access to the digest is synchronized so a single one of these can be shared.
|
|
</p>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.Drbg.CtrSP800Drbg">
|
|
A SP800-90A CTR DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.CtrSP800Drbg.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32,System.Int32,Org.BouncyCastle.Crypto.IEntropySource,System.Byte[],System.Byte[])">
|
|
Construct a SP800-90A CTR DRBG.
|
|
<p>
|
|
Minimum entropy requirement is the security strength requested.
|
|
</p>
|
|
@param engine underlying block cipher to use to support DRBG
|
|
@param keySizeInBits size of the key to use with the block cipher.
|
|
@param securityStrength security strength required (in bits)
|
|
@param entropySource source of entropy to use for seeding/reseeding.
|
|
@param personalizationString personalization string to distinguish this DRBG (may be null).
|
|
@param nonce nonce to further distinguish this DRBG (may be null).
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Prng.Drbg.CtrSP800Drbg.BlockSize">
|
|
Return the block size (in bits) of the DRBG.
|
|
|
|
@return the number of bits produced on each internal round of the DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.CtrSP800Drbg.Generate(System.Byte[],System.Byte[],System.Boolean)">
|
|
Populate a passed in array with random data.
|
|
|
|
@param output output array for generated bits.
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
@param predictionResistant true if a reseed should be forced, false otherwise.
|
|
|
|
@return number of bits generated, -1 if a reseed required.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.CtrSP800Drbg.Reseed(System.Byte[])">
|
|
Reseed the DRBG.
|
|
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.CtrSP800Drbg.PadKey(System.Byte[],System.Int32,System.Byte[],System.Int32)">
|
|
Pad out a key for TDEA, setting odd parity for each byte.
|
|
|
|
@param keyMaster
|
|
@param keyOff
|
|
@param tmp
|
|
@param tmpOff
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.DrbgUtilities.HashDF(Org.BouncyCastle.Crypto.IDigest,System.Byte[],System.Int32)">
|
|
Used by both Dual EC and Hash.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.Drbg.HashSP800Drbg">
|
|
A SP800-90A Hash DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.HashSP800Drbg.#ctor(Org.BouncyCastle.Crypto.IDigest,System.Int32,Org.BouncyCastle.Crypto.IEntropySource,System.Byte[],System.Byte[])">
|
|
Construct a SP800-90A Hash DRBG.
|
|
<p>
|
|
Minimum entropy requirement is the security strength requested.
|
|
</p>
|
|
@param digest source digest to use for DRB stream.
|
|
@param securityStrength security strength required (in bits)
|
|
@param entropySource source of entropy to use for seeding/reseeding.
|
|
@param personalizationString personalization string to distinguish this DRBG (may be null).
|
|
@param nonce nonce to further distinguish this DRBG (may be null).
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Prng.Drbg.HashSP800Drbg.BlockSize">
|
|
Return the block size (in bits) of the DRBG.
|
|
|
|
@return the number of bits produced on each internal round of the DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.HashSP800Drbg.Generate(System.Byte[],System.Byte[],System.Boolean)">
|
|
Populate a passed in array with random data.
|
|
|
|
@param output output array for generated bits.
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
@param predictionResistant true if a reseed should be forced, false otherwise.
|
|
|
|
@return number of bits generated, -1 if a reseed required.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.HashSP800Drbg.Reseed(System.Byte[])">
|
|
Reseed the DRBG.
|
|
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.Drbg.HMacSP800Drbg">
|
|
A SP800-90A HMAC DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.HMacSP800Drbg.#ctor(Org.BouncyCastle.Crypto.IMac,System.Int32,Org.BouncyCastle.Crypto.IEntropySource,System.Byte[],System.Byte[])">
|
|
Construct a SP800-90A Hash DRBG.
|
|
<p>
|
|
Minimum entropy requirement is the security strength requested.
|
|
</p>
|
|
@param hMac Hash MAC to base the DRBG on.
|
|
@param securityStrength security strength required (in bits)
|
|
@param entropySource source of entropy to use for seeding/reseeding.
|
|
@param personalizationString personalization string to distinguish this DRBG (may be null).
|
|
@param nonce nonce to further distinguish this DRBG (may be null).
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Prng.Drbg.HMacSP800Drbg.BlockSize">
|
|
Return the block size (in bits) of the DRBG.
|
|
|
|
@return the number of bits produced on each round of the DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.HMacSP800Drbg.Generate(System.Byte[],System.Byte[],System.Boolean)">
|
|
Populate a passed in array with random data.
|
|
|
|
@param output output array for generated bits.
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
@param predictionResistant true if a reseed should be forced, false otherwise.
|
|
|
|
@return number of bits generated, -1 if a reseed required.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.HMacSP800Drbg.Reseed(System.Byte[])">
|
|
Reseed the DRBG.
|
|
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.Drbg.ISP80090Drbg">
|
|
Interface to SP800-90A deterministic random bit generators.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Prng.Drbg.ISP80090Drbg.BlockSize">
|
|
Return the block size of the DRBG.
|
|
|
|
@return the block size (in bits) produced by each round of the DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.ISP80090Drbg.Generate(System.Byte[],System.Byte[],System.Boolean)">
|
|
Populate a passed in array with random data.
|
|
|
|
@param output output array for generated bits.
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
@param predictionResistant true if a reseed should be forced, false otherwise.
|
|
|
|
@return number of bits generated, -1 if a reseed required.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.Drbg.ISP80090Drbg.Reseed(System.Byte[])">
|
|
Reseed the DRBG.
|
|
|
|
@param additionalInput additional input to be added to the DRBG in this step.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.EntropyUtilities.GenerateSeed(Org.BouncyCastle.Crypto.IEntropySource,System.Int32)">
|
|
Generate numBytes worth of entropy from the passed in entropy source.
|
|
|
|
@param entropySource the entropy source to request the data from.
|
|
@param numBytes the number of bytes of entropy requested.
|
|
@return a byte array populated with the random data.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.IRandomGenerator">
|
|
<remarks>Generic interface for objects generating random bytes.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.IRandomGenerator.AddSeedMaterial(System.Byte[])">
|
|
<summary>Add more seed material to the generator.</summary>
|
|
<param name="seed">A byte array to be mixed into the generator's state.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.IRandomGenerator.AddSeedMaterial(System.Int64)">
|
|
<summary>Add more seed material to the generator.</summary>
|
|
<param name="seed">A long value to be mixed into the generator's state.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.IRandomGenerator.NextBytes(System.Byte[])">
|
|
<summary>Fill byte array with random values.</summary>
|
|
<param name="bytes">Array to be filled.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.IRandomGenerator.NextBytes(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>Fill byte array with random values.</summary>
|
|
<param name="bytes">Array to receive bytes.</param>
|
|
<param name="start">Index to start filling at.</param>
|
|
<param name="len">Length of segment to fill.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.ReversedWindowGenerator">
|
|
<remarks>
|
|
Takes bytes generated by an underling RandomGenerator and reverses the order in
|
|
each small window (of configurable size).
|
|
<p>
|
|
Access to internals is synchronized so a single one of these can be shared.
|
|
</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.ReversedWindowGenerator.AddSeedMaterial(System.Byte[])">
|
|
<summary>Add more seed material to the generator.</summary>
|
|
<param name="seed">A byte array to be mixed into the generator's state.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.ReversedWindowGenerator.AddSeedMaterial(System.Int64)">
|
|
<summary>Add more seed material to the generator.</summary>
|
|
<param name="seed">A long value to be mixed into the generator's state.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.ReversedWindowGenerator.NextBytes(System.Byte[])">
|
|
<summary>Fill byte array with random values.</summary>
|
|
<param name="bytes">Array to be filled.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.ReversedWindowGenerator.NextBytes(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>Fill byte array with random values.</summary>
|
|
<param name="bytes">Array to receive bytes.</param>
|
|
<param name="start">Index to start filling at.</param>
|
|
<param name="len">Length of segment to fill.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandom.Reseed(System.Byte[])">
|
|
<summary>Force a reseed of the DRBG.</summary>
|
|
<param name="additionalInput">optional additional input</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder">
|
|
Builder class for making SecureRandom objects based on SP 800-90A Deterministic Random Bit Generators (DRBG).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.#ctor">
|
|
Basic constructor, creates a builder using an EntropySourceProvider based on the default SecureRandom with
|
|
predictionResistant set to false.
|
|
<p>
|
|
Any SecureRandom created from a builder constructed like this will make use of input passed to SecureRandom.setSeed() if
|
|
the default SecureRandom does for its generateSeed() call.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.#ctor(Org.BouncyCastle.Security.SecureRandom,System.Boolean)">
|
|
Construct a builder with an EntropySourceProvider based on the passed in SecureRandom and the passed in value
|
|
for prediction resistance.
|
|
<p>
|
|
Any SecureRandom created from a builder constructed like this will make use of input passed to SecureRandom.setSeed() if
|
|
the passed in SecureRandom does for its generateSeed() call.
|
|
</p>
|
|
@param entropySource
|
|
@param predictionResistant
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.#ctor(Org.BouncyCastle.Crypto.IEntropySourceProvider)">
|
|
Create a builder which makes creates the SecureRandom objects from a specified entropy source provider.
|
|
<p>
|
|
<b>Note:</b> If this constructor is used any calls to setSeed() in the resulting SecureRandom will be ignored.
|
|
</p>
|
|
@param entropySourceProvider a provider of EntropySource objects.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.SetPersonalizationString(System.Byte[])">
|
|
Set the personalization string for DRBG SecureRandoms created by this builder
|
|
@param personalizationString the personalisation string for the underlying DRBG.
|
|
@return the current builder.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.SetSecurityStrength(System.Int32)">
|
|
Set the security strength required for DRBGs used in building SecureRandom objects.
|
|
|
|
@param securityStrength the security strength (in bits)
|
|
@return the current builder.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.SetEntropyBitsRequired(System.Int32)">
|
|
Set the amount of entropy bits required for seeding and reseeding DRBGs used in building SecureRandom objects.
|
|
|
|
@param entropyBitsRequired the number of bits of entropy to be requested from the entropy source on each seed/reseed.
|
|
@return the current builder.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.BuildHash(Org.BouncyCastle.Crypto.IDigest,System.Byte[],System.Boolean)">
|
|
Build a SecureRandom based on a SP 800-90A Hash DRBG.
|
|
|
|
@param digest digest algorithm to use in the DRBG underneath the SecureRandom.
|
|
@param nonce nonce value to use in DRBG construction.
|
|
@param predictionResistant specify whether the underlying DRBG in the resulting SecureRandom should reseed on each request for bytes.
|
|
@return a SecureRandom supported by a Hash DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.BuildCtr(Org.BouncyCastle.Crypto.IBlockCipher,System.Int32,System.Byte[],System.Boolean)">
|
|
Build a SecureRandom based on a SP 800-90A CTR DRBG.
|
|
|
|
@param cipher the block cipher to base the DRBG on.
|
|
@param keySizeInBits key size in bits to be used with the block cipher.
|
|
@param nonce nonce value to use in DRBG construction.
|
|
@param predictionResistant specify whether the underlying DRBG in the resulting SecureRandom should reseed on each request for bytes.
|
|
@return a SecureRandom supported by a CTR DRBG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.SP800SecureRandomBuilder.BuildHMac(Org.BouncyCastle.Crypto.IMac,System.Byte[],System.Boolean)">
|
|
Build a SecureRandom based on a SP 800-90A HMAC DRBG.
|
|
|
|
@param hMac HMAC algorithm to use in the DRBG underneath the SecureRandom.
|
|
@param nonce nonce value to use in DRBG construction.
|
|
@param predictionResistant specify whether the underlying DRBG in the resulting SecureRandom should reseed on each request for bytes.
|
|
@return a SecureRandom supported by a HMAC DRBG.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Prng.ThreadedSeedGenerator">
|
|
A thread based seed generator - one source of randomness.
|
|
<p>
|
|
Based on an idea from Marcus Lippert.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.ThreadedSeedGenerator.GenerateSeed(System.Int32,System.Boolean)">
|
|
Generate seed bytes. Set fast to false for best quality.
|
|
<p>
|
|
If fast is set to true, the code should be round about 8 times faster when
|
|
generating a long sequence of random bytes. 20 bytes of random values using
|
|
the fast mode take less than half a second on a Nokia e70. If fast is set to false,
|
|
it takes round about 2500 ms.
|
|
</p>
|
|
@param numBytes the number of bytes to generate
|
|
@param fast true if fast mode should be used
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Prng.VmpcRandomGenerator.P">
|
|
<remarks>
|
|
Permutation generated by code:
|
|
<code>
|
|
// First 1850 fractional digit of Pi number.
|
|
byte[] key = new BigInteger("14159265358979323846...5068006422512520511").ToByteArray();
|
|
s = 0;
|
|
P = new byte[256];
|
|
for (int i = 0; i < 256; i++)
|
|
{
|
|
P[i] = (byte) i;
|
|
}
|
|
for (int m = 0; m < 768; m++)
|
|
{
|
|
s = P[(s + P[m & 0xff] + key[m % key.length]) & 0xff];
|
|
byte temp = P[m & 0xff];
|
|
P[m & 0xff] = P[s & 0xff];
|
|
P[s & 0xff] = temp;
|
|
} </code>
|
|
</remarks>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Prng.VmpcRandomGenerator.s">
|
|
<remarks>Value generated in the same way as <c>P</c>.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.X931Rng.#ctor(Org.BouncyCastle.Crypto.IBlockCipher,System.Byte[],Org.BouncyCastle.Crypto.IEntropySource)">
|
|
|
|
@param engine
|
|
@param entropySource
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.X931Rng.Generate(System.Byte[],System.Boolean)">
|
|
Populate a passed in array with random data.
|
|
|
|
@param output output array for generated bits.
|
|
@param predictionResistant true if a reseed should be forced, false otherwise.
|
|
|
|
@return number of bits generated, -1 if a reseed required.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.X931Rng.Reseed">
|
|
Reseed the RNG.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.X931SecureRandomBuilder.#ctor">
|
|
Basic constructor, creates a builder using an EntropySourceProvider based on the default SecureRandom with
|
|
predictionResistant set to false.
|
|
<p>
|
|
Any SecureRandom created from a builder constructed like this will make use of input passed to SecureRandom.setSeed() if
|
|
the default SecureRandom does for its generateSeed() call.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.X931SecureRandomBuilder.#ctor(Org.BouncyCastle.Security.SecureRandom,System.Boolean)">
|
|
Construct a builder with an EntropySourceProvider based on the passed in SecureRandom and the passed in value
|
|
for prediction resistance.
|
|
<p>
|
|
Any SecureRandom created from a builder constructed like this will make use of input passed to SecureRandom.setSeed() if
|
|
the passed in SecureRandom does for its generateSeed() call.
|
|
</p>
|
|
@param entropySource
|
|
@param predictionResistant
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.X931SecureRandomBuilder.#ctor(Org.BouncyCastle.Crypto.IEntropySourceProvider)">
|
|
Create a builder which makes creates the SecureRandom objects from a specified entropy source provider.
|
|
<p>
|
|
<b>Note:</b> If this constructor is used any calls to setSeed() in the resulting SecureRandom will be ignored.
|
|
</p>
|
|
@param entropySourceProvider a provider of EntropySource objects.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Prng.X931SecureRandomBuilder.Build(Org.BouncyCastle.Crypto.IBlockCipher,Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Boolean)">
|
|
Construct a X9.31 secure random generator using the passed in engine and key. If predictionResistant is true the
|
|
generator will be reseeded on each request.
|
|
|
|
@param engine a block cipher to use as the operator.
|
|
@param key the block cipher key to initialise engine with.
|
|
@param predictionResistant true if engine to be reseeded on each use, false otherwise.
|
|
@return a SecureRandom.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaDigestSigner.Update(System.Byte)">
|
|
update the internal digest with the byte b
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaDigestSigner.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the internal digest with the byte array in
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaDigestSigner.GenerateSignature">
|
|
Generate a signature for the message we've been loaded with using
|
|
the key we were initialised with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaDigestSigner.VerifySignature(System.Byte[])">
|
|
<returns>true if the internal state represents the signature described in the passed in array.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaDigestSigner.Reset">
|
|
<summary>Reset the internal state</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.DsaSigner">
|
|
The Digital Signature Algorithm - as described in "Handbook of Applied
|
|
Cryptography", pages 452 - 453.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaSigner.#ctor">
|
|
Default configuration, random K values.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaSigner.#ctor(Org.BouncyCastle.Crypto.Signers.IDsaKCalculator)">
|
|
Configuration with an alternate, possibly deterministic calculator of K.
|
|
|
|
@param kCalculator a K value calculator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaSigner.GenerateSignature(System.Byte[])">
|
|
Generate a signature for the given message using the key we were
|
|
initialised with. For conventional DSA the message should be a SHA-1
|
|
hash of the message of interest.
|
|
|
|
@param message the message that will be verified later.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.DsaSigner.VerifySignature(System.Byte[],Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
return true if the value r and s represent a DSA signature for
|
|
the passed in message for standard DSA the message should be a
|
|
SHA-1 hash of the real message to be verified.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.ECDsaSigner">
|
|
EC-DSA as described in X9.62
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECDsaSigner.#ctor">
|
|
Default configuration, random K values.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECDsaSigner.#ctor(Org.BouncyCastle.Crypto.Signers.IDsaKCalculator)">
|
|
Configuration with an alternate, possibly deterministic calculator of K.
|
|
|
|
@param kCalculator a K value calculator.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECDsaSigner.GenerateSignature(System.Byte[])">
|
|
Generate a signature for the given message using the key we were
|
|
initialised with. For conventional DSA the message should be a SHA-1
|
|
hash of the message of interest.
|
|
|
|
@param message the message that will be verified later.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECDsaSigner.VerifySignature(System.Byte[],Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
return true if the value r and s represent a DSA signature for
|
|
the passed in message (for standard DSA the message should be
|
|
a SHA-1 hash of the real message to be verified).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.ECGost3410Signer">
|
|
GOST R 34.10-2001 Signature Algorithm
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECGost3410Signer.GenerateSignature(System.Byte[])">
|
|
generate a signature for the given message using the key we were
|
|
initialised with. For conventional GOST3410 the message should be a GOST3411
|
|
hash of the message of interest.
|
|
|
|
@param message the message that will be verified later.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECGost3410Signer.VerifySignature(System.Byte[],Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
return true if the value r and s represent a GOST3410 signature for
|
|
the passed in message (for standard GOST3410 the message should be
|
|
a GOST3411 hash of the real message to be verified).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.ECNRSigner">
|
|
EC-NR as described in IEEE 1363-2000
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECNRSigner.GenerateSignature(System.Byte[])">
|
|
generate a signature for the given message using the key we were
|
|
initialised with. Generally, the order of the curve should be at
|
|
least as long as the hash of the message of interest, and with
|
|
ECNR it *must* be at least as long.
|
|
|
|
@param digest the digest to be signed.
|
|
@exception DataLengthException if the digest is longer than the key allows
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.ECNRSigner.VerifySignature(System.Byte[],Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
return true if the value r and s represent a signature for the
|
|
message passed in. Generally, the order of the curve should be at
|
|
least as long as the hash of the message of interest, and with
|
|
ECNR, it *must* be at least as long. But just in case the signer
|
|
applied mod(n) to the longer digest, this implementation will
|
|
apply mod(n) during verification.
|
|
|
|
@param digest the digest to be verified.
|
|
@param r the r value of the signature.
|
|
@param s the s value of the signature.
|
|
@exception DataLengthException if the digest is longer than the key allows
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.GenericSigner.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the signer for signing or verification.
|
|
|
|
@param forSigning
|
|
true if for signing, false otherwise
|
|
@param parameters
|
|
necessary parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.GenericSigner.Update(System.Byte)">
|
|
update the internal digest with the byte b
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.GenericSigner.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the internal digest with the byte array in
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.GenericSigner.GenerateSignature">
|
|
Generate a signature for the message we've been loaded with using the key
|
|
we were initialised with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.GenericSigner.VerifySignature(System.Byte[])">
|
|
return true if the internal state represents the signature described in
|
|
the passed in array.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Gost3410DigestSigner.Update(System.Byte)">
|
|
update the internal digest with the byte b
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Gost3410DigestSigner.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the internal digest with the byte array in
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Gost3410DigestSigner.GenerateSignature">
|
|
Generate a signature for the message we've been loaded with using
|
|
the key we were initialised with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Gost3410DigestSigner.VerifySignature(System.Byte[])">
|
|
<returns>true if the internal state represents the signature described in the passed in array.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Gost3410DigestSigner.Reset">
|
|
<summary>Reset the internal state</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.Gost3410Signer">
|
|
Gost R 34.10-94 Signature Algorithm
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Gost3410Signer.GenerateSignature(System.Byte[])">
|
|
generate a signature for the given message using the key we were
|
|
initialised with. For conventional Gost3410 the message should be a Gost3411
|
|
hash of the message of interest.
|
|
|
|
@param message the message that will be verified later.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Gost3410Signer.VerifySignature(System.Byte[],Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
return true if the value r and s represent a Gost3410 signature for
|
|
the passed in message for standard Gost3410 the message should be a
|
|
Gost3411 hash of the real message to be verified.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator">
|
|
A deterministic K calculator based on the algorithm in section 3.2 of RFC 6979.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Base constructor.
|
|
|
|
@param digest digest to build the HMAC on.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.IDsaEncoding">
|
|
<summary>
|
|
An interface for different encoding formats for DSA signatures.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.IDsaEncoding.Decode(Org.BouncyCastle.Math.BigInteger,System.Byte[])">
|
|
<summary>Decode the (r, s) pair of a DSA signature.</summary>
|
|
<param name="n">The order of the group that r, s belong to.</param>
|
|
<param name="encoding">An encoding of the (r, s) pair of a DSA signature.</param>
|
|
<returns>The (r, s) of a DSA signature, stored in an array of exactly two elements, r followed by s.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.IDsaEncoding.Encode(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>Encode the (r, s) pair of a DSA signature.</summary>
|
|
<param name="n">The order of the group that r, s belong to.</param>
|
|
<param name="r">The r value of a DSA signature.</param>
|
|
<param name="s">The s value of a DSA signature.</param>
|
|
<returns>An encoding of the DSA signature given by the provided (r, s) pair.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.IDsaKCalculator">
|
|
Interface define calculators of K values for DSA/ECDSA.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Signers.IDsaKCalculator.IsDeterministic">
|
|
Return true if this calculator is deterministic, false otherwise.
|
|
|
|
@return true if deterministic, otherwise false.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.IDsaKCalculator.Init(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Security.SecureRandom)">
|
|
Non-deterministic initialiser.
|
|
|
|
@param n the order of the DSA group.
|
|
@param random a source of randomness.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.IDsaKCalculator.Init(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,System.Byte[])">
|
|
Deterministic initialiser.
|
|
|
|
@param n the order of the DSA group.
|
|
@param d the DSA private value.
|
|
@param message the message being signed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.IDsaKCalculator.NextK">
|
|
Return the next valid value of K.
|
|
|
|
@return a K value.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner">
|
|
<summary> ISO9796-2 - mechanism using a hash function with recovery (scheme 2 and 3).
|
|
<p>
|
|
Note: the usual length for the salt is the length of the hash
|
|
function used in bytes.</p>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.GetRecoveredMessage">
|
|
<summary>
|
|
Return a reference to the recoveredMessage message.
|
|
</summary>
|
|
<returns>The full/partial recoveredMessage message.</returns>
|
|
<seealso cref="M:Org.BouncyCastle.Crypto.ISignerWithRecovery.GetRecoveredMessage"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest,System.Int32,System.Boolean)">
|
|
<summary>
|
|
Generate a signer with either implicit or explicit trailers for ISO9796-2, scheme 2 or 3.
|
|
</summary>
|
|
<param name="cipher">base cipher to use for signature creation/verification</param>
|
|
<param name="digest">digest to use.</param>
|
|
<param name="saltLength">length of salt in bytes.</param>
|
|
<param name="isImplicit">whether or not the trailer is implicit or gives the hash.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest,System.Int32)">
|
|
<summary> Constructor for a signer with an explicit digest trailer.
|
|
|
|
</summary>
|
|
<param name="cipher">cipher to use.
|
|
</param>
|
|
<param name="digest">digest to sign with.
|
|
</param>
|
|
<param name="saltLength">length of salt in bytes.
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
<summary>Initialise the signer.</summary>
|
|
<param name="forSigning">true if for signing, false if for verification.</param>
|
|
<param name="parameters">parameters for signature generation/verification. If the
|
|
parameters are for generation they should be a ParametersWithRandom,
|
|
a ParametersWithSalt, or just an RsaKeyParameters object. If RsaKeyParameters
|
|
are passed in a SecureRandom will be created.
|
|
</param>
|
|
<exception cref="T:System.ArgumentException">if wrong parameter type or a fixed
|
|
salt is passed in which is the wrong length.
|
|
</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.IsSameAs(System.Byte[],System.Byte[])">
|
|
<summary> compare two byte arrays - constant time.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.ClearBlock(System.Byte[])">
|
|
<summary> clear possible sensitive data</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.Update(System.Byte)">
|
|
<summary> update the internal digest with the byte b</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
<summary> update the internal digest with the byte array in</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.Reset">
|
|
<summary> reset the internal state</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.GenerateSignature">
|
|
<summary> Generate a signature for the loaded message using the key we were
|
|
initialised with.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.VerifySignature(System.Byte[])">
|
|
<summary> return true if the signature represents a ISO9796-2 signature
|
|
for the passed in message.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.HasFullMessage">
|
|
<summary>
|
|
Return true if the full message was recoveredMessage.
|
|
</summary>
|
|
<returns>true on full message recovery, false otherwise, or if not sure.</returns>
|
|
<seealso cref="M:Org.BouncyCastle.Crypto.ISignerWithRecovery.HasFullMessage"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.ItoOSP(System.Int32,System.Byte[])">
|
|
<summary> int to octet string.</summary>
|
|
<summary> int to octet string.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.LtoOSP(System.Int64,System.Byte[])">
|
|
<summary> long to octet string.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2PssSigner.MaskGeneratorFunction1(System.Byte[],System.Int32,System.Int32,System.Int32)">
|
|
<summary> mask generator function, as described in Pkcs1v2.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer">
|
|
<summary> ISO9796-2 - mechanism using a hash function with recovery (scheme 1)</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.GetRecoveredMessage">
|
|
<summary>
|
|
Return a reference to the recoveredMessage message.
|
|
</summary>
|
|
<returns>The full/partial recoveredMessage message.</returns>
|
|
<seealso cref="M:Org.BouncyCastle.Crypto.ISignerWithRecovery.GetRecoveredMessage"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest,System.Boolean)">
|
|
<summary>
|
|
Generate a signer with either implicit or explicit trailers for ISO9796-2.
|
|
</summary>
|
|
<param name="cipher">base cipher to use for signature creation/verification</param>
|
|
<param name="digest">digest to use.</param>
|
|
<param name="isImplicit">whether or not the trailer is implicit or gives the hash.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest)">
|
|
<summary> Constructor for a signer with an explicit digest trailer.
|
|
|
|
</summary>
|
|
<param name="cipher">cipher to use.
|
|
</param>
|
|
<param name="digest">digest to sign with.
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.IsSameAs(System.Byte[],System.Byte[])">
|
|
<summary> compare two byte arrays - constant time.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.ClearBlock(System.Byte[])">
|
|
<summary> clear possible sensitive data</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.Update(System.Byte)">
|
|
<summary> update the internal digest with the byte b</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
<summary> update the internal digest with the byte array in</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.Reset">
|
|
<summary> reset the internal state</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.GenerateSignature">
|
|
<summary> Generate a signature for the loaded message using the key we were
|
|
initialised with.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.VerifySignature(System.Byte[])">
|
|
<summary> return true if the signature represents a ISO9796-2 signature
|
|
for the passed in message.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer.HasFullMessage">
|
|
<summary>
|
|
Return true if the full message was recoveredMessage.
|
|
</summary>
|
|
<returns> true on full message recovery, false otherwise.</returns>
|
|
<seealso cref="M:Org.BouncyCastle.Crypto.ISignerWithRecovery.HasFullMessage"/>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.PssSigner">
|
|
<summary> RSA-PSS as described in Pkcs# 1 v 2.1.
|
|
<p>
|
|
Note: the usual value for the salt length is the number of
|
|
bytes in the hash function.</p>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest,System.Int32)">
|
|
<summary>Basic constructor</summary>
|
|
<param name="cipher">the asymmetric cipher to use.</param>
|
|
<param name="digest">the digest to use.</param>
|
|
<param name="saltLen">the length of the salt to use (in bytes).</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest,System.Byte[])">
|
|
<summary>Basic constructor</summary>
|
|
<param name="cipher">the asymmetric cipher to use.</param>
|
|
<param name="digest">the digest to use.</param>
|
|
<param name="salt">the fixed salt to be used.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.ClearBlock(System.Byte[])">
|
|
<summary> clear possible sensitive data</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.Update(System.Byte)">
|
|
<summary> update the internal digest with the byte b</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
<summary> update the internal digest with the byte array in</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.Reset">
|
|
<summary> reset the internal state</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.GenerateSignature">
|
|
<summary> Generate a signature for the message we've been loaded with using
|
|
the key we were initialised with.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.VerifySignature(System.Byte[])">
|
|
<summary> return true if the internal state represents the signature described
|
|
in the passed in array.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.ItoOSP(System.Int32,System.Byte[])">
|
|
<summary> int to octet string.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.PssSigner.MaskGeneratorFunction1(System.Byte[],System.Int32,System.Int32,System.Int32)">
|
|
<summary> mask generator function, as described in Pkcs1v2.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.RsaDigestSigner.#cctor">
|
|
<summary>
|
|
Load oid table.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.RsaDigestSigner.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
Initialise the signer for signing or verification.
|
|
|
|
@param forSigning true if for signing, false otherwise
|
|
@param param necessary parameters.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.RsaDigestSigner.Update(System.Byte)">
|
|
update the internal digest with the byte b
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.RsaDigestSigner.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the internal digest with the byte array in
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.RsaDigestSigner.GenerateSignature">
|
|
Generate a signature for the message we've been loaded with using
|
|
the key we were initialised with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.RsaDigestSigner.VerifySignature(System.Byte[])">
|
|
return true if the internal state represents the signature described
|
|
in the passed in array.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.SM2Signer">
|
|
<summary>The SM2 Digital Signature algorithm.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Signers.X931Signer">
|
|
X9.31-1998 - signing using a hash.
|
|
<p>
|
|
The message digest hash, H, is encapsulated to form a byte string as follows
|
|
</p>
|
|
<pre>
|
|
EB = 06 || PS || 0xBA || H || TRAILER
|
|
</pre>
|
|
where PS is a string of bytes all of value 0xBB of length such that |EB|=|n|, and TRAILER is the ISO/IEC 10118 part number†for the digest. The byte string, EB, is converted to an integer value, the message representative, f.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest,System.Boolean)">
|
|
Generate a signer with either implicit or explicit trailers for X9.31.
|
|
|
|
@param cipher base cipher to use for signature creation/verification
|
|
@param digest digest to use.
|
|
@param implicit whether or not the trailer is implicit or gives the hash.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.#ctor(Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,Org.BouncyCastle.Crypto.IDigest)">
|
|
Constructor for a signer with an explicit digest trailer.
|
|
|
|
@param cipher cipher to use.
|
|
@param digest digest to sign with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.ClearBlock(System.Byte[])">
|
|
<summary> clear possible sensitive data</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.Update(System.Byte)">
|
|
update the internal digest with the byte b
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
update the internal digest with the byte array in
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.Reset">
|
|
reset the internal state
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.GenerateSignature">
|
|
generate a signature for the loaded message using the key we were
|
|
initialised with.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Signers.X931Signer.VerifySignature(System.Byte[])">
|
|
return true if the signature represents a ISO9796-2 signature
|
|
for the passed in message.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.SimpleBlockResult">
|
|
<summary>
|
|
A simple block result object which just carries a byte array.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.SimpleBlockResult.#ctor(System.Byte[])">
|
|
<summary>
|
|
Base constructor - a wrapper for the passed in byte array.
|
|
</summary>
|
|
<param name="result">The byte array to be wrapped.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.SimpleBlockResult.Length">
|
|
<summary>
|
|
Return the number of bytes in the result
|
|
</summary>
|
|
<value>The length of the result in bytes.</value>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.SimpleBlockResult.Collect">
|
|
<summary>
|
|
Return the final result of the operation.
|
|
</summary>
|
|
<returns>A block of bytes, representing the result of an operation.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.SimpleBlockResult.Collect(System.Byte[],System.Int32)">
|
|
<summary>
|
|
Store the final result of the operation by copying it into the destination array.
|
|
</summary>
|
|
<returns>The number of bytes copied into destination.</returns>
|
|
<param name="destination">The byte array to copy the result into.</param>
|
|
<param name="offset">The offset into destination to start copying the result at.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.StreamBlockCipher">
|
|
a wrapper for block ciphers with a single byte block size, so that they
|
|
can be treated like stream ciphers.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.StreamBlockCipher.#ctor(Org.BouncyCastle.Crypto.IBlockCipher)">
|
|
basic constructor.
|
|
|
|
@param cipher the block cipher to be wrapped.
|
|
@exception ArgumentException if the cipher has a block size other than
|
|
one.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.StreamBlockCipher.Init(System.Boolean,Org.BouncyCastle.Crypto.ICipherParameters)">
|
|
initialise the underlying cipher.
|
|
|
|
@param forEncryption true if we are setting up for encryption, false otherwise.
|
|
@param param the necessary parameters for the underlying cipher to be initialised.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.StreamBlockCipher.AlgorithmName">
|
|
return the name of the algorithm we are wrapping.
|
|
|
|
@return the name of the algorithm we are wrapping.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.StreamBlockCipher.ReturnByte(System.Byte)">
|
|
encrypt/decrypt a single byte returning the result.
|
|
|
|
@param in the byte to be processed.
|
|
@return the result of processing the input byte.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.StreamBlockCipher.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
process a block of bytes from in putting the result into out.
|
|
|
|
@param in the input byte array.
|
|
@param inOff the offset into the in array where the data to be processed starts.
|
|
@param len the number of bytes to be processed.
|
|
@param out the output buffer the processed bytes go into.
|
|
@param outOff the offset into the output byte array the processed data stars at.
|
|
@exception DataLengthException if the output buffer is too small.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.StreamBlockCipher.Reset">
|
|
reset the underlying cipher. This leaves it in the same state
|
|
it was at after the last init (if there was one).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.AbstractTlsAgreementCredentials.GenerateAgreement(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.AbstractTlsCipherFactory.CreateCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.AbstractTlsEncryptionCredentials.DecryptPreMasterSecret(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.AbstractTlsPeer.Cancel">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.AbstractTlsSignerCredentials.GenerateCertificateSignature(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.AlertDescription">
|
|
<summary>
|
|
RFC 5246 7.2
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.close_notify">
|
|
This message notifies the recipient that the sender will not send any more messages on this
|
|
connection. Note that as of TLS 1.1, failure to properly close a connection no longer
|
|
requires that a session not be resumed. This is a change from TLS 1.0 ("The session becomes
|
|
unresumable if any connection is terminated without proper close_notify messages with level
|
|
equal to warning.") to conform with widespread implementation practice.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.unexpected_message">
|
|
An inappropriate message was received. This alert is always fatal and should never be
|
|
observed in communication between proper implementations.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.bad_record_mac">
|
|
This alert is returned if a record is received with an incorrect MAC. This alert also MUST be
|
|
returned if an alert is sent because a TLSCiphertext decrypted in an invalid way: either it
|
|
wasn't an even multiple of the block length, or its padding values, when checked, weren't
|
|
correct. This message is always fatal and should never be observed in communication between
|
|
proper implementations (except when messages were corrupted in the network).
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.decryption_failed">
|
|
This alert was used in some earlier versions of TLS, and may have permitted certain attacks
|
|
against the CBC mode [CBCATT]. It MUST NOT be sent by compliant implementations.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.record_overflow">
|
|
A TLSCiphertext record was received that had a length more than 2^14+2048 bytes, or a record
|
|
decrypted to a TLSCompressed record with more than 2^14+1024 bytes. This message is always
|
|
fatal and should never be observed in communication between proper implementations (except
|
|
when messages were corrupted in the network).
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.decompression_failure">
|
|
The decompression function received improper input (e.g., data that would expand to excessive
|
|
length). This message is always fatal and should never be observed in communication between
|
|
proper implementations.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.handshake_failure">
|
|
Reception of a handshake_failure alert message indicates that the sender was unable to
|
|
negotiate an acceptable set of security parameters given the options available. This is a
|
|
fatal error.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.no_certificate">
|
|
This alert was used in SSLv3 but not any version of TLS. It MUST NOT be sent by compliant
|
|
implementations.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.bad_certificate">
|
|
A certificate was corrupt, contained signatures that did not verify correctly, etc.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.unsupported_certificate">
|
|
A certificate was of an unsupported type.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.certificate_revoked">
|
|
A certificate was revoked by its signer.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.certificate_expired">
|
|
A certificate has expired or is not currently valid.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.certificate_unknown">
|
|
Some other (unspecified) issue arose in processing the certificate, rendering it
|
|
unacceptable.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.illegal_parameter">
|
|
A field in the handshake was out of range or inconsistent with other fields. This message is
|
|
always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.unknown_ca">
|
|
A valid certificate chain or partial chain was received, but the certificate was not accepted
|
|
because the CA certificate could not be located or couldn't be matched with a known, trusted
|
|
CA. This message is always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.access_denied">
|
|
A valid certificate was received, but when access control was applied, the sender decided not
|
|
to proceed with negotiation. This message is always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.decode_error">
|
|
A message could not be decoded because some field was out of the specified range or the
|
|
length of the message was incorrect. This message is always fatal and should never be
|
|
observed in communication between proper implementations (except when messages were corrupted
|
|
in the network).
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.decrypt_error">
|
|
A handshake cryptographic operation failed, including being unable to correctly verify a
|
|
signature or validate a Finished message. This message is always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.export_restriction">
|
|
This alert was used in some earlier versions of TLS. It MUST NOT be sent by compliant
|
|
implementations.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.protocol_version">
|
|
The protocol version the client has attempted to negotiate is recognized but not supported.
|
|
(For example, old protocol versions might be avoided for security reasons.) This message is
|
|
always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.insufficient_security">
|
|
Returned instead of handshake_failure when a negotiation has failed specifically because the
|
|
server requires ciphers more secure than those supported by the client. This message is
|
|
always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.internal_error">
|
|
An internal error unrelated to the peer or the correctness of the protocol (such as a memory
|
|
allocation failure) makes it impossible to continue. This message is always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.user_canceled">
|
|
This handshake is being canceled for some reason unrelated to a protocol failure. If the user
|
|
cancels an operation after the handshake is complete, just closing the connection by sending
|
|
a close_notify is more appropriate. This alert should be followed by a close_notify. This
|
|
message is generally a warning.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.no_renegotiation">
|
|
Sent by the client in response to a hello request or by the server in response to a client
|
|
hello after initial handshaking. Either of these would normally lead to renegotiation; when
|
|
that is not appropriate, the recipient should respond with this alert. At that point, the
|
|
original requester can decide whether to proceed with the connection. One case where this
|
|
would be appropriate is where a server has spawned a process to satisfy a request; the
|
|
process might receive security parameters (key length, authentication, etc.) at startup, and
|
|
it might be difficult to communicate changes to these parameters after that point. This
|
|
message is always a warning.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.unsupported_extension">
|
|
Sent by clients that receive an extended server hello containing an extension that they did
|
|
not put in the corresponding client hello. This message is always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.certificate_unobtainable">
|
|
This alert is sent by servers who are unable to retrieve a certificate chain from the URL
|
|
supplied by the client (see Section 3.3). This message MAY be fatal - for example if client
|
|
authentication is required by the server for the handshake to continue and the server is
|
|
unable to retrieve the certificate chain, it may send a fatal alert.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.unrecognized_name">
|
|
This alert is sent by servers that receive a server_name extension request, but do not
|
|
recognize the server name. This message MAY be fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.bad_certificate_status_response">
|
|
This alert is sent by clients that receive an invalid certificate status response (see
|
|
Section 3.6). This message is always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.bad_certificate_hash_value">
|
|
This alert is sent by servers when a certificate hash does not match a client provided
|
|
certificate_hash. This message is always fatal.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.unknown_psk_identity">
|
|
If the server does not recognize the PSK identity, it MAY respond with an
|
|
"unknown_psk_identity" alert message.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.inappropriate_fallback">
|
|
If TLS_FALLBACK_SCSV appears in ClientHello.cipher_suites and the highest protocol version
|
|
supported by the server is higher than the version indicated in ClientHello.client_version,
|
|
the server MUST respond with a fatal inappropriate_fallback alert [..].
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.AlertLevel">
|
|
<summary>
|
|
RFC 5246 7.2
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.BulkCipherAlgorithm">
|
|
<summary>RFC 2246</summary>
|
|
<remarks>
|
|
Note that the values here are implementation-specific and arbitrary. It is recommended not to
|
|
depend on the particular values (e.g. serialization).
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.ByteQueue">
|
|
<remarks>
|
|
A queue for bytes.
|
|
<p>
|
|
This file could be more optimized.
|
|
</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ByteQueue.NextTwoPow(System.Int32)">
|
|
<returns>The smallest number which can be written as 2^x which is bigger than i.</returns>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.ByteQueue.DefaultCapacity">
|
|
The initial size for our buffer.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.ByteQueue.databuf">
|
|
The buffer where we store our data.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.ByteQueue.skipped">
|
|
How many bytes at the beginning of the buffer are skipped.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.ByteQueue.available">
|
|
How many bytes in the buffer are valid data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ByteQueue.AddData(System.Byte[],System.Int32,System.Int32)">
|
|
<summary>Add some data to our buffer.</summary>
|
|
<param name="data">A byte-array to read data from.</param>
|
|
<param name="offset">How many bytes to skip at the beginning of the array.</param>
|
|
<param name="len">How many bytes to read from the array.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.ByteQueue.Available">
|
|
<summary>The number of bytes which are available in this buffer.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ByteQueue.CopyTo(System.IO.Stream,System.Int32)">
|
|
<summary>Copy some bytes from the beginning of the data to the provided <c cref="T:System.IO.Stream">Stream</c>.</summary>
|
|
<param name="output">The <c cref="T:System.IO.Stream">Stream</c> to copy the bytes to.</param>
|
|
<param name="length">How many bytes to copy.</param>
|
|
<exception cref="T:System.InvalidOperationException">If insufficient data is available.</exception>
|
|
<exception cref="T:System.IO.IOException">If there is a problem copying the data.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ByteQueue.Read(System.Byte[],System.Int32,System.Int32,System.Int32)">
|
|
<summary>Read data from the buffer.</summary>
|
|
<param name="buf">The buffer where the read data will be copied to.</param>
|
|
<param name="offset">How many bytes to skip at the beginning of buf.</param>
|
|
<param name="len">How many bytes to read at all.</param>
|
|
<param name="skip">How many bytes from our data to skip.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ByteQueue.ReadFrom(System.Int32)">
|
|
<summary>Return a <c cref="T:System.IO.MemoryStream">MemoryStream</c> over some bytes at the beginning of the data.</summary>
|
|
<param name="length">How many bytes will be readable.</param>
|
|
<returns>A <c cref="T:System.IO.MemoryStream">MemoryStream</c> over the data.</returns>
|
|
<exception cref="T:System.InvalidOperationException">If insufficient data is available.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ByteQueue.RemoveData(System.Int32)">
|
|
<summary>Remove some bytes from our data from the beginning.</summary>
|
|
<param name="i">How many bytes to remove.</param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.Certificate">
|
|
Parsing and encoding of a <i>Certificate</i> struct from RFC 4346.
|
|
<p/>
|
|
<pre>
|
|
opaque ASN.1Cert<2^24-1>;
|
|
|
|
struct {
|
|
ASN.1Cert certificate_list<0..2^24-1>;
|
|
} Certificate;
|
|
</pre>
|
|
|
|
@see Org.BouncyCastle.Asn1.X509.X509CertificateStructure
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.Certificate.mCertificateList">
|
|
The certificates.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Certificate.GetCertificateList">
|
|
@return an array of {@link org.bouncycastle.asn1.x509.Certificate} representing a certificate
|
|
chain.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.Certificate.IsEmpty">
|
|
@return <code>true</code> if this certificate chain contains no certificates, or
|
|
<code>false</code> otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Certificate.Encode(System.IO.Stream)">
|
|
Encode this {@link Certificate} to a {@link Stream}.
|
|
|
|
@param output the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Certificate.Parse(System.IO.Stream)">
|
|
Parse a {@link Certificate} from a {@link Stream}.
|
|
|
|
@param input the {@link Stream} to parse from.
|
|
@return a {@link Certificate} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.CertificateRequest">
|
|
Parsing and encoding of a <i>CertificateRequest</i> struct from RFC 4346.
|
|
<p/>
|
|
<pre>
|
|
struct {
|
|
ClientCertificateType certificate_types<1..2^8-1>;
|
|
DistinguishedName certificate_authorities<3..2^16-1>
|
|
} CertificateRequest;
|
|
</pre>
|
|
|
|
@see ClientCertificateType
|
|
@see X509Name
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateRequest.#ctor(System.Byte[],System.Collections.IList,System.Collections.IList)">
|
|
@param certificateTypes see {@link ClientCertificateType} for valid constants.
|
|
@param certificateAuthorities an {@link IList} of {@link X509Name}.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.CertificateRequest.CertificateTypes">
|
|
@return an array of certificate types
|
|
@see {@link ClientCertificateType}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.CertificateRequest.SupportedSignatureAlgorithms">
|
|
@return an {@link IList} of {@link SignatureAndHashAlgorithm} (or null before TLS 1.2).
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.CertificateRequest.CertificateAuthorities">
|
|
@return an {@link IList} of {@link X509Name}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateRequest.Encode(System.IO.Stream)">
|
|
Encode this {@link CertificateRequest} to a {@link Stream}.
|
|
|
|
@param output the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateRequest.Parse(Org.BouncyCastle.Crypto.Tls.TlsContext,System.IO.Stream)">
|
|
Parse a {@link CertificateRequest} from a {@link Stream}.
|
|
|
|
@param context
|
|
the {@link TlsContext} of the current connection.
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link CertificateRequest} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateStatus.Encode(System.IO.Stream)">
|
|
Encode this {@link CertificateStatus} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateStatus.Parse(System.IO.Stream)">
|
|
Parse a {@link CertificateStatus} from a {@link Stream}.
|
|
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link CertificateStatus} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest.Encode(System.IO.Stream)">
|
|
Encode this {@link CertificateStatusRequest} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest.Parse(System.IO.Stream)">
|
|
Parse a {@link CertificateStatusRequest} from a {@link Stream}.
|
|
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link CertificateStatusRequest} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.CertificateType">
|
|
RFC 6091
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateUrl.#ctor(System.Byte,System.Collections.IList)">
|
|
@param type
|
|
see {@link CertChainType} for valid constants.
|
|
@param urlAndHashList
|
|
a {@link IList} of {@link UrlAndHash}.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.CertificateUrl.Type">
|
|
@return {@link CertChainType}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.CertificateUrl.UrlAndHashList">
|
|
@return an {@link IList} of {@link UrlAndHash}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateUrl.Encode(System.IO.Stream)">
|
|
Encode this {@link CertificateUrl} to a {@link Stream}.
|
|
|
|
@param output the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CertificateUrl.parse(Org.BouncyCastle.Crypto.Tls.TlsContext,System.IO.Stream)">
|
|
Parse a {@link CertificateUrl} from a {@link Stream}.
|
|
|
|
@param context
|
|
the {@link TlsContext} of the current connection.
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link CertificateUrl} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.Chacha20Poly1305">
|
|
draft-ietf-tls-chacha20-poly1305-04
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Chacha20Poly1305.#ctor(Org.BouncyCastle.Crypto.Tls.TlsContext)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Chacha20Poly1305.EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Chacha20Poly1305.DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Chacha20Poly1305.GetAdditionalData(System.Int64,System.Byte,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.CipherSuite">
|
|
<summary>
|
|
RFC 2246 A.5
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.CipherType">
|
|
<summary>RFC 2246</summary>
|
|
<remarks>
|
|
Note that the values here are implementation-specific and arbitrary. It is recommended not to
|
|
depend on the particular values (e.g. serialization).
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.CombinedHash">
|
|
A combined hash, which implements md5(m) || sha1(m).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CombinedHash.BlockUpdate(System.Byte[],System.Int32,System.Int32)">
|
|
@see org.bouncycastle.crypto.Digest#update(byte[], int, int)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CombinedHash.DoFinal(System.Byte[],System.Int32)">
|
|
@see org.bouncycastle.crypto.Digest#doFinal(byte[], int)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.CombinedHash.Reset">
|
|
@see org.bouncycastle.crypto.Digest#reset()
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.CompressionMethod">
|
|
<summary>
|
|
RFC 2246 6.1
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.ConnectionEnd">
|
|
<summary>RFC 2246</summary>
|
|
<remarks>
|
|
Note that the values here are implementation-specific and arbitrary. It is recommended not to
|
|
depend on the particular values (e.g. serialization).
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.ContentType">
|
|
RFC 2246 6.2.1
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DatagramTransport.GetReceiveLimit">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DatagramTransport.GetSendLimit">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DatagramTransport.Receive(System.Byte[],System.Int32,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DatagramTransport.Send(System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsAgreementCredentials.GenerateAgreement(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateAESCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateCamelliaCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateChaCha20Poly1305(Org.BouncyCastle.Crypto.Tls.TlsContext)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateCipher_Aes_Ccm(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateCipher_Aes_Gcm(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateCipher_Aes_Ocb(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateCipher_Camellia_Gcm(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateDesEdeCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateNullCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateRC4Cipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateSeedCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsCipherFactory.CreateHMacDigest(System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier.#ctor">
|
|
<summary>Accept various standard DH groups with 'P' at least <c>DefaultMinimumPrimeBits</c> bits.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier.#ctor(System.Int32)">
|
|
<summary>Accept various standard DH groups with 'P' at least the specified number of bits.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier.#ctor(System.Collections.IList,System.Int32)">
|
|
<summary>Accept a custom set of group parameters, subject to a minimum bitlength for 'P'.</summary>
|
|
<param name="groups">An <c>IList</c> of acceptable <c>DHParameters</c>.</param>
|
|
<param name="minimumPrimeBits">The minimum acceptable bitlength of the 'P' parameter.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsEncryptionCredentials.DecryptPreMasterSecret(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsSignerCredentials.GenerateCertificateSignature(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsSrpGroupVerifier.#ctor">
|
|
Accept only the group parameters specified in RFC 5054 Appendix A.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DefaultTlsSrpGroupVerifier.#ctor(System.Collections.IList)">
|
|
Specify a custom set of acceptable group parameters.
|
|
|
|
@param groups a {@link Vector} of acceptable {@link SRP6GroupParameters}
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.DeferredHash">
|
|
Buffers input until the hash algorithm is determined.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.DigitallySigned.Algorithm">
|
|
@return a {@link SignatureAndHashAlgorithm} (or null before TLS 1.2).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DigitallySigned.Encode(System.IO.Stream)">
|
|
Encode this {@link DigitallySigned} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DigitallySigned.Parse(Org.BouncyCastle.Crypto.Tls.TlsContext,System.IO.Stream)">
|
|
Parse a {@link DigitallySigned} from a {@link Stream}.
|
|
|
|
@param context
|
|
the {@link TlsContext} of the current connection.
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link DigitallySigned} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsHandshakeRetransmit.ReceivedHandshakeRecord(System.Int32,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsProtocol.ProcessFinished(System.Byte[],System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsProtocol.ApplyMaxFragmentLengthExtension(Org.BouncyCastle.Crypto.Tls.DtlsRecordLayer,System.Int16)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsProtocol.EvaluateMaxFragmentLengthExtension(System.Boolean,System.Collections.IDictionary,System.Collections.IDictionary,System.Byte)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsProtocol.GenerateCertificate(Org.BouncyCastle.Crypto.Tls.Certificate)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsProtocol.GenerateSupplementalData(System.Collections.IList)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsProtocol.ValidateSelectedCipherSuite(System.Int32,System.Byte)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsRecordLayer.Send(System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsReliableHandshake.CheckInboundFlight">
|
|
Check that there are no "extra" messages left in the current inbound flight
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.DtlsReplayWindow">
|
|
RFC 4347 4.1.2.5 Anti-replay
|
|
<p/>
|
|
Support fast rejection of duplicate records by maintaining a sliding receive window
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsReplayWindow.ShouldDiscard(System.Int64)">
|
|
Check whether a received record with the given sequence number should be rejected as a duplicate.
|
|
|
|
@param seq the 48-bit DTLSPlainText.sequence_number field of a received record.
|
|
@return true if the record should be discarded without further processing.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsReplayWindow.ReportAuthenticated(System.Int64)">
|
|
Report that a received record with the given sequence number passed authentication checks.
|
|
|
|
@param seq the 48-bit DTLSPlainText.sequence_number field of an authenticated record.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.DtlsReplayWindow.Reset">
|
|
When a new epoch begins, sequence numbers begin again at 0
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.ECBasisType">
|
|
<summary>RFC 4492 5.4. (Errata ID: 2389)</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.ECCurveType">
|
|
<summary>
|
|
RFC 4492 5.4
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.ECCurveType.explicit_prime">
|
|
Indicates the elliptic curve domain parameters are conveyed verbosely, and the
|
|
underlying finite field is a prime field.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.ECCurveType.explicit_char2">
|
|
Indicates the elliptic curve domain parameters are conveyed verbosely, and the
|
|
underlying finite field is a characteristic-2 field.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Crypto.Tls.ECCurveType.named_curve">
|
|
Indicates that a named curve is used. This option SHOULD be used when applicable.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.ECPointFormat">
|
|
<summary>
|
|
RFC 4492 5.1.2
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.EncryptionAlgorithm">
|
|
<summary>RFC 2246</summary>
|
|
<remarks>
|
|
Note that the values here are implementation-specific and arbitrary. It is recommended not to
|
|
depend on the particular values (e.g. serialization).
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.ExporterLabel">
|
|
<summary>RFC 5705</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.HashAlgorithm">
|
|
<summary>RFC 5246 7.4.1.4.1</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.HeartbeatExtension.Encode(System.IO.Stream)">
|
|
Encode this {@link HeartbeatExtension} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.HeartbeatExtension.Parse(System.IO.Stream)">
|
|
Parse a {@link HeartbeatExtension} from a {@link Stream}.
|
|
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link HeartbeatExtension} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.HeartbeatMessage.Encode(Org.BouncyCastle.Crypto.Tls.TlsContext,System.IO.Stream)">
|
|
Encode this {@link HeartbeatMessage} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.HeartbeatMessage.Parse(System.IO.Stream)">
|
|
Parse a {@link HeartbeatMessage} from a {@link Stream}.
|
|
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link HeartbeatMessage} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.KeyExchangeAlgorithm">
|
|
<summary>RFC 2246</summary>
|
|
<remarks>
|
|
Note that the values here are implementation-specific and arbitrary. It is recommended not to
|
|
depend on the particular values (e.g. serialization).
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.MacAlgorithm">
|
|
<summary>RFC 2246</summary>
|
|
<remarks>
|
|
Note that the values here are implementation-specific and arbitrary. It is recommended not to
|
|
depend on the particular values (e.g. serialization).
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.NamedCurve">
|
|
<summary>
|
|
RFC 4492 5.1.1
|
|
The named curves defined here are those specified in SEC 2 [13]. Note that many of
|
|
these curves are also recommended in ANSI X9.62 [7] and FIPS 186-2 [11]. Values 0xFE00
|
|
through 0xFEFF are reserved for private use. Values 0xFF01 and 0xFF02 indicate that the
|
|
client supports arbitrary prime and characteristic-2 curves, respectively (the curve
|
|
parameters must be encoded explicitly in ECParameters).
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.NewSessionTicket.Encode(System.IO.Stream)">
|
|
Encode this {@link NewSessionTicket} to a {@link Stream}.
|
|
|
|
@param output the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.NewSessionTicket.Parse(System.IO.Stream)">
|
|
Parse a {@link NewSessionTicket} from a {@link Stream}.
|
|
|
|
@param input the {@link Stream} to parse from.
|
|
@return a {@link NewSessionTicket} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.OcspStatusRequest">
|
|
RFC 3546 3.6
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.OcspStatusRequest.#ctor(System.Collections.IList,Org.BouncyCastle.Asn1.X509.X509Extensions)">
|
|
@param responderIDList
|
|
an {@link IList} of {@link ResponderID}, specifying the list of trusted OCSP
|
|
responders. An empty list has the special meaning that the responders are
|
|
implicitly known to the server - e.g., by prior arrangement.
|
|
@param requestExtensions
|
|
OCSP request extensions. A null value means that there are no extensions.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.OcspStatusRequest.ResponderIDList">
|
|
@return an {@link IList} of {@link ResponderID}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.OcspStatusRequest.RequestExtensions">
|
|
@return OCSP request extensions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.OcspStatusRequest.Encode(System.IO.Stream)">
|
|
Encode this {@link OcspStatusRequest} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.OcspStatusRequest.Parse(System.IO.Stream)">
|
|
Parse a {@link OcspStatusRequest} from a {@link Stream}.
|
|
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return an {@link OcspStatusRequest} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.PrfAlgorithm">
|
|
<summary>RFC 5246</summary>
|
|
<remarks>
|
|
Note that the values here are implementation-specific and arbitrary. It is recommended not to
|
|
depend on the particular values (e.g. serialization).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ProtocolVersion.Get(System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.RecordStream">
|
|
<summary>An implementation of the TLS 1.0/1.1/1.2 record layer, allowing downgrade to SSLv3.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.RecordStream.SetRestrictReadVersion(System.Boolean)">
|
|
RFC 5246 E.1. "Earlier versions of the TLS specification were not fully clear on what the
|
|
record layer version number (TLSPlaintext.version) should contain when sending ClientHello
|
|
(i.e., before it is known which version of the protocol will be employed). Thus, TLS servers
|
|
compliant with this specification MUST accept any value {03,XX} as the record layer version
|
|
number for ClientHello."
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.SecurityParameters.Entity">
|
|
@return {@link ConnectionEnd}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.SecurityParameters.CipherSuite">
|
|
@return {@link CipherSuite}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.SecurityParameters.CompressionAlgorithm">
|
|
@return {@link CompressionMethod}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.SecurityParameters.PrfAlgorithm">
|
|
@return {@link PRFAlgorithm}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ServerName.Encode(System.IO.Stream)">
|
|
Encode this {@link ServerName} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ServerName.Parse(System.IO.Stream)">
|
|
Parse a {@link ServerName} from a {@link Stream}.
|
|
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link ServerName} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ServerNameList.#ctor(System.Collections.IList)">
|
|
@param serverNameList an {@link IList} of {@link ServerName}.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.ServerNameList.ServerNames">
|
|
@return an {@link IList} of {@link ServerName}.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ServerNameList.Encode(System.IO.Stream)">
|
|
Encode this {@link ServerNameList} to a {@link Stream}.
|
|
|
|
@param output
|
|
the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ServerNameList.Parse(System.IO.Stream)">
|
|
Parse a {@link ServerNameList} from a {@link Stream}.
|
|
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link ServerNameList} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ServerSrpParams.Encode(System.IO.Stream)">
|
|
Encode this {@link ServerSRPParams} to an {@link OutputStream}.
|
|
|
|
@param output
|
|
the {@link OutputStream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.ServerSrpParams.Parse(System.IO.Stream)">
|
|
Parse a {@link ServerSRPParams} from an {@link InputStream}.
|
|
|
|
@param input
|
|
the {@link InputStream} to parse from.
|
|
@return a {@link ServerSRPParams} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.SignatureAlgorithm">
|
|
RFC 5246 7.4.1.4.1 (in RFC 2246, there were no specific values assigned)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm">
|
|
RFC 5246 7.4.1.4.1
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm.#ctor(System.Byte,System.Byte)">
|
|
@param hash {@link HashAlgorithm}
|
|
@param signature {@link SignatureAlgorithm}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm.Hash">
|
|
@return {@link HashAlgorithm}
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm.Signature">
|
|
@return {@link SignatureAlgorithm}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm.Encode(System.IO.Stream)">
|
|
Encode this {@link SignatureAndHashAlgorithm} to a {@link Stream}.
|
|
|
|
@param output the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm.Parse(System.IO.Stream)">
|
|
Parse a {@link SignatureAndHashAlgorithm} from a {@link Stream}.
|
|
|
|
@param input the {@link Stream} to parse from.
|
|
@return a {@link SignatureAndHashAlgorithm} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.SimulatedTlsSrpIdentityManager">
|
|
An implementation of {@link TlsSRPIdentityManager} that simulates the existence of "unknown" identities
|
|
to obscure the fact that there is no verifier for them.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.SimulatedTlsSrpIdentityManager.GetRfc5054Default(Org.BouncyCastle.Crypto.Parameters.Srp6GroupParameters,System.Byte[])">
|
|
Create a {@link SimulatedTlsSRPIdentityManager} that implements the algorithm from RFC 5054 2.5.1.3
|
|
|
|
@param group the {@link SRP6GroupParameters} defining the group that SRP is operating in
|
|
@param seedKey the secret "seed key" referred to in RFC 5054 2.5.1.3
|
|
@return an instance of {@link SimulatedTlsSRPIdentityManager}
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.Ssl3Mac">
|
|
HMAC implementation based on original internet draft for HMAC (RFC 2104)
|
|
|
|
The difference is that padding is concatentated versus XORed with the key
|
|
|
|
H(K + opad, H(K + ipad, text))
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Ssl3Mac.#ctor(Org.BouncyCastle.Crypto.IDigest)">
|
|
Base constructor for one of the standard digest algorithms that the byteLength of
|
|
the algorithm is know for. Behaviour is undefined for digests other than MD5 or SHA1.
|
|
|
|
@param digest the digest.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.Ssl3Mac.Reset">
|
|
Reset the mac generator.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.SupplementalDataType">
|
|
<summary>RFC 4680</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAeadCipher.#ctor(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAeadCipher.#ctor(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,System.Int32,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAeadCipher.EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAeadCipher.DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAeadCipher.GetAdditionalData(System.Int64,System.Byte,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials.GenerateAgreement(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAuthentication.NotifyServerCertificate(Org.BouncyCastle.Crypto.Tls.Certificate)">
|
|
<summary>
|
|
Called by the protocol handler to report the server certificate.
|
|
</summary>
|
|
<remarks>
|
|
This method is responsible for certificate verification and validation
|
|
</remarks>
|
|
<param name="serverCertificate">The server <see cref="T:Org.BouncyCastle.Crypto.Tls.Certificate"/> received</param>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsAuthentication.GetClientCredentials(Org.BouncyCastle.Crypto.Tls.CertificateRequest)">
|
|
<summary>
|
|
Return client credentials in response to server's certificate request
|
|
</summary>
|
|
<param name="certificateRequest">
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Tls.CertificateRequest"/> containing server certificate request details
|
|
</param>
|
|
<returns>
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsCredentials"/> to be used for client authentication
|
|
(or <c>null</c> for no client authentication)
|
|
</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsBlockCipher">
|
|
<summary>
|
|
A generic TLS 1.0-1.2 / SSLv3 block cipher. This can be used for AES or 3DES for example.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsBlockCipher.#ctor(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.IBlockCipher,Org.BouncyCastle.Crypto.IBlockCipher,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Crypto.IDigest,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsBlockCipher.DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsCipher.EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsCipher.DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsCipherFactory.CreateCipher(Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.Init(Org.BouncyCastle.Crypto.Tls.TlsClientContext)">
|
|
<summary>
|
|
Called at the start of a new TLS session, before any other methods.
|
|
</summary>
|
|
<param name="context">
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler"/>
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetSessionToResume">
|
|
<summary>Return the session this client wants to resume, if any.</summary>
|
|
<remarks>Note that the peer's certificate chain for the session (if any) may need to be periodically revalidated.</remarks>
|
|
<returns>
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsSession"/> representing the resumable session to be used for this connection,
|
|
or null to use a new session.
|
|
</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.TlsClient.ClientHelloRecordLayerVersion">
|
|
<summary>
|
|
Return the <see cref="T:Org.BouncyCastle.Crypto.Tls.ProtocolVersion"/> to use for the <c>TLSPlaintext.version</c> field prior to
|
|
receiving the server version. NOTE: This method is <b>not</b> called for DTLS.
|
|
</summary>
|
|
<remarks>
|
|
See RFC 5246 E.1.: "TLS clients that wish to negotiate with older servers MAY send any value
|
|
{03,XX} as the record layer version number. Typical values would be {03,00}, the lowest
|
|
version number supported by the client, and the value of ClientHello.client_version. No
|
|
single value will guarantee interoperability with all old servers, but this is a complex
|
|
topic beyond the scope of this document."
|
|
</remarks>
|
|
<returns>The <see cref="T:Org.BouncyCastle.Crypto.Tls.ProtocolVersion"/> to use.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetCipherSuites">
|
|
<summary>
|
|
Get the list of cipher suites that this client supports.
|
|
</summary>
|
|
<returns>
|
|
An array of <see cref="T:Org.BouncyCastle.Crypto.Tls.CipherSuite"/> values, each specifying a supported cipher suite.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetCompressionMethods">
|
|
<summary>
|
|
Get the list of compression methods that this client supports.
|
|
</summary>
|
|
<returns>
|
|
An array of <see cref="T:Org.BouncyCastle.Crypto.Tls.CompressionMethod"/> values, each specifying a supported compression method.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetClientExtensions">
|
|
<summary>
|
|
Get the (optional) table of client extensions to be included in (extended) client hello.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.Collections.IDictionary"/> (Int32 -> byte[]). May be null.
|
|
</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.NotifyServerVersion(Org.BouncyCastle.Crypto.Tls.ProtocolVersion)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.NotifySessionID(System.Byte[])">
|
|
<summary>
|
|
Notifies the client of the session_id sent in the ServerHello.
|
|
</summary>
|
|
<param name="sessionID">An array of <see cref="T:System.Byte"/></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.NotifySelectedCipherSuite(System.Int32)">
|
|
<summary>
|
|
Report the cipher suite that was selected by the server.
|
|
</summary>
|
|
<remarks>
|
|
The protocol handler validates this value against the offered cipher suites
|
|
<seealso cref="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetCipherSuites"/>
|
|
</remarks>
|
|
<param name="selectedCipherSuite">
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Tls.CipherSuite"/>
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.NotifySelectedCompressionMethod(System.Byte)">
|
|
<summary>
|
|
Report the compression method that was selected by the server.
|
|
</summary>
|
|
<remarks>
|
|
The protocol handler validates this value against the offered compression methods
|
|
<seealso cref="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetCompressionMethods"/>
|
|
</remarks>
|
|
<param name="selectedCompressionMethod">
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Tls.CompressionMethod"/>
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.ProcessServerExtensions(System.Collections.IDictionary)">
|
|
<summary>
|
|
Report the extensions from an extended server hello.
|
|
</summary>
|
|
<remarks>
|
|
Will only be called if we returned a non-null result from <see cref="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetClientExtensions"/>.
|
|
</remarks>
|
|
<param name="serverExtensions">
|
|
A <see cref="T:System.Collections.IDictionary"/> (Int32 -> byte[])
|
|
</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.ProcessServerSupplementalData(System.Collections.IList)">
|
|
<param name="serverSupplementalData">A <see cref="T:System.Collections.IList">list</see> of <see cref="T:Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry"/></param>
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetKeyExchange">
|
|
<summary>
|
|
Return an implementation of <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange"/> to negotiate the key exchange
|
|
part of the protocol.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange"/>
|
|
</returns>
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetAuthentication">
|
|
<summary>
|
|
Return an implementation of <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsAuthentication"/> to handle authentication
|
|
part of the protocol.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.GetClientSupplementalData">
|
|
<returns>A <see cref="T:System.Collections.IList">list</see> of <see cref="T:Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry"/></returns>
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClient.NotifyNewSessionTicket(Org.BouncyCastle.Crypto.Tls.NewSessionTicket)">
|
|
<summary>RFC 5077 3.3. NewSessionTicket Handshake Message</summary>
|
|
<remarks>
|
|
This method will be called (only) when a NewSessionTicket handshake message is received. The
|
|
ticket is opaque to the client and clients MUST NOT examine the ticket under the assumption
|
|
that it complies with e.g. <i>RFC 5077 4. Recommended Ticket Construction</i>.
|
|
</remarks>
|
|
<param name="newSessionTicket">The <see cref="T:Org.BouncyCastle.Crypto.Tls.NewSessionTicket">ticket</see></param>
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClientProtocol.#ctor(System.IO.Stream,Org.BouncyCastle.Security.SecureRandom)">
|
|
Constructor for blocking mode.
|
|
@param stream The bi-directional stream of data to/from the server
|
|
@param secureRandom Random number generator for various cryptographic functions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClientProtocol.#ctor(System.IO.Stream,System.IO.Stream,Org.BouncyCastle.Security.SecureRandom)">
|
|
Constructor for blocking mode.
|
|
@param input The stream of data from the server
|
|
@param output The stream of data to the server
|
|
@param secureRandom Random number generator for various cryptographic functions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClientProtocol.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
Constructor for non-blocking mode.<br/>
|
|
<br/>
|
|
When data is received, use {@link #offerInput(java.nio.ByteBuffer)} to
|
|
provide the received ciphertext, then use
|
|
{@link #readInput(byte[], int, int)} to read the corresponding cleartext.<br/>
|
|
<br/>
|
|
Similarly, when data needs to be sent, use
|
|
{@link #offerOutput(byte[], int, int)} to provide the cleartext, then use
|
|
{@link #readOutput(byte[], int, int)} to get the corresponding
|
|
ciphertext.
|
|
|
|
@param secureRandom
|
|
Random number generator for various cryptographic functions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsClientProtocol.Connect(Org.BouncyCastle.Crypto.Tls.TlsClient)">
|
|
Initiates a TLS handshake in the role of client.<br/>
|
|
<br/>
|
|
In blocking mode, this will not return until the handshake is complete.
|
|
In non-blocking mode, use {@link TlsPeer#NotifyHandshakeComplete()} to
|
|
receive a callback when the handshake is complete.
|
|
|
|
@param tlsClient The {@link TlsClient} to use for the handshake.
|
|
@throws IOException If in blocking mode and handshake was not successful.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsCloseable.Close">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.TlsContext.ResumableSession">
|
|
Used to get the resumable session, if any, used by this connection. Only available after the
|
|
handshake has successfully completed.
|
|
|
|
@return A {@link TlsSession} representing the resumable session used by this connection, or
|
|
null if no resumable session available.
|
|
@see TlsPeer#NotifyHandshakeComplete()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsContext.ExportKeyingMaterial(System.String,System.Byte[],System.Int32)">
|
|
Export keying material according to RFC 5705: "Keying Material Exporters for TLS".
|
|
|
|
@param asciiLabel indicates which application will use the exported keys.
|
|
@param context_value allows the application using the exporter to mix its own data with the TLS PRF for
|
|
the exporter output.
|
|
@param length the number of bytes to generate
|
|
@return a pseudorandom bit string of 'length' bytes generated from the master_secret.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange">
|
|
<summary>(D)TLS DH key exchange.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsDHVerifier">
|
|
<summary>An interface for verifying that Diffie-Hellman parameters are acceptable.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsDHVerifier.Accept(Org.BouncyCastle.Crypto.Parameters.DHParameters)">
|
|
<summary>Verify that the given <c>DHParameters</c> are acceptable.</summary>
|
|
<param name="dhParameters">The <c>DHParameters</c> to verify.</param>
|
|
<returns>true if (and only if) the specified parameters are acceptable.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange">
|
|
<summary>(D)TLS ECDHE key exchange (see RFC 4492).</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange">
|
|
<summary>(D)TLS ECDH key exchange (see RFC 4492).</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials.DecryptPreMasterSecret(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddClientCertificateTypeExtensionClient(System.Collections.IDictionary,System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddClientCertificateTypeExtensionServer(System.Collections.IDictionary,System.Byte)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddHeartbeatExtension(System.Collections.IDictionary,Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddMaxFragmentLengthExtension(System.Collections.IDictionary,System.Byte)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddPaddingExtension(System.Collections.IDictionary,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddServerCertificateTypeExtensionClient(System.Collections.IDictionary,System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddServerCertificateTypeExtensionServer(System.Collections.IDictionary,System.Byte)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddServerNameExtension(System.Collections.IDictionary,Org.BouncyCastle.Crypto.Tls.ServerNameList)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.AddStatusRequestExtension(System.Collections.IDictionary,Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetClientCertificateTypeExtensionClient(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetClientCertificateTypeExtensionServer(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetHeartbeatExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetMaxFragmentLengthExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetPaddingExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetServerCertificateTypeExtensionClient(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetServerCertificateTypeExtensionServer(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetServerNameExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.GetStatusRequestExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.HasEncryptThenMacExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.HasExtendedMasterSecretExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.HasTruncatedHMacExtension(System.Collections.IDictionary)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.CreateCertificateTypeExtensionClient(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.CreateCertificateTypeExtensionServer(System.Byte)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.CreateHeartbeatExtension(Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.CreateMaxFragmentLengthExtension(System.Byte)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.CreatePaddingExtension(System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.CreateServerNameExtension(Org.BouncyCastle.Crypto.Tls.ServerNameList)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.CreateStatusRequestExtension(Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadEmptyExtensionData(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadCertificateTypeExtensionClient(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadCertificateTypeExtensionServer(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadEncryptThenMacExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadExtendedMasterSecretExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadHeartbeatExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadMaxFragmentLengthExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadPaddingExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadServerNameExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadStatusRequestExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities.ReadTruncatedHMacExtension(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange">
|
|
<summary>
|
|
A generic interface for key exchange implementations in (D)TLS.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.SkipServerCredentials">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.ProcessServerCredentials(Org.BouncyCastle.Crypto.Tls.TlsCredentials)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.ProcessServerCertificate(Org.BouncyCastle.Crypto.Tls.Certificate)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.GenerateServerKeyExchange">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.SkipServerKeyExchange">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.ProcessServerKeyExchange(System.IO.Stream)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.ValidateCertificateRequest(Org.BouncyCastle.Crypto.Tls.CertificateRequest)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.SkipClientCredentials">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.ProcessClientCredentials(Org.BouncyCastle.Crypto.Tls.TlsCredentials)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.ProcessClientCertificate(Org.BouncyCastle.Crypto.Tls.Certificate)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.GenerateClientKeyExchange(System.IO.Stream)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.ProcessClientKeyExchange(System.IO.Stream)">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsKeyExchange.GeneratePremasterSecret">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsMac">
|
|
<summary>
|
|
A generic TLS MAC implementation, acting as an HMAC based on some underlying Digest.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsMac.#ctor(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.IDigest,System.Byte[],System.Int32,System.Int32)">
|
|
Generate a new instance of an TlsMac.
|
|
|
|
@param context the TLS client context
|
|
@param digest The digest to use.
|
|
@param key A byte-array where the key for this MAC is located.
|
|
@param keyOff The number of bytes to skip, before the key starts in the buffer.
|
|
@param keyLen The length of the key.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.TlsMac.MacSecret">
|
|
@return the MAC write secret
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.TlsMac.Size">
|
|
@return The output length of this MAC.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsMac.CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
Calculate the MAC for some given data.
|
|
|
|
@param type The message type of the message.
|
|
@param message A byte-buffer containing the message.
|
|
@param offset The number of bytes to skip, before the message starts.
|
|
@param length The length of the message.
|
|
@return A new byte-buffer containing the MAC value.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException">
|
|
<summary>
|
|
This exception will be thrown(only) when the connection is closed by the peer without sending a
|
|
<code cref="F:Org.BouncyCastle.Crypto.Tls.AlertDescription.close_notify">close_notify</code> warning alert.
|
|
</summary>
|
|
<remarks>
|
|
If this happens, the TLS protocol cannot rule out truncation of the connection data (potentially
|
|
malicious). It may be possible to check for truncation via some property of a higher level protocol
|
|
built upon TLS, e.g.the Content-Length header for HTTPS.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsNullCipher">
|
|
<summary>
|
|
A NULL CipherSuite, with optional MAC.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsNullCipher.#ctor(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Crypto.IDigest)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsNullCipher.EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsNullCipher.DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.Cancel">
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.RequiresExtendedMasterSecret">
|
|
<summary>
|
|
This implementation supports RFC 7627 and will always negotiate the extended_master_secret
|
|
extension where possible.
|
|
</summary>
|
|
<remarks>
|
|
When connecting to a peer that does not offer/accept this extension, it is recommended to
|
|
abort the handshake. This option is provided for interoperability with legacy peers,
|
|
although some TLS features will be disabled in that case (see RFC 7627 5.4).
|
|
</remarks>
|
|
<returns>
|
|
<code>true</code> if the handshake should be aborted when the peer does not negotiate the
|
|
extended_master_secret extension, or <code>false</code> to support legacy interoperability.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.ShouldUseGmtUnixTime">
|
|
<summary>
|
|
draft-mathewson-no-gmtunixtime-00 2. "If existing users of a TLS implementation may rely on
|
|
gmt_unix_time containing the current time, we recommend that implementors MAY provide the
|
|
ability to set gmt_unix_time as an option only, off by default."
|
|
</summary>
|
|
<returns>
|
|
<code>true</code> if the current time should be used in the gmt_unix_time field of
|
|
Random, or <code>false</code> if gmt_unix_time should contain a cryptographically
|
|
random value.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.NotifySecureRenegotiation(System.Boolean)">
|
|
<summary>
|
|
Report whether the server supports secure renegotiation
|
|
</summary>
|
|
<remarks>
|
|
The protocol handler automatically processes the relevant extensions
|
|
</remarks>
|
|
<param name="secureRenegotiation">
|
|
A <see cref="T:System.Boolean"/>, true if the server supports secure renegotiation
|
|
</param>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.GetCompression">
|
|
<summary>
|
|
Return an implementation of <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsCompression"/> to handle record compression.
|
|
</summary>
|
|
<returns>A <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsCompression"/></returns>
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.GetCipher">
|
|
<summary>
|
|
Return an implementation of <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsCipher"/> to use for encryption/decryption.
|
|
</summary>
|
|
<returns>A <see cref="T:Org.BouncyCastle.Crypto.Tls.TlsCipher"/></returns>
|
|
<exception cref="T:System.IO.IOException"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.NotifyAlertRaised(System.Byte,System.Byte,System.String,System.Exception)">
|
|
<summary>This method will be called when an alert is raised by the protocol.</summary>
|
|
<param name="alertLevel"><see cref="T:Org.BouncyCastle.Crypto.Tls.AlertLevel"/></param>
|
|
<param name="alertDescription"><see cref="T:Org.BouncyCastle.Crypto.Tls.AlertDescription"/></param>
|
|
<param name="message">A human-readable message explaining what caused this alert. May be null.</param>
|
|
<param name="cause">The <c>Exception</c> that caused this alert to be raised. May be null.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.NotifyAlertReceived(System.Byte,System.Byte)">
|
|
<summary>This method will be called when an alert is received from the remote peer.</summary>
|
|
<param name="alertLevel"><see cref="T:Org.BouncyCastle.Crypto.Tls.AlertLevel"/></param>
|
|
<param name="alertDescription"><see cref="T:Org.BouncyCastle.Crypto.Tls.AlertDescription"/></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsPeer.NotifyHandshakeComplete">
|
|
<summary>Notifies the peer that the handshake has been successfully completed.</summary>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.ProcessChangeCipherSpec(System.Byte[],System.Int32,System.Int32)">
|
|
This method is called, when a change cipher spec message is received.
|
|
|
|
@throws IOException If the message has an invalid content or the handshake is not in the correct
|
|
state.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.ReadApplicationData(System.Byte[],System.Int32,System.Int32)">
|
|
Read data from the network. The method will return immediately, if there is still some data
|
|
left in the buffer, or block until some application data has been read from the network.
|
|
|
|
@param buf The buffer where the data will be copied to.
|
|
@param offset The position where the data will be placed in the buffer.
|
|
@param len The maximum number of bytes to read.
|
|
@return The number of bytes read.
|
|
@throws IOException If something goes wrong during reading data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.WriteData(System.Byte[],System.Int32,System.Int32)">
|
|
Send some application data to the remote system.
|
|
<p/>
|
|
The method will handle fragmentation internally.
|
|
|
|
@param buf The buffer with the data.
|
|
@param offset The position in the buffer where the data is placed.
|
|
@param len The length of the data.
|
|
@throws IOException If something goes wrong during sending.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.TlsProtocol.Stream">
|
|
<summary>The secure bidirectional stream for this connection</summary>
|
|
<remarks>Only allowed in blocking mode.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.CloseInput">
|
|
Should be called in non-blocking mode when the input data reaches EOF.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.OfferInput(System.Byte[])">
|
|
Equivalent to <code>OfferInput(input, 0, input.length)</code>
|
|
@see TlsProtocol#OfferInput(byte[], int, int)
|
|
@param input The input buffer to offer
|
|
@throws IOException If an error occurs while decrypting or processing a record
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.OfferInput(System.Byte[],System.Int32,System.Int32)">
|
|
Offer input from an arbitrary source. Only allowed in non-blocking mode.<br/>
|
|
<br/>
|
|
This method will decrypt and process all records that are fully available.
|
|
If only part of a record is available, the buffer will be retained until the
|
|
remainder of the record is offered.<br/>
|
|
<br/>
|
|
If any records containing application data were processed, the decrypted data
|
|
can be obtained using {@link #readInput(byte[], int, int)}. If any records
|
|
containing protocol data were processed, a response may have been generated.
|
|
You should always check to see if there is any available output after calling
|
|
this method by calling {@link #getAvailableOutputBytes()}.
|
|
@param input The input buffer to offer
|
|
@param inputOff The offset within the input buffer that input begins
|
|
@param inputLen The number of bytes of input being offered
|
|
@throws IOException If an error occurs while decrypting or processing a record
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.GetAvailableInputBytes">
|
|
Gets the amount of received application data. A call to {@link #readInput(byte[], int, int)}
|
|
is guaranteed to be able to return at least this much data.<br/>
|
|
<br/>
|
|
Only allowed in non-blocking mode.
|
|
@return The number of bytes of available application data
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.ReadInput(System.Byte[],System.Int32,System.Int32)">
|
|
Retrieves received application data. Use {@link #getAvailableInputBytes()} to check
|
|
how much application data is currently available. This method functions similarly to
|
|
{@link InputStream#read(byte[], int, int)}, except that it never blocks. If no data
|
|
is available, nothing will be copied and zero will be returned.<br/>
|
|
<br/>
|
|
Only allowed in non-blocking mode.
|
|
@param buffer The buffer to hold the application data
|
|
@param offset The start offset in the buffer at which the data is written
|
|
@param length The maximum number of bytes to read
|
|
@return The total number of bytes copied to the buffer. May be less than the
|
|
length specified if the length was greater than the amount of available data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.OfferOutput(System.Byte[],System.Int32,System.Int32)">
|
|
Offer output from an arbitrary source. Only allowed in non-blocking mode.<br/>
|
|
<br/>
|
|
After this method returns, the specified section of the buffer will have been
|
|
processed. Use {@link #readOutput(byte[], int, int)} to get the bytes to
|
|
transmit to the other peer.<br/>
|
|
<br/>
|
|
This method must not be called until after the handshake is complete! Attempting
|
|
to call it before the handshake is complete will result in an exception.
|
|
@param buffer The buffer containing application data to encrypt
|
|
@param offset The offset at which to begin reading data
|
|
@param length The number of bytes of data to read
|
|
@throws IOException If an error occurs encrypting the data, or the handshake is not complete
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.GetAvailableOutputBytes">
|
|
Gets the amount of encrypted data available to be sent. A call to
|
|
{@link #readOutput(byte[], int, int)} is guaranteed to be able to return at
|
|
least this much data.<br/>
|
|
<br/>
|
|
Only allowed in non-blocking mode.
|
|
@return The number of bytes of available encrypted data
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.ReadOutput(System.Byte[],System.Int32,System.Int32)">
|
|
Retrieves encrypted data to be sent. Use {@link #getAvailableOutputBytes()} to check
|
|
how much encrypted data is currently available. This method functions similarly to
|
|
{@link InputStream#read(byte[], int, int)}, except that it never blocks. If no data
|
|
is available, nothing will be copied and zero will be returned.<br/>
|
|
<br/>
|
|
Only allowed in non-blocking mode.
|
|
@param buffer The buffer to hold the encrypted data
|
|
@param offset The start offset in the buffer at which the data is written
|
|
@param length The maximum number of bytes to read
|
|
@return The total number of bytes copied to the buffer. May be less than the
|
|
length specified if the length was greater than the amount of available data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.Close">
|
|
Closes this connection.
|
|
|
|
@throws IOException If something goes wrong during closing.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.AssertEmpty(System.IO.MemoryStream)">
|
|
Make sure the InputStream 'buf' now empty. Fail otherwise.
|
|
|
|
@param buf The InputStream to check.
|
|
@throws IOException If 'buf' is not empty.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocol.GetCurrentPrfHash(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash,System.Byte[])">
|
|
'sender' only relevant to SSLv3
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler.#ctor(System.IO.Stream,System.IO.Stream,Org.BouncyCastle.Security.SecureRandom)">
|
|
<remarks>Both streams can be the same object</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange">
|
|
<summary>(D)TLS PSK key exchange (RFC 4279).</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange">
|
|
<summary>(D)TLS and SSLv3 RSA key exchange.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities.GenerateEncryptedPreMasterSecret(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters,System.IO.Stream)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.NotifyClientVersion(Org.BouncyCastle.Crypto.Tls.ProtocolVersion)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.NotifyFallback(System.Boolean)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.NotifyOfferedCipherSuites(System.Int32[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.NotifyOfferedCompressionMethods(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.ProcessClientExtensions(System.Collections.IDictionary)">
|
|
<param name="clientExtensions">A <see cref="T:System.Collections.IDictionary"/> (Int32 -> byte[]). Will never be null.</param>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetServerVersion">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetSelectedCipherSuite">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetSelectedCompressionMethod">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetServerExtensions">
|
|
<summary>
|
|
Get the (optional) table of server extensions to be included in (extended) server hello.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.Collections.IDictionary"/> (Int32 -> byte[]). May be null.
|
|
</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetServerSupplementalData">
|
|
<returns>
|
|
A <see cref="T:System.Collections.IList"/> (<see cref="T:Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry"/>). May be null.
|
|
</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetCredentials">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetCertificateStatus">
|
|
<remarks>
|
|
This method will be called (only) if the server included an extension of type
|
|
"status_request" with empty "extension_data" in the extended server hello. See <i>RFC 3546
|
|
3.6. Certificate Status Request</i>. If a non-null <see cref="T:Org.BouncyCastle.Crypto.Tls.CertificateStatus"/> is returned, it
|
|
is sent to the client as a handshake message of type "certificate_status".
|
|
</remarks>
|
|
<returns>A <see cref="T:Org.BouncyCastle.Crypto.Tls.CertificateStatus"/> to be sent to the client (or null for none).</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetKeyExchange">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetCertificateRequest">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.ProcessClientSupplementalData(System.Collections.IList)">
|
|
<param name="clientSupplementalData"><see cref="T:System.Collections.IList"/> (<see cref="T:Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry"/>)</param>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.NotifyClientCertificate(Org.BouncyCastle.Crypto.Tls.Certificate)">
|
|
<summary>
|
|
Called by the protocol handler to report the client certificate, only if <c>GetCertificateRequest</c>
|
|
returned non-null.
|
|
</summary>
|
|
<remarks>Note: this method is responsible for certificate verification and validation.</remarks>
|
|
<param name="clientCertificate">the effective client certificate (may be an empty chain).</param>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServer.GetNewSessionTicket">
|
|
<summary>RFC 5077 3.3. NewSessionTicket Handshake Message.</summary>
|
|
<remarks>
|
|
This method will be called (only) if a NewSessionTicket extension was sent by the server. See
|
|
<i>RFC 5077 4. Recommended Ticket Construction</i> for recommended format and protection.
|
|
</remarks>
|
|
<returns>The <see cref="T:Org.BouncyCastle.Crypto.Tls.NewSessionTicket">ticket</see>)</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServerProtocol.#ctor(System.IO.Stream,Org.BouncyCastle.Security.SecureRandom)">
|
|
Constructor for blocking mode.
|
|
@param stream The bi-directional stream of data to/from the client
|
|
@param output The stream of data to the client
|
|
@param secureRandom Random number generator for various cryptographic functions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServerProtocol.#ctor(System.IO.Stream,System.IO.Stream,Org.BouncyCastle.Security.SecureRandom)">
|
|
Constructor for blocking mode.
|
|
@param input The stream of data from the client
|
|
@param output The stream of data to the client
|
|
@param secureRandom Random number generator for various cryptographic functions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServerProtocol.#ctor(Org.BouncyCastle.Security.SecureRandom)">
|
|
Constructor for non-blocking mode.<br/>
|
|
<br/>
|
|
When data is received, use {@link #offerInput(java.nio.ByteBuffer)} to
|
|
provide the received ciphertext, then use
|
|
{@link #readInput(byte[], int, int)} to read the corresponding cleartext.<br/>
|
|
<br/>
|
|
Similarly, when data needs to be sent, use
|
|
{@link #offerOutput(byte[], int, int)} to provide the cleartext, then use
|
|
{@link #readOutput(byte[], int, int)} to get the corresponding
|
|
ciphertext.
|
|
|
|
@param secureRandom
|
|
Random number generator for various cryptographic functions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsServerProtocol.Accept(Org.BouncyCastle.Crypto.Tls.TlsServer)">
|
|
Receives a TLS handshake in the role of server.<br/>
|
|
<br/>
|
|
In blocking mode, this will not return until the handshake is complete.
|
|
In non-blocking mode, use {@link TlsPeer#notifyHandshakeComplete()} to
|
|
receive a callback when the handshake is complete.
|
|
|
|
@param tlsServer
|
|
@throws IOException If in blocking mode and handshake was not successful.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials.GenerateCertificateSignature(System.Byte[])">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsSrpGroupVerifier.Accept(Org.BouncyCastle.Crypto.Parameters.Srp6GroupParameters)">
|
|
Check whether the given SRP group parameters are acceptable for use.
|
|
|
|
@param group the {@link SRP6GroupParameters} to check
|
|
@return true if (and only if) the specified group parameters are acceptable
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsSrpIdentityManager.GetLoginParameters(System.Byte[])">
|
|
Lookup the {@link TlsSRPLoginParameters} corresponding to the specified identity.
|
|
|
|
NOTE: To avoid "identity probing", unknown identities SHOULD be handled as recommended in RFC
|
|
5054 2.5.1.3. {@link SimulatedTlsSRPIdentityManager} is provided for this purpose.
|
|
|
|
@param identity
|
|
the SRP identity sent by the connecting client
|
|
@return the {@link TlsSRPLoginParameters} for the specified identity, or else 'simulated'
|
|
parameters if the identity is not recognized. A null value is also allowed, but not
|
|
recommended.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsSrpKeyExchange">
|
|
<summary>(D)TLS SRP key exchange (RFC 5054).</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils">
|
|
RFC 5764 DTLS Extension to Establish Keys for SRTP.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsStreamCipher.#ctor(Org.BouncyCastle.Crypto.Tls.TlsContext,Org.BouncyCastle.Crypto.IStreamCipher,Org.BouncyCastle.Crypto.IStreamCipher,Org.BouncyCastle.Crypto.IDigest,Org.BouncyCastle.Crypto.IDigest,System.Int32,System.Boolean)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsStreamCipher.DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsStreamCipher.CheckMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.TlsUtilities">
|
|
<remarks>Some helper functions for MicroTLS.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsUtilities.AddSignatureAlgorithmsExtension(System.Collections.IDictionary,System.Collections.IList)">
|
|
Add a 'signature_algorithms' extension to existing extensions.
|
|
|
|
@param extensions A {@link Hashtable} to add the extension to.
|
|
@param supportedSignatureAlgorithms {@link Vector} containing at least 1 {@link SignatureAndHashAlgorithm}.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsUtilities.GetSignatureAlgorithmsExtension(System.Collections.IDictionary)">
|
|
Get a 'signature_algorithms' extension from extensions.
|
|
|
|
@param extensions A {@link Hashtable} to get the extension from, if it is present.
|
|
@return A {@link Vector} containing at least 1 {@link SignatureAndHashAlgorithm}, or null.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsUtilities.CreateSignatureAlgorithmsExtension(System.Collections.IList)">
|
|
Create a 'signature_algorithms' extension value.
|
|
|
|
@param supportedSignatureAlgorithms A {@link Vector} containing at least 1 {@link SignatureAndHashAlgorithm}.
|
|
@return A byte array suitable for use as an extension value.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.TlsUtilities.ReadSignatureAlgorithmsExtension(System.Byte[])">
|
|
Read 'signature_algorithms' extension data.
|
|
|
|
@param extensionData The extension data.
|
|
@return A {@link Vector} containing at least 1 {@link SignatureAndHashAlgorithm}.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.UrlAndHash">
|
|
RFC 6066 5.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.UrlAndHash.Encode(System.IO.Stream)">
|
|
Encode this {@link UrlAndHash} to a {@link Stream}.
|
|
|
|
@param output the {@link Stream} to encode to.
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.UrlAndHash.Parse(Org.BouncyCastle.Crypto.Tls.TlsContext,System.IO.Stream)">
|
|
Parse a {@link UrlAndHash} from a {@link Stream}.
|
|
|
|
@param context
|
|
the {@link TlsContext} of the current connection.
|
|
@param input
|
|
the {@link Stream} to parse from.
|
|
@return a {@link UrlAndHash} object.
|
|
@throws IOException
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.UserMappingType">
|
|
<remarks>RFC 4681</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Crypto.Tls.UseSrtpData">
|
|
RFC 5764 4.1.1
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Tls.UseSrtpData.#ctor(System.Int32[],System.Byte[])">
|
|
@param protectionProfiles see {@link SrtpProtectionProfile} for valid constants.
|
|
@param mki valid lengths from 0 to 255.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.UseSrtpData.ProtectionProfiles">
|
|
@return see {@link SrtpProtectionProfile} for valid constants.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Crypto.Tls.UseSrtpData.Mki">
|
|
@return valid lengths from 0 to 255.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Utilities.AlgorithmIdentifierFactory.GenerateEncryptionAlgID(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Int32,Org.BouncyCastle.Security.SecureRandom)">
|
|
Create an AlgorithmIdentifier for the passed in encryption algorithm.
|
|
|
|
@param encryptionOID OID for the encryption algorithm
|
|
@param keySize key size in bits (-1 if unknown)
|
|
@param random SecureRandom to use for parameter generation.
|
|
@return a full AlgorithmIdentifier including parameters
|
|
@throws IllegalArgumentException if encryptionOID cannot be matched
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Crypto.Utilities.CipherKeyGeneratorFactory.CreateKeyGenerator(Org.BouncyCastle.Asn1.DerObjectIdentifier,Org.BouncyCastle.Security.SecureRandom)">
|
|
Create a key generator for the passed in Object Identifier.
|
|
|
|
@param algorithm the Object Identifier indicating the algorithn the generator is for.
|
|
@param random a source of random to initialise the generator with.
|
|
@return an initialised CipherKeyGenerator.
|
|
@throws IllegalArgumentException if the algorithm cannot be identified.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.AddMagnitudes(System.Int32[],System.Int32[])">
|
|
return a = a + b - b preserved.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.CompareTo(System.Int32,System.Int32[],System.Int32,System.Int32[])">
|
|
unsigned comparison on two arrays - note the arrays may
|
|
start with leading zeros.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.Divide(System.Int32[],System.Int32[])">
|
|
return z = x / y - done in place (z value preserved, x contains the
|
|
remainder)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.IsProbablePrime(System.Int32)">
|
|
return whether or not a BigInteger is probably prime with a
|
|
probability of 1 - (1/2)**certainty.
|
|
<p>From Knuth Vol 2, pg 395.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.ExtEuclid(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger@)">
|
|
Calculate the numbers u1, u2, and u3 such that:
|
|
|
|
u1 * a + u2 * b = u3
|
|
|
|
where u3 is the greatest common divider of a and b.
|
|
a and b using the extended Euclid algorithm (refer p. 323
|
|
of The Art of Computer Programming vol 2, 2nd ed).
|
|
This also seems to have the side effect of calculating
|
|
some form of multiplicative inverse.
|
|
|
|
@param a First number to calculate gcd for
|
|
@param b Second number to calculate gcd for
|
|
@param u1Out the return object for the u1 value
|
|
@return The greatest common divisor of a and b
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.Square(System.Int32[],System.Int32[])">
|
|
return w with w = x * x - w is assumed to have enough space.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.Multiply(System.Int32[],System.Int32[],System.Int32[])">
|
|
return x with x = y * z - x is assumed to have enough space.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.GetMQuote">
|
|
Calculate mQuote = -m^(-1) mod b with b = 2^32 (32 = word size)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.MultiplyMonty(System.Int32[],System.Int32[],System.Int32[],System.Int32[],System.UInt32,System.Boolean)">
|
|
Montgomery multiplication: a = x * y * R^(-1) mod m
|
|
<br/>
|
|
Based algorithm 14.36 of Handbook of Applied Cryptography.
|
|
<br/>
|
|
<li> m, x, y should have length n </li>
|
|
<li> a should have length (n + 1) </li>
|
|
<li> b = 2^32, R = b^n </li>
|
|
<br/>
|
|
The result is put in x
|
|
<br/>
|
|
NOTE: the indices of x, y, m, a different in HAC and in Java
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.Remainder(System.Int32[],System.Int32[])">
|
|
return x = x % y - done in place (y value preserved)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.ShiftLeft(System.Int32[],System.Int32)">
|
|
do a left shift - this returns a new array.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.ShiftRightInPlace(System.Int32,System.Int32[],System.Int32)">
|
|
do a right shift - this does it in place.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.ShiftRightOneInPlace(System.Int32,System.Int32[])">
|
|
do a right shift by one - this does it in place.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.BigInteger.Subtract(System.Int32,System.Int32[],System.Int32,System.Int32[])">
|
|
returns x = x - y - we assume x is >= y
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal">
|
|
Class representing a simple version of a big decimal. A
|
|
<code>SimpleBigDecimal</code> is basically a
|
|
{@link java.math.BigInteger BigInteger} with a few digits on the right of
|
|
the decimal point. The number of (binary) digits on the right of the decimal
|
|
point is called the <code>scale</code> of the <code>SimpleBigDecimal</code>.
|
|
Unlike in {@link java.math.BigDecimal BigDecimal}, the scale is not adjusted
|
|
automatically, but must be set manually. All <code>SimpleBigDecimal</code>s
|
|
taking part in the same arithmetic operation must have equal scale. The
|
|
result of a multiplication of two <code>SimpleBigDecimal</code>s returns a
|
|
<code>SimpleBigDecimal</code> with double scale.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal.GetInstance(Org.BouncyCastle.Math.BigInteger,System.Int32)">
|
|
Returns a <code>SimpleBigDecimal</code> representing the same numerical
|
|
value as <code>value</code>.
|
|
@param value The value of the <code>SimpleBigDecimal</code> to be
|
|
created.
|
|
@param scale The scale of the <code>SimpleBigDecimal</code> to be
|
|
created.
|
|
@return The such created <code>SimpleBigDecimal</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal.#ctor(Org.BouncyCastle.Math.BigInteger,System.Int32)">
|
|
Constructor for <code>SimpleBigDecimal</code>. The value of the
|
|
constructed <code>SimpleBigDecimal</code> Equals <code>bigInt /
|
|
2<sup>scale</sup></code>.
|
|
@param bigInt The <code>bigInt</code> value parameter.
|
|
@param scale The scale of the constructed <code>SimpleBigDecimal</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Abc.Tnaf">
|
|
Class holding methods for point multiplication based on the window
|
|
τ-adic nonadjacent form (WTNAF). The algorithms are based on the
|
|
paper "Improved Algorithms for Arithmetic on Anomalous Binary Curves"
|
|
by Jerome A. Solinas. The paper first appeared in the Proceedings of
|
|
Crypto 1997.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.Tnaf.Width">
|
|
The window width of WTNAF. The standard value of 4 is slightly less
|
|
than optimal for running time, but keeps space requirements for
|
|
precomputation low. For typical curves, a value of 5 or 6 results in
|
|
a better running time. When changing this value, the
|
|
<code>α<sub>u</sub></code>'s must be computed differently, see
|
|
e.g. "Guide to Elliptic Curve Cryptography", Darrel Hankerson,
|
|
Alfred Menezes, Scott Vanstone, Springer-Verlag New York Inc., 2004,
|
|
p. 121-122
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.Tnaf.Pow2Width">
|
|
2<sup>4</sup>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.Tnaf.Alpha0">
|
|
The <code>α<sub>u</sub></code>'s for <code>a=0</code> as an array
|
|
of <code>ZTauElement</code>s.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.Tnaf.Alpha0Tnaf">
|
|
The <code>α<sub>u</sub></code>'s for <code>a=0</code> as an array
|
|
of TNAFs.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.Tnaf.Alpha1">
|
|
The <code>α<sub>u</sub></code>'s for <code>a=1</code> as an array
|
|
of <code>ZTauElement</code>s.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.Tnaf.Alpha1Tnaf">
|
|
The <code>α<sub>u</sub></code>'s for <code>a=1</code> as an array
|
|
of TNAFs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.Norm(System.SByte,Org.BouncyCastle.Math.EC.Abc.ZTauElement)">
|
|
Computes the norm of an element <code>λ</code> of
|
|
<code><b>Z</b>[τ]</code>.
|
|
@param mu The parameter <code>μ</code> of the elliptic curve.
|
|
@param lambda The element <code>λ</code> of
|
|
<code><b>Z</b>[τ]</code>.
|
|
@return The norm of <code>λ</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.Norm(System.SByte,Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal,Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal)">
|
|
Computes the norm of an element <code>λ</code> of
|
|
<code><b>R</b>[τ]</code>, where <code>λ = u + vτ</code>
|
|
and <code>u</code> and <code>u</code> are real numbers (elements of
|
|
<code><b>R</b></code>).
|
|
@param mu The parameter <code>μ</code> of the elliptic curve.
|
|
@param u The real part of the element <code>λ</code> of
|
|
<code><b>R</b>[τ]</code>.
|
|
@param v The <code>τ</code>-adic part of the element
|
|
<code>λ</code> of <code><b>R</b>[τ]</code>.
|
|
@return The norm of <code>λ</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.Round(Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal,Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal,System.SByte)">
|
|
Rounds an element <code>λ</code> of <code><b>R</b>[τ]</code>
|
|
to an element of <code><b>Z</b>[τ]</code>, such that their difference
|
|
has minimal norm. <code>λ</code> is given as
|
|
<code>λ = λ<sub>0</sub> + λ<sub>1</sub>τ</code>.
|
|
@param lambda0 The component <code>λ<sub>0</sub></code>.
|
|
@param lambda1 The component <code>λ<sub>1</sub></code>.
|
|
@param mu The parameter <code>μ</code> of the elliptic curve. Must
|
|
equal 1 or -1.
|
|
@return The rounded element of <code><b>Z</b>[τ]</code>.
|
|
@throws ArgumentException if <code>lambda0</code> and
|
|
<code>lambda1</code> do not have same scale.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.ApproximateDivisionByN(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,System.SByte,System.Int32,System.Int32)">
|
|
Approximate division by <code>n</code>. For an integer
|
|
<code>k</code>, the value <code>λ = s k / n</code> is
|
|
computed to <code>c</code> bits of accuracy.
|
|
@param k The parameter <code>k</code>.
|
|
@param s The curve parameter <code>s<sub>0</sub></code> or
|
|
<code>s<sub>1</sub></code>.
|
|
@param vm The Lucas Sequence element <code>V<sub>m</sub></code>.
|
|
@param a The parameter <code>a</code> of the elliptic curve.
|
|
@param m The bit length of the finite field
|
|
<code><b>F</b><sub>m</sub></code>.
|
|
@param c The number of bits of accuracy, i.e. the scale of the returned
|
|
<code>SimpleBigDecimal</code>.
|
|
@return The value <code>λ = s k / n</code> computed to
|
|
<code>c</code> bits of accuracy.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.TauAdicNaf(System.SByte,Org.BouncyCastle.Math.EC.Abc.ZTauElement)">
|
|
Computes the <code>τ</code>-adic NAF (non-adjacent form) of an
|
|
element <code>λ</code> of <code><b>Z</b>[τ]</code>.
|
|
@param mu The parameter <code>μ</code> of the elliptic curve.
|
|
@param lambda The element <code>λ</code> of
|
|
<code><b>Z</b>[τ]</code>.
|
|
@return The <code>τ</code>-adic NAF of <code>λ</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.Tau(Org.BouncyCastle.Math.EC.AbstractF2mPoint)">
|
|
Applies the operation <code>τ()</code> to an
|
|
<code>AbstractF2mPoint</code>.
|
|
@param p The AbstractF2mPoint to which <code>τ()</code> is applied.
|
|
@return <code>τ(p)</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.GetMu(Org.BouncyCastle.Math.EC.AbstractF2mCurve)">
|
|
Returns the parameter <code>μ</code> of the elliptic curve.
|
|
@param curve The elliptic curve from which to obtain <code>μ</code>.
|
|
The curve must be a Koblitz curve, i.e. <code>a</code> Equals
|
|
<code>0</code> or <code>1</code> and <code>b</code> Equals
|
|
<code>1</code>.
|
|
@return <code>μ</code> of the elliptic curve.
|
|
@throws ArgumentException if the given ECCurve is not a Koblitz
|
|
curve.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.GetLucas(System.SByte,System.Int32,System.Boolean)">
|
|
Calculates the Lucas Sequence elements <code>U<sub>k-1</sub></code> and
|
|
<code>U<sub>k</sub></code> or <code>V<sub>k-1</sub></code> and
|
|
<code>V<sub>k</sub></code>.
|
|
@param mu The parameter <code>μ</code> of the elliptic curve.
|
|
@param k The index of the second element of the Lucas Sequence to be
|
|
returned.
|
|
@param doV If set to true, computes <code>V<sub>k-1</sub></code> and
|
|
<code>V<sub>k</sub></code>, otherwise <code>U<sub>k-1</sub></code> and
|
|
<code>U<sub>k</sub></code>.
|
|
@return An array with 2 elements, containing <code>U<sub>k-1</sub></code>
|
|
and <code>U<sub>k</sub></code> or <code>V<sub>k-1</sub></code>
|
|
and <code>V<sub>k</sub></code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.GetTw(System.SByte,System.Int32)">
|
|
Computes the auxiliary value <code>t<sub>w</sub></code>. If the width is
|
|
4, then for <code>mu = 1</code>, <code>t<sub>w</sub> = 6</code> and for
|
|
<code>mu = -1</code>, <code>t<sub>w</sub> = 10</code>
|
|
@param mu The parameter <code>μ</code> of the elliptic curve.
|
|
@param w The window width of the WTNAF.
|
|
@return the auxiliary value <code>t<sub>w</sub></code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.GetSi(Org.BouncyCastle.Math.EC.AbstractF2mCurve)">
|
|
Computes the auxiliary values <code>s<sub>0</sub></code> and
|
|
<code>s<sub>1</sub></code> used for partial modular reduction.
|
|
@param curve The elliptic curve for which to compute
|
|
<code>s<sub>0</sub></code> and <code>s<sub>1</sub></code>.
|
|
@throws ArgumentException if <code>curve</code> is not a
|
|
Koblitz curve (Anomalous Binary Curve, ABC).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.PartModReduction(Org.BouncyCastle.Math.BigInteger,System.Int32,System.SByte,Org.BouncyCastle.Math.BigInteger[],System.SByte,System.SByte)">
|
|
Partial modular reduction modulo
|
|
<code>(τ<sup>m</sup> - 1)/(τ - 1)</code>.
|
|
@param k The integer to be reduced.
|
|
@param m The bitlength of the underlying finite field.
|
|
@param a The parameter <code>a</code> of the elliptic curve.
|
|
@param s The auxiliary values <code>s<sub>0</sub></code> and
|
|
<code>s<sub>1</sub></code>.
|
|
@param mu The parameter μ of the elliptic curve.
|
|
@param c The precision (number of bits of accuracy) of the partial
|
|
modular reduction.
|
|
@return <code>ρ := k partmod (τ<sup>m</sup> - 1)/(τ - 1)</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.MultiplyRTnaf(Org.BouncyCastle.Math.EC.AbstractF2mPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
|
|
by a <code>BigInteger</code> using the reduced <code>τ</code>-adic
|
|
NAF (RTNAF) method.
|
|
@param p The AbstractF2mPoint to Multiply.
|
|
@param k The <code>BigInteger</code> by which to Multiply <code>p</code>.
|
|
@return <code>k * p</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.MultiplyTnaf(Org.BouncyCastle.Math.EC.AbstractF2mPoint,Org.BouncyCastle.Math.EC.Abc.ZTauElement)">
|
|
Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
|
|
by an element <code>λ</code> of <code><b>Z</b>[τ]</code>
|
|
using the <code>τ</code>-adic NAF (TNAF) method.
|
|
@param p The AbstractF2mPoint to Multiply.
|
|
@param lambda The element <code>λ</code> of
|
|
<code><b>Z</b>[τ]</code>.
|
|
@return <code>λ * p</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.MultiplyFromTnaf(Org.BouncyCastle.Math.EC.AbstractF2mPoint,System.SByte[])">
|
|
Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
|
|
by an element <code>λ</code> of <code><b>Z</b>[τ]</code>
|
|
using the <code>τ</code>-adic NAF (TNAF) method, given the TNAF
|
|
of <code>λ</code>.
|
|
@param p The AbstractF2mPoint to Multiply.
|
|
@param u The the TNAF of <code>λ</code>..
|
|
@return <code>λ * p</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.TauAdicWNaf(System.SByte,Org.BouncyCastle.Math.EC.Abc.ZTauElement,System.SByte,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.EC.Abc.ZTauElement[])">
|
|
Computes the <code>[τ]</code>-adic window NAF of an element
|
|
<code>λ</code> of <code><b>Z</b>[τ]</code>.
|
|
@param mu The parameter μ of the elliptic curve.
|
|
@param lambda The element <code>λ</code> of
|
|
<code><b>Z</b>[τ]</code> of which to compute the
|
|
<code>[τ]</code>-adic NAF.
|
|
@param width The window width of the resulting WNAF.
|
|
@param pow2w 2<sup>width</sup>.
|
|
@param tw The auxiliary value <code>t<sub>w</sub></code>.
|
|
@param alpha The <code>α<sub>u</sub></code>'s for the window width.
|
|
@return The <code>[τ]</code>-adic window NAF of
|
|
<code>λ</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.Tnaf.GetPreComp(Org.BouncyCastle.Math.EC.AbstractF2mPoint,System.SByte)">
|
|
Does the precomputation for WTNAF multiplication.
|
|
@param p The <code>ECPoint</code> for which to do the precomputation.
|
|
@param a The parameter <code>a</code> of the elliptic curve.
|
|
@return The precomputation array for <code>p</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Abc.ZTauElement">
|
|
Class representing an element of <code><b>Z</b>[τ]</code>. Let
|
|
<code>λ</code> be an element of <code><b>Z</b>[τ]</code>. Then
|
|
<code>λ</code> is given as <code>λ = u + vτ</code>. The
|
|
components <code>u</code> and <code>v</code> may be used directly, there
|
|
are no accessor methods.
|
|
Immutable class.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.ZTauElement.u">
|
|
The "real" part of <code>λ</code>.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Abc.ZTauElement.v">
|
|
The "<code>τ</code>-adic" part of <code>λ</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Abc.ZTauElement.#ctor(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for an element <code>λ</code> of
|
|
<code><b>Z</b>[τ]</code>.
|
|
@param u The "real" part of <code>λ</code>.
|
|
@param v The "<code>τ</code>-adic" part of
|
|
<code>λ</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Djb.Curve25519FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Djb.Curve25519Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve the curve to use
|
|
@param x affine x co-ordinate
|
|
@param y affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.CreatePoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Djb.Curve25519Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve the curve to use
|
|
@param x affine x co-ordinate
|
|
@param y affine y co-ordinate
|
|
@param withCompression if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.GM.SM2P256V1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.GM.SM2P256V1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.GM.SM2P256V1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP128R1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP128R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP128R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(boolean)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.CreatePoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160R1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.CreatePoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160R2FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.CreatePoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP160R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP192K1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP192K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP192K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP192R1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP192R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP192R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP224K1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP224K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP224K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP224R1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP224R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP224R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP256K1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP256K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP256K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP256R1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP256R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP256R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP384R1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP384R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP384R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP521R1FieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation returns the right value - if
|
|
none exists it returns null.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP521R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes with point compression.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecP521R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compresion.
|
|
|
|
@param curve
|
|
the curve to use
|
|
@param x
|
|
affine x co-ordinate
|
|
@param y
|
|
affine y co-ordinate
|
|
@param withCompression
|
|
if true encode with point compression
|
|
|
|
@deprecated per-point compression property will be removed, refer
|
|
{@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT113R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT113R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT113R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT113R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT131R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT131R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT131R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT131R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT163K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT163K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT163R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT163R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT163R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT163R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT193R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT193R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT193R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT193R2Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT233K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT233K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT233R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT233R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT239K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT239K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT283K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT283K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT283R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT283R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT409K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT409K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT409R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT409R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT571K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT571K1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT571R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@deprecated Use ECCurve.createPoint to construct points
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Custom.Sec.SecT571R1Point.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@deprecated per-point compression property will be removed, refer {@link #getEncoded(bool)}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECAlgorithms.ReferenceMultiply(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
Simple shift-and-add multiplication. Serves as reference implementation to verify (possibly
|
|
faster) implementations, and for very small scalars. CAUTION: This implementation is NOT
|
|
constant-time in any way. It is only intended to be used for diagnostics.
|
|
|
|
@param p
|
|
The point to multiply.
|
|
@param k
|
|
The multiplier.
|
|
@return The result of the point multiplication <code>kP</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.ECCurve">
|
|
<remarks>Base class for an elliptic curve.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECCurve.Precompute(Org.BouncyCastle.Math.EC.ECPoint,System.String,Org.BouncyCastle.Math.EC.Multiplier.IPreCompCallback)">
|
|
Compute a <code>PreCompInfo</code> for a point on this curve, under a given name. Used by
|
|
<code>ECMultiplier</code>s to save the precomputation for this <code>ECPoint</code> for use
|
|
by subsequent multiplication.
|
|
|
|
@param point
|
|
The <code>ECPoint</code> to store precomputations for.
|
|
@param name
|
|
A <code>String</code> used to index precomputations of different types.
|
|
@param callback
|
|
Called to calculate the <code>PreCompInfo</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECCurve.NormalizeAll(Org.BouncyCastle.Math.EC.ECPoint[])">
|
|
Normalization ensures that any projective coordinate is 1, and therefore that the x, y
|
|
coordinates reflect those of the equivalent point in an affine coordinate system. Where more
|
|
than one point is to be normalized, this method will generally be more efficient than
|
|
normalizing each point separately.
|
|
|
|
@param points
|
|
An array of points that will be updated in place with their normalized versions,
|
|
where necessary
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECCurve.NormalizeAll(Org.BouncyCastle.Math.EC.ECPoint[],System.Int32,System.Int32,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Normalization ensures that any projective coordinate is 1, and therefore that the x, y
|
|
coordinates reflect those of the equivalent point in an affine coordinate system. Where more
|
|
than one point is to be normalized, this method will generally be more efficient than
|
|
normalizing each point separately. An (optional) z-scaling factor can be applied; effectively
|
|
each z coordinate is scaled by this value prior to normalization (but only one
|
|
actual multiplication is needed).
|
|
|
|
@param points
|
|
An array of points that will be updated in place with their normalized versions,
|
|
where necessary
|
|
@param off
|
|
The start of the range of points to normalize
|
|
@param len
|
|
The length of the range of points to normalize
|
|
@param iso
|
|
The (optional) z-scaling factor - can be null
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECCurve.CreateCacheSafeLookupTable(Org.BouncyCastle.Math.EC.ECPoint[],System.Int32,System.Int32)">
|
|
Create a cache-safe lookup table for the specified sequence of points. All the points MUST
|
|
belong to this <code>ECCurve</code> instance, and MUST already be normalized.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECCurve.GetMultiplier">
|
|
Sets the default <code>ECMultiplier</code>, unless already set.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECCurve.DecodePoint(System.Byte[])">
|
|
Decode a point on this curve from its ASN.1 encoding. The different
|
|
encodings are taken account of, including point compression for
|
|
<code>F<sub>p</sub></code> (X9.62 s 4.2.1 pg 17).
|
|
@return The decoded point.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.FpCurve">
|
|
Elliptic curve over Fp
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.AbstractF2mCurve.si">
|
|
The auxiliary values <code>s<sub>0</sub></code> and
|
|
<code>s<sub>1</sub></code> used for partial modular reduction for
|
|
Koblitz curves.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.AbstractF2mCurve.SolveQuadraticEquation(Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Solves a quadratic equation <code>z<sup>2</sup> + z = beta</code>(X9.62
|
|
D.1.6) The other solution is <code>z + 1</code>.
|
|
|
|
@param beta
|
|
The value to solve the quadratic equation for.
|
|
@return the solution for <code>z<sup>2</sup> + z = beta</code> or
|
|
<code>null</code> if no solution exists.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.AbstractF2mCurve.GetSi">
|
|
@return the auxiliary values <code>s<sub>0</sub></code> and
|
|
<code>s<sub>1</sub></code> used for partial modular reduction for
|
|
Koblitz curves.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.AbstractF2mCurve.IsKoblitz">
|
|
Returns true if this is a Koblitz curve (ABC curve).
|
|
@return true if this is a Koblitz curve (ABC curve), false otherwise
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.F2mCurve">
|
|
Elliptic curves over F2m. The Weierstrass equation is given by
|
|
<code>y<sup>2</sup> + xy = x<sup>3</sup> + ax<sup>2</sup> + b</code>.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mCurve.m">
|
|
The exponent <code>m</code> of <code>F<sub>2<sup>m</sup></sub></code>.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mCurve.k1">
|
|
TPB: The integer <code>k</code> where <code>x<sup>m</sup> +
|
|
x<sup>k</sup> + 1</code> represents the reduction polynomial
|
|
<code>f(z)</code>.<br/>
|
|
PPB: The integer <code>k1</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.<br/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mCurve.k2">
|
|
TPB: Always set to <code>0</code><br/>
|
|
PPB: The integer <code>k2</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.<br/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mCurve.k3">
|
|
TPB: Always set to <code>0</code><br/>
|
|
PPB: The integer <code>k3</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.<br/>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mCurve.m_infinity">
|
|
The point at infinity on this curve.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mCurve.#ctor(System.Int32,System.Int32,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for Trinomial Polynomial Basis (TPB).
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k The integer <code>k</code> where <code>x<sup>m</sup> +
|
|
x<sup>k</sup> + 1</code> represents the reduction
|
|
polynomial <code>f(z)</code>.
|
|
@param a The coefficient <code>a</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param b The coefficient <code>b</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mCurve.#ctor(System.Int32,System.Int32,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for Trinomial Polynomial Basis (TPB).
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k The integer <code>k</code> where <code>x<sup>m</sup> +
|
|
x<sup>k</sup> + 1</code> represents the reduction
|
|
polynomial <code>f(z)</code>.
|
|
@param a The coefficient <code>a</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param b The coefficient <code>b</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param order The order of the main subgroup of the elliptic curve.
|
|
@param cofactor The cofactor of the elliptic curve, i.e.
|
|
<code>#E<sub>a</sub>(F<sub>2<sup>m</sup></sub>) = h * n</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mCurve.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for Pentanomial Polynomial Basis (PPB).
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k1 The integer <code>k1</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k2 The integer <code>k2</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k3 The integer <code>k3</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param a The coefficient <code>a</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param b The coefficient <code>b</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mCurve.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for Pentanomial Polynomial Basis (PPB).
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k1 The integer <code>k1</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k2 The integer <code>k2</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k3 The integer <code>k3</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param a The coefficient <code>a</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param b The coefficient <code>b</code> in the Weierstrass equation
|
|
for non-supersingular elliptic curves over
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param order The order of the main subgroup of the elliptic curve.
|
|
@param cofactor The cofactor of the elliptic curve, i.e.
|
|
<code>#E<sub>a</sub>(F<sub>2<sup>m</sup></sub>) = h * n</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mCurve.IsTrinomial">
|
|
Return true if curve uses a Trinomial basis.
|
|
|
|
@return true if curve Trinomial, false otherwise.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.FpFieldElement.FieldName">
|
|
return the field name for this field.
|
|
|
|
@return the string "Fp".
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.FpFieldElement.Sqrt">
|
|
return a sqrt root - the routine verifies that the calculation
|
|
returns the right value - if none exists it returns null.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.F2mFieldElement">
|
|
Class representing the Elements of the finite field
|
|
<code>F<sub>2<sup>m</sup></sub></code> in polynomial basis (PB)
|
|
representation. Both trinomial (Tpb) and pentanomial (Ppb) polynomial
|
|
basis representations are supported. Gaussian normal basis (GNB)
|
|
representation is not supported.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mFieldElement.Gnb">
|
|
Indicates gaussian normal basis representation (GNB). Number chosen
|
|
according to X9.62. GNB is not implemented at present.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mFieldElement.Tpb">
|
|
Indicates trinomial basis representation (Tpb). Number chosen
|
|
according to X9.62.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mFieldElement.Ppb">
|
|
Indicates pentanomial basis representation (Ppb). Number chosen
|
|
according to X9.62.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mFieldElement.representation">
|
|
Tpb or Ppb.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mFieldElement.m">
|
|
The exponent <code>m</code> of <code>F<sub>2<sup>m</sup></sub></code>.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.F2mFieldElement.x">
|
|
The <code>LongArray</code> holding the bits.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mFieldElement.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for Ppb.
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k1 The integer <code>k1</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k2 The integer <code>k2</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param k3 The integer <code>k3</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.
|
|
@param x The BigInteger representing the value of the field element.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mFieldElement.#ctor(System.Int32,System.Int32,Org.BouncyCastle.Math.BigInteger)">
|
|
Constructor for Tpb.
|
|
@param m The exponent <code>m</code> of
|
|
<code>F<sub>2<sup>m</sup></sub></code>.
|
|
@param k The integer <code>k</code> where <code>x<sup>m</sup> +
|
|
x<sup>k</sup> + 1</code> represents the reduction
|
|
polynomial <code>f(z)</code>.
|
|
@param x The BigInteger representing the value of the field element.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mFieldElement.CheckFieldElements(Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Checks, if the ECFieldElements <code>a</code> and <code>b</code>
|
|
are elements of the same field <code>F<sub>2<sup>m</sup></sub></code>
|
|
(having the same representation).
|
|
@param a field element.
|
|
@param b field element to be compared.
|
|
@throws ArgumentException if <code>a</code> and <code>b</code>
|
|
are not elements of the same field
|
|
<code>F<sub>2<sup>m</sup></sub></code> (having the same
|
|
representation).
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.F2mFieldElement.Representation">
|
|
@return the representation of the field
|
|
<code>F<sub>2<sup>m</sup></sub></code>, either of
|
|
{@link F2mFieldElement.Tpb} (trinomial
|
|
basis representation) or
|
|
{@link F2mFieldElement.Ppb} (pentanomial
|
|
basis representation).
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.F2mFieldElement.M">
|
|
@return the degree <code>m</code> of the reduction polynomial
|
|
<code>f(z)</code>.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.F2mFieldElement.K1">
|
|
@return Tpb: The integer <code>k</code> where <code>x<sup>m</sup> +
|
|
x<sup>k</sup> + 1</code> represents the reduction polynomial
|
|
<code>f(z)</code>.<br/>
|
|
Ppb: The integer <code>k1</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.<br/>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.F2mFieldElement.K2">
|
|
@return Tpb: Always returns <code>0</code><br/>
|
|
Ppb: The integer <code>k2</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.<br/>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.F2mFieldElement.K3">
|
|
@return Tpb: Always set to <code>0</code><br/>
|
|
Ppb: The integer <code>k3</code> where <code>x<sup>m</sup> +
|
|
x<sup>k3</sup> + x<sup>k2</sup> + x<sup>k1</sup> + 1</code>
|
|
represents the reduction polynomial <code>f(z)</code>.<br/>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.ECPoint">
|
|
base class for points on elliptic curves.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.ECPoint.AffineXCoord">
|
|
Returns the affine x-coordinate after checking that this point is normalized.
|
|
|
|
@return The affine x-coordinate of this point
|
|
@throws IllegalStateException if the point is not normalized
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.ECPoint.AffineYCoord">
|
|
Returns the affine y-coordinate after checking that this point is normalized
|
|
|
|
@return The affine y-coordinate of this point
|
|
@throws IllegalStateException if the point is not normalized
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.ECPoint.XCoord">
|
|
Returns the x-coordinate.
|
|
|
|
Caution: depending on the curve's coordinate system, this may not be the same value as in an
|
|
affine coordinate system; use Normalize() to get a point where the coordinates have their
|
|
affine values, or use AffineXCoord if you expect the point to already have been normalized.
|
|
|
|
@return the x-coordinate of this point
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Math.EC.ECPoint.YCoord">
|
|
Returns the y-coordinate.
|
|
|
|
Caution: depending on the curve's coordinate system, this may not be the same value as in an
|
|
affine coordinate system; use Normalize() to get a point where the coordinates have their
|
|
affine values, or use AffineYCoord if you expect the point to already have been normalized.
|
|
|
|
@return the y-coordinate of this point
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECPoint.Normalize">
|
|
Normalization ensures that any projective coordinate is 1, and therefore that the x, y
|
|
coordinates reflect those of the equivalent point in an affine coordinate system.
|
|
|
|
@return a new ECPoint instance representing the same point, but with normalized coordinates
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECPointBase.GetEncoded(System.Boolean)">
|
|
return the field element encoded with point compression. (S 4.3.6)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.ECPointBase.Multiply(Org.BouncyCastle.Math.BigInteger)">
|
|
Multiplies this <code>ECPoint</code> by the given number.
|
|
@param k The multiplicator.
|
|
@return <code>k * this</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.FpPoint">
|
|
Elliptic curve points over Fp
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.FpPoint.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
Create a point which encodes without point compression.
|
|
|
|
@param curve the curve to use
|
|
@param x affine x co-ordinate
|
|
@param y affine y co-ordinate
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.FpPoint.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
Create a point that encodes with or without point compression.
|
|
|
|
@param curve the curve to use
|
|
@param x affine x co-ordinate
|
|
@param y affine y co-ordinate
|
|
@param withCompression if true encode with point compression
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.F2mPoint">
|
|
Elliptic curve points over F2m
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mPoint.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement)">
|
|
@param curve base curve
|
|
@param x x point
|
|
@param y y point
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.F2mPoint.#ctor(Org.BouncyCastle.Math.EC.ECCurve,Org.BouncyCastle.Math.EC.ECFieldElement,Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)">
|
|
@param curve base curve
|
|
@param x x point
|
|
@param y y point
|
|
@param withCompression true if encode with point compression.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.DoubleAddMultiplier.MultiplyPositive(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
Joye's double-add algorithm.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.ECMultiplier">
|
|
Interface for classes encapsulating a point multiplication algorithm
|
|
for <code>ECPoint</code>s.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.ECMultiplier.Multiply(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
Multiplies the <code>ECPoint p</code> by <code>k</code>, i.e.
|
|
<code>p</code> is added <code>k</code> times to itself.
|
|
@param p The <code>ECPoint</code> to be multiplied.
|
|
@param k The factor by which <code>p</code> is multiplied.
|
|
@return <code>p</code> multiplied by <code>k</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.FixedPointPreCompInfo">
|
|
Class holding precomputation data for fixed-point multiplications.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Multiplier.FixedPointPreCompInfo.m_lookupTable">
|
|
Lookup table for the precomputed <code>ECPoint</code>s used for a fixed point multiplication.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Multiplier.FixedPointPreCompInfo.m_width">
|
|
The width used for the precomputation. If a larger width precomputation
|
|
is already available this may be larger than was requested, so calling
|
|
code should refer to the actual width.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.MixedNafR2LMultiplier">
|
|
Class implementing the NAF (Non-Adjacent Form) multiplication algorithm (right-to-left) using
|
|
mixed coordinates.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.MixedNafR2LMultiplier.#ctor">
|
|
By default, addition will be done in Jacobian coordinates, and doubling will be done in
|
|
Modified Jacobian coordinates (independent of the original coordinate system of each point).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.MontgomeryLadderMultiplier.MultiplyPositive(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
Montgomery ladder.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.NafL2RMultiplier">
|
|
Class implementing the NAF (Non-Adjacent Form) multiplication algorithm (left-to-right).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.NafR2LMultiplier">
|
|
Class implementing the NAF (Non-Adjacent Form) multiplication algorithm (right-to-left).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.PreCompInfo">
|
|
Interface for classes storing precomputation data for multiplication
|
|
algorithms. Used as a Memento (see GOF patterns) for
|
|
<code>WNafMultiplier</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.WNafL2RMultiplier">
|
|
Class implementing the WNAF (Window Non-Adjacent Form) multiplication
|
|
algorithm.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WNafL2RMultiplier.MultiplyPositive(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
Multiplies <code>this</code> by an integer <code>k</code> using the
|
|
Window NAF method.
|
|
@param k The integer by which <code>this</code> is multiplied.
|
|
@return A new <code>ECPoint</code> which equals <code>this</code>
|
|
multiplied by <code>k</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.WNafPreCompInfo">
|
|
Class holding precomputation data for the WNAF (Window Non-Adjacent Form)
|
|
algorithm.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Multiplier.WNafPreCompInfo.m_preComp">
|
|
Array holding the precomputed <code>ECPoint</code>s used for a Window
|
|
NAF multiplication.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Multiplier.WNafPreCompInfo.m_preCompNeg">
|
|
Array holding the negations of the precomputed <code>ECPoint</code>s used
|
|
for a Window NAF multiplication.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Multiplier.WNafPreCompInfo.m_twice">
|
|
Holds an <code>ECPoint</code> representing Twice(this). Used for the
|
|
Window NAF multiplication to create or extend the precomputed values.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WNafUtilities.GenerateWindowNaf(System.Int32,Org.BouncyCastle.Math.BigInteger)">
|
|
Computes the Window NAF (non-adjacent Form) of an integer.
|
|
@param width The width <code>w</code> of the Window NAF. The width is
|
|
defined as the minimal number <code>w</code>, such that for any
|
|
<code>w</code> consecutive digits in the resulting representation, at
|
|
most one is non-zero.
|
|
@param k The integer of which the Window NAF is computed.
|
|
@return The Window NAF of the given width, such that the following holds:
|
|
<code>k = &sum;<sub>i=0</sub><sup>l-1</sup> k<sub>i</sub>2<sup>i</sup>
|
|
</code>, where the <code>k<sub>i</sub></code> denote the elements of the
|
|
returned <code>byte[]</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WNafUtilities.GetWindowSize(System.Int32)">
|
|
Determine window width to use for a scalar multiplication of the given size.
|
|
|
|
@param bits the bit-length of the scalar to multiply by
|
|
@return the window size to use
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WNafUtilities.GetWindowSize(System.Int32,System.Int32)">
|
|
Determine window width to use for a scalar multiplication of the given size.
|
|
|
|
@param bits the bit-length of the scalar to multiply by
|
|
@param maxWidth the maximum window width to return
|
|
@return the window size to use
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WNafUtilities.GetWindowSize(System.Int32,System.Int32[])">
|
|
Determine window width to use for a scalar multiplication of the given size.
|
|
|
|
@param bits the bit-length of the scalar to multiply by
|
|
@param windowSizeCutoffs a monotonically increasing list of bit sizes at which to increment the window width
|
|
@return the window size to use
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WNafUtilities.GetWindowSize(System.Int32,System.Int32[],System.Int32)">
|
|
Determine window width to use for a scalar multiplication of the given size.
|
|
|
|
@param bits the bit-length of the scalar to multiply by
|
|
@param windowSizeCutoffs a monotonically increasing list of bit sizes at which to increment the window width
|
|
@param maxWidth the maximum window width to return
|
|
@return the window size to use
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.WTauNafMultiplier">
|
|
Class implementing the WTNAF (Window
|
|
<code>τ</code>-adic Non-Adjacent Form) algorithm.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WTauNafMultiplier.MultiplyPositive(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
|
|
by <code>k</code> using the reduced <code>τ</code>-adic NAF (RTNAF)
|
|
method.
|
|
@param p The AbstractF2mPoint to multiply.
|
|
@param k The integer by which to multiply <code>k</code>.
|
|
@return <code>p</code> multiplied by <code>k</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WTauNafMultiplier.MultiplyWTnaf(Org.BouncyCastle.Math.EC.AbstractF2mPoint,Org.BouncyCastle.Math.EC.Abc.ZTauElement,System.SByte,System.SByte)">
|
|
Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
|
|
by an element <code>λ</code> of <code><b>Z</b>[τ]</code> using
|
|
the <code>τ</code>-adic NAF (TNAF) method.
|
|
@param p The AbstractF2mPoint to multiply.
|
|
@param lambda The element <code>λ</code> of
|
|
<code><b>Z</b>[τ]</code> of which to compute the
|
|
<code>[τ]</code>-adic NAF.
|
|
@return <code>p</code> multiplied by <code>λ</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.WTauNafMultiplier.MultiplyFromWTnaf(Org.BouncyCastle.Math.EC.AbstractF2mPoint,System.SByte[])">
|
|
Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
|
|
by an element <code>λ</code> of <code><b>Z</b>[τ]</code>
|
|
using the window <code>τ</code>-adic NAF (TNAF) method, given the
|
|
WTNAF of <code>λ</code>.
|
|
@param p The AbstractF2mPoint to multiply.
|
|
@param u The the WTNAF of <code>λ</code>..
|
|
@return <code>λ * p</code>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.EC.Multiplier.WTauNafPreCompInfo">
|
|
Class holding precomputation data for the WTNAF (Window
|
|
<code>τ</code>-adic Non-Adjacent Form) algorithm.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Math.EC.Multiplier.WTauNafPreCompInfo.m_preComp">
|
|
Array holding the precomputed <code>AbstractF2mPoint</code>s used for the
|
|
WTNAF multiplication in <code>
|
|
{@link org.bouncycastle.math.ec.multiplier.WTauNafMultiplier.multiply()
|
|
WTauNafMultiplier.multiply()}</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.ZSignedDigitL2RMultiplier.MultiplyPositive(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
'Zeroless' Signed Digit Left-to-Right.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.EC.Multiplier.ZSignedDigitR2LMultiplier.MultiplyPositive(Org.BouncyCastle.Math.EC.ECPoint,Org.BouncyCastle.Math.BigInteger)">
|
|
'Zeroless' Signed Digit Right-to-Left.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.Primes">
|
|
Utility methods for generating primes and testing for primality.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.Primes.MROutput">
|
|
Used to return the output from the
|
|
{@linkplain Primes#enhancedMRProbablePrimeTest(BigInteger, SecureRandom, int) Enhanced
|
|
Miller-Rabin Probabilistic Primality Test}
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Math.Primes.STOutput">
|
|
Used to return the output from the {@linkplain Primes#generateSTRandomPrime(Digest, int, byte[]) Shawe-Taylor Random_Prime Routine}
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.Primes.GenerateSTRandomPrime(Org.BouncyCastle.Crypto.IDigest,System.Int32,System.Byte[])">
|
|
FIPS 186-4 C.6 Shawe-Taylor Random_Prime Routine
|
|
|
|
Construct a provable prime number using a hash function.
|
|
|
|
@param hash
|
|
the {@link Digest} instance to use (as "Hash()"). Cannot be null.
|
|
@param length
|
|
the length (in bits) of the prime to be generated. Must be at least 2.
|
|
@param inputSeed
|
|
the seed to be used for the generation of the requested prime. Cannot be null or
|
|
empty.
|
|
@return an {@link STOutput} instance containing the requested prime.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.Primes.EnhancedMRProbablePrimeTest(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Security.SecureRandom,System.Int32)">
|
|
FIPS 186-4 C.3.2 Enhanced Miller-Rabin Probabilistic Primality Test
|
|
|
|
Run several iterations of the Miller-Rabin algorithm with randomly-chosen bases. This is an
|
|
alternative to {@link #isMRProbablePrime(BigInteger, SecureRandom, int)} that provides more
|
|
information about a composite candidate, which may be useful when generating or validating
|
|
RSA moduli.
|
|
|
|
@param candidate
|
|
the {@link BigInteger} instance to test for primality.
|
|
@param random
|
|
the source of randomness to use to choose bases.
|
|
@param iterations
|
|
the number of randomly-chosen bases to perform the test for.
|
|
@return an {@link MROutput} instance that can be further queried for details.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.Primes.HasAnySmallFactors(Org.BouncyCastle.Math.BigInteger)">
|
|
A fast check for small divisors, up to some implementation-specific limit.
|
|
|
|
@param candidate
|
|
the {@link BigInteger} instance to test for division by small factors.
|
|
|
|
@return <code>true</code> if the candidate is found to have any small factors,
|
|
<code>false</code> otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.Primes.IsMRProbablePrime(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Security.SecureRandom,System.Int32)">
|
|
FIPS 186-4 C.3.1 Miller-Rabin Probabilistic Primality Test
|
|
|
|
Run several iterations of the Miller-Rabin algorithm with randomly-chosen bases.
|
|
|
|
@param candidate
|
|
the {@link BigInteger} instance to test for primality.
|
|
@param random
|
|
the source of randomness to use to choose bases.
|
|
@param iterations
|
|
the number of randomly-chosen bases to perform the test for.
|
|
@return <code>false</code> if any witness to compositeness is found amongst the chosen bases
|
|
(so <code>candidate</code> is definitely NOT prime), or else <code>true</code>
|
|
(indicating primality with some probability dependent on the number of iterations
|
|
that were performed).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Math.Primes.IsMRProbablePrimeToBase(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger)">
|
|
FIPS 186-4 C.3.1 Miller-Rabin Probabilistic Primality Test (to a fixed base).
|
|
|
|
Run a single iteration of the Miller-Rabin algorithm against the specified base.
|
|
|
|
@param candidate
|
|
the {@link BigInteger} instance to test for primality.
|
|
@param baseValue
|
|
the base value to use for this iteration.
|
|
@return <code>false</code> if the specified base is a witness to compositeness (so
|
|
<code>candidate</code> is definitely NOT prime), or else <code>true</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Ocsp.BasicOcspResp">
|
|
<remarks>
|
|
<code>
|
|
BasicOcspResponse ::= SEQUENCE {
|
|
tbsResponseData ResponseData,
|
|
signatureAlgorithm AlgorithmIdentifier,
|
|
signature BIT STRING,
|
|
certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspResp.GetTbsResponseData">
|
|
<returns>The DER encoding of the tbsResponseData field.</returns>
|
|
<exception cref="T:Org.BouncyCastle.Ocsp.OcspException">In the event of an encoding error.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspResp.GetCertificates(System.String)">
|
|
<returns>The certificates, if any, associated with the response.</returns>
|
|
<exception cref="T:Org.BouncyCastle.Ocsp.OcspException">In the event of an encoding error.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspResp.Verify(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Verify the signature against the tbsResponseData object we contain.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspResp.GetEncoded">
|
|
<returns>The ASN.1 encoded representation of this object.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator">
|
|
Generator for basic OCSP response objects.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.#ctor(Org.BouncyCastle.Ocsp.RespID)">
|
|
basic constructor
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
construct with the responderID to be the SHA-1 keyHash of the passed in public key.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.AddResponse(Org.BouncyCastle.Ocsp.CertificateID,Org.BouncyCastle.Ocsp.CertificateStatus)">
|
|
Add a response for a particular Certificate ID.
|
|
|
|
@param certID certificate ID details
|
|
@param certStatus status of the certificate - null if okay
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.AddResponse(Org.BouncyCastle.Ocsp.CertificateID,Org.BouncyCastle.Ocsp.CertificateStatus,Org.BouncyCastle.Asn1.X509.X509Extensions)">
|
|
Add a response for a particular Certificate ID.
|
|
|
|
@param certID certificate ID details
|
|
@param certStatus status of the certificate - null if okay
|
|
@param singleExtensions optional extensions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.AddResponse(Org.BouncyCastle.Ocsp.CertificateID,Org.BouncyCastle.Ocsp.CertificateStatus,System.DateTime,Org.BouncyCastle.Asn1.X509.X509Extensions)">
|
|
Add a response for a particular Certificate ID.
|
|
|
|
@param certID certificate ID details
|
|
@param nextUpdate date when next update should be requested
|
|
@param certStatus status of the certificate - null if okay
|
|
@param singleExtensions optional extensions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.AddResponse(Org.BouncyCastle.Ocsp.CertificateID,Org.BouncyCastle.Ocsp.CertificateStatus,System.DateTime,System.DateTime,Org.BouncyCastle.Asn1.X509.X509Extensions)">
|
|
Add a response for a particular Certificate ID.
|
|
|
|
@param certID certificate ID details
|
|
@param thisUpdate date this response was valid on
|
|
@param nextUpdate date when next update should be requested
|
|
@param certStatus status of the certificate - null if okay
|
|
@param singleExtensions optional extensions
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.SetResponseExtensions(Org.BouncyCastle.Asn1.X509.X509Extensions)">
|
|
Set the extensions for the response.
|
|
|
|
@param responseExtensions the extension object to carry.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.Generate(Org.BouncyCastle.Crypto.ISignatureFactory,Org.BouncyCastle.X509.X509Certificate[],System.DateTime)">
|
|
<summary>
|
|
Generate the signed response using the passed in signature calculator.
|
|
</summary>
|
|
<param name="signatureCalculatorFactory">Implementation of signing calculator factory.</param>
|
|
<param name="chain">The certificate chain associated with the response signer.</param>
|
|
<param name="producedAt">"produced at" date.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Ocsp.BasicOcspRespGenerator.SignatureAlgNames">
|
|
Return an IEnumerable of the signature names supported by the generator.
|
|
|
|
@return an IEnumerable containing recognised names.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.CertificateID.#ctor(System.String,Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Math.BigInteger)">
|
|
create from an issuer certificate and the serial number of the
|
|
certificate it signed.
|
|
@exception OcspException if any problems occur creating the id fields.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Ocsp.CertificateID.SerialNumber">
|
|
return the serial number for the certificate associated
|
|
with this request.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.CertificateID.DeriveCertificateID(Org.BouncyCastle.Ocsp.CertificateID,Org.BouncyCastle.Math.BigInteger)">
|
|
Create a new CertificateID for a new serial number derived from a previous one
|
|
calculated for the same CA certificate.
|
|
|
|
@param original the previously calculated CertificateID for the CA.
|
|
@param newSerialNumber the serial number for the new certificate of interest.
|
|
|
|
@return a new CertificateID for newSerialNumber
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Ocsp.OcspReq">
|
|
<pre>
|
|
OcspRequest ::= SEQUENCE {
|
|
tbsRequest TBSRequest,
|
|
optionalSignature [0] EXPLICIT Signature OPTIONAL }
|
|
|
|
TBSRequest ::= SEQUENCE {
|
|
version [0] EXPLICIT Version DEFAULT v1,
|
|
requestorName [1] EXPLICIT GeneralName OPTIONAL,
|
|
requestList SEQUENCE OF Request,
|
|
requestExtensions [2] EXPLICIT Extensions OPTIONAL }
|
|
|
|
Signature ::= SEQUENCE {
|
|
signatureAlgorithm AlgorithmIdentifier,
|
|
signature BIT STRING,
|
|
certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL}
|
|
|
|
Version ::= INTEGER { v1(0) }
|
|
|
|
Request ::= SEQUENCE {
|
|
reqCert CertID,
|
|
singleRequestExtensions [0] EXPLICIT Extensions OPTIONAL }
|
|
|
|
CertID ::= SEQUENCE {
|
|
hashAlgorithm AlgorithmIdentifier,
|
|
issuerNameHash OCTET STRING, -- Hash of Issuer's DN
|
|
issuerKeyHash OCTET STRING, -- Hash of Issuers public key
|
|
serialNumber CertificateSerialNumber }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReq.GetTbsRequest">
|
|
Return the DER encoding of the tbsRequest field.
|
|
@return DER encoding of tbsRequest
|
|
@throws OcspException in the event of an encoding error.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Ocsp.OcspReq.SignatureAlgOid">
|
|
return the object identifier representing the signature algorithm
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReq.GetCertificates(System.String)">
|
|
If the request is signed return a possibly empty CertStore containing the certificates in the
|
|
request. If the request is not signed the method returns null.
|
|
|
|
@return null if not signed, a CertStore otherwise
|
|
@throws OcspException
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Ocsp.OcspReq.IsSigned">
|
|
Return whether or not this request is signed.
|
|
|
|
@return true if signed false otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReq.Verify(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
Verify the signature against the TBSRequest object we contain.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReq.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReqGenerator.AddRequest(Org.BouncyCastle.Ocsp.CertificateID)">
|
|
Add a request for the given CertificateID.
|
|
|
|
@param certId certificate ID of interest
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReqGenerator.AddRequest(Org.BouncyCastle.Ocsp.CertificateID,Org.BouncyCastle.Asn1.X509.X509Extensions)">
|
|
Add a request with extensions
|
|
|
|
@param certId certificate ID of interest
|
|
@param singleRequestExtensions the extensions to attach to the request
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReqGenerator.SetRequestorName(Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
Set the requestor name to the passed in X509Principal
|
|
|
|
@param requestorName a X509Principal representing the requestor name.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspReqGenerator.Generate">
|
|
Generate an unsigned request
|
|
|
|
@return the OcspReq
|
|
@throws OcspException
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Ocsp.OcspReqGenerator.SignatureAlgNames">
|
|
Return an IEnumerable of the signature names supported by the generator.
|
|
|
|
@return an IEnumerable containing recognised names.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.OcspResp.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Ocsp.OCSPRespGenerator">
|
|
base generator for an OCSP response - at the moment this only supports the
|
|
generation of responses containing BasicOCSP responses.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Ocsp.OcspRespStatus.Successful">
|
|
note 4 is not used.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Ocsp.RespID">
|
|
Carrier for a ResponderID.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Ocsp.RevokedStatus">
|
|
wrapper for the RevokedInfo object
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Ocsp.RevokedStatus.RevocationReason">
|
|
return the revocation reason. Note: this field is optional, test for it
|
|
with hasRevocationReason() first.
|
|
@exception InvalidOperationException if a reason is asked for and none is avaliable
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Ocsp.SingleResp.GetCertStatus">
|
|
Return the status object for the response - null indicates good.
|
|
|
|
@return the status object for the response, null if it is good.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Ocsp.SingleResp.NextUpdate">
|
|
return the NextUpdate value - note: this is an optional field so may
|
|
be returned as null.
|
|
|
|
@return nextUpdate, or null if not present.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Ocsp.UnknownStatus">
|
|
wrapper for the UnknownInfo object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.AgreementUtilities">
|
|
<remarks>
|
|
Utility class for creating IBasicAgreement objects from their names/Oids
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.CipherUtilities">
|
|
<remarks>
|
|
Cipher Utility class contains methods that can not be specifically grouped into other classes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.CipherUtilities.GetObjectIdentifier(System.String)">
|
|
<summary>
|
|
Returns a ObjectIdentifier for a give encoding.
|
|
</summary>
|
|
<param name="mechanism">A string representation of the encoding.</param>
|
|
<returns>A DerObjectIdentifier, null if the Oid is not available.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.DigestUtilities">
|
|
<remarks>
|
|
Utility class for creating IDigest objects from their names/Oids
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.DigestUtilities.GetObjectIdentifier(System.String)">
|
|
<summary>
|
|
Returns a ObjectIdentifier for a given digest mechanism.
|
|
</summary>
|
|
<param name="mechanism">A string representation of the digest meanism.</param>
|
|
<returns>A DerObjectIdentifier, null if the Oid is not available.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.DotNetUtilities">
|
|
<summary>
|
|
A class containing methods to interface the BouncyCastle world to the .NET Crypto world.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.DotNetUtilities.ToX509Certificate(Org.BouncyCastle.Asn1.X509.X509CertificateStructure)">
|
|
<summary>
|
|
Create an System.Security.Cryptography.X509Certificate from an X509Certificate Structure.
|
|
</summary>
|
|
<param name="x509Struct"></param>
|
|
<returns>A System.Security.Cryptography.X509Certificate.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.MacUtilities">
|
|
<remarks>
|
|
Utility class for creating HMac object from their names/Oids
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.PbeUtilities">
|
|
<summary>
|
|
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.PbeUtilities.GetObjectIdentifier(System.String)">
|
|
<summary>
|
|
Returns a ObjectIdentifier for a give encoding.
|
|
</summary>
|
|
<param name="mechanism">A string representation of the encoding.</param>
|
|
<returns>A DerObjectIdentifier, null if the Oid is not available.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.SecureRandom.GetInstance(System.String)">
|
|
<summary>
|
|
Create and auto-seed an instance based on the given algorithm.
|
|
</summary>
|
|
<remarks>Equivalent to GetInstance(algorithm, true)</remarks>
|
|
<param name="algorithm">e.g. "SHA256PRNG"</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.SecureRandom.GetInstance(System.String,System.Boolean)">
|
|
<summary>
|
|
Create an instance based on the given algorithm, with optional auto-seeding
|
|
</summary>
|
|
<param name="algorithm">e.g. "SHA256PRNG"</param>
|
|
<param name="autoSeed">If true, the instance will be auto-seeded.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.SecureRandom.#ctor(System.Byte[])">
|
|
<remarks>
|
|
To replicate existing predictable output, replace with GetInstance("SHA1PRNG", false), followed by SetSeed(seed)
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.SecureRandom.#ctor(Org.BouncyCastle.Crypto.Prng.IRandomGenerator)">
|
|
<summary>Use the specified instance of IRandomGenerator as random source.</summary>
|
|
<remarks>
|
|
This constructor performs no seeding of either the <c>IRandomGenerator</c> or the
|
|
constructed <c>SecureRandom</c>. It is the responsibility of the client to provide
|
|
proper seed material as necessary/appropriate for the given <c>IRandomGenerator</c>
|
|
implementation.
|
|
</remarks>
|
|
<param name="generator">The source to generate all random bytes from.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.SecurityUtilityException.#ctor">
|
|
base constructor.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.SecurityUtilityException.#ctor(System.String)">
|
|
create a SecurityUtilityException with the given message.
|
|
|
|
@param message the message to be carried with the exception.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.SignerUtilities">
|
|
<summary>
|
|
Signer Utility class contains methods that can not be specifically grouped into other classes.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Security.SignerUtilities.GetObjectIdentifier(System.String)">
|
|
<summary>
|
|
Returns an ObjectIdentifier for a given encoding.
|
|
</summary>
|
|
<param name="mechanism">A string representation of the encoding.</param>
|
|
<returns>A DerObjectIdentifier, null if the OID is not available.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Security.WrapperUtilities">
|
|
<remarks>
|
|
Utility class for creating IWrapper objects from their names/Oids
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.OpenSsl.MiscPemGenerator">
|
|
PEM generator for the original set of PEM objects used in Open SSL.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.OpenSsl.PemReader">
|
|
Class for reading OpenSSL PEM encoded streams containing
|
|
X509 certificates, PKCS8 encoded keys and PKCS7 objects.
|
|
<p>
|
|
In the case of PKCS7 objects the reader will return a CMS ContentInfo object. Keys and
|
|
Certificates will be returned using the appropriate java.security type.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.#ctor(System.IO.TextReader)">
|
|
Create a new PemReader
|
|
|
|
@param reader the Reader
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.#ctor(System.IO.TextReader,Org.BouncyCastle.OpenSsl.IPasswordFinder)">
|
|
Create a new PemReader with a password finder
|
|
|
|
@param reader the Reader
|
|
@param pFinder the password finder
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.ReadCertificate(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
Reads in a X509Certificate.
|
|
|
|
@return the X509Certificate
|
|
@throws IOException if an I/O error occured
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.ReadCrl(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
Reads in a X509CRL.
|
|
|
|
@return the X509Certificate
|
|
@throws IOException if an I/O error occured
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.ReadCertificateRequest(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
Reads in a PKCS10 certification request.
|
|
|
|
@return the certificate request.
|
|
@throws IOException if an I/O error occured
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.ReadAttributeCertificate(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
Reads in a X509 Attribute Certificate.
|
|
|
|
@return the X509 Attribute Certificate
|
|
@throws IOException if an I/O error occured
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.ReadPkcs7(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
Reads in a PKCS7 object. This returns a ContentInfo object suitable for use with the CMS
|
|
API.
|
|
|
|
@return the X509Certificate
|
|
@throws IOException if an I/O error occured
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemReader.ReadPrivateKey(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
Read a Key Pair
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.OpenSsl.PemWriter">
|
|
<remarks>General purpose writer for OpenSSL PEM objects.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.PemWriter.#ctor(System.IO.TextWriter)">
|
|
<param name="writer">The TextWriter object to write the output to.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.Pkcs8Generator.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
Constructor for an unencrypted private key PEM object.
|
|
|
|
@param key private key to be encoded.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.OpenSsl.Pkcs8Generator.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.String)">
|
|
Constructor for an encrypted private key PEM object.
|
|
|
|
@param key private key to be encoded
|
|
@param algorithm encryption algorithm to use
|
|
@param provider provider to use
|
|
@throws NoSuchAlgorithmException if algorithm/mode cannot be found
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest">
|
|
<remarks>
|
|
A class for verifying and creating Pkcs10 Certification requests.
|
|
</remarks>
|
|
<code>
|
|
CertificationRequest ::= Sequence {
|
|
certificationRequestInfo CertificationRequestInfo,
|
|
signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }},
|
|
signature BIT STRING
|
|
}
|
|
|
|
CertificationRequestInfo ::= Sequence {
|
|
version Integer { v1(0) } (v1,...),
|
|
subject Name,
|
|
subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
|
|
attributes [0] Attributes{{ CRIAttributes }}
|
|
}
|
|
|
|
Attributes { ATTRIBUTE:IOSet } ::= Set OF Attr{{ IOSet }}
|
|
|
|
Attr { ATTRIBUTE:IOSet } ::= Sequence {
|
|
type ATTRIBUTE.&id({IOSet}),
|
|
values Set SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{\@type})
|
|
}
|
|
</code>
|
|
see <a href="http://www.rsasecurity.com/rsalabs/node.asp?id=2132"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest.#ctor(System.String,Org.BouncyCastle.Asn1.X509.X509Name,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Asn1.Asn1Set,Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Instantiate a Pkcs10CertificationRequest object with the necessary credentials.
|
|
</summary>
|
|
<param name="signatureAlgorithm">Name of Sig Alg.</param>
|
|
<param name="subject">X509Name of subject eg OU="My unit." O="My Organisatioin" C="au" </param>
|
|
<param name="publicKey">Public Key to be included in cert reqest.</param>
|
|
<param name="attributes">ASN1Set of Attributes.</param>
|
|
<param name="signingKey">Matching Private key for nominated (above) public key to be used to sign the request.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest.#ctor(Org.BouncyCastle.Crypto.ISignatureFactory,Org.BouncyCastle.Asn1.X509.X509Name,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Asn1.Asn1Set,Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Instantiate a Pkcs10CertificationRequest object with the necessary credentials.
|
|
</summary>
|
|
<param name="signatureFactory">The factory for signature calculators to sign the PKCS#10 request with.</param>
|
|
<param name="subject">X509Name of subject eg OU="My unit." O="My Organisatioin" C="au" </param>
|
|
<param name="publicKey">Public Key to be included in cert reqest.</param>
|
|
<param name="attributes">ASN1Set of Attributes.</param>
|
|
<param name="signingKey">Ignored.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest.#ctor(Org.BouncyCastle.Crypto.ISignatureFactory,Org.BouncyCastle.Asn1.X509.X509Name,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Asn1.Asn1Set)">
|
|
<summary>
|
|
Instantiate a Pkcs10CertificationRequest object with the necessary credentials.
|
|
</summary>
|
|
<param name="signatureFactory">The factory for signature calculators to sign the PKCS#10 request with.</param>
|
|
<param name="subject">X509Name of subject eg OU="My unit." O="My Organisatioin" C="au" </param>
|
|
<param name="publicKey">Public Key to be included in cert reqest.</param>
|
|
<param name="attributes">ASN1Set of Attributes.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest.GetPublicKey">
|
|
<summary>
|
|
Get the public key.
|
|
</summary>
|
|
<returns>The public key.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest.Verify">
|
|
<summary>
|
|
Verify Pkcs10 Cert Request is valid.
|
|
</summary>
|
|
<returns>true = valid.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequestDelaySigned">
|
|
<remarks>
|
|
A class for creating and verifying Pkcs10 Certification requests (this is an extension on <see cref="T:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest"/>).
|
|
The requests are made using delay signing. This is useful for situations where
|
|
the private key is in another environment and not directly accessible (e.g. HSM)
|
|
So the first step creates the request, then the signing is done outside this
|
|
object and the signature is then used to complete the request.
|
|
</remarks>
|
|
<code>
|
|
CertificationRequest ::= Sequence {
|
|
certificationRequestInfo CertificationRequestInfo,
|
|
signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }},
|
|
signature BIT STRING
|
|
}
|
|
|
|
CertificationRequestInfo ::= Sequence {
|
|
version Integer { v1(0) } (v1,...),
|
|
subject Name,
|
|
subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
|
|
attributes [0] Attributes{{ CRIAttributes }}
|
|
}
|
|
|
|
Attributes { ATTRIBUTE:IOSet } ::= Set OF Attr{{ IOSet }}
|
|
|
|
Attr { ATTRIBUTE:IOSet } ::= Sequence {
|
|
type ATTRIBUTE.&id({IOSet}),
|
|
values Set SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{\@type})
|
|
}
|
|
</code>
|
|
see <a href="http://www.rsasecurity.com/rsalabs/node.asp?id=2132"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequestDelaySigned.#ctor(System.String,Org.BouncyCastle.Asn1.X509.X509Name,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Asn1.Asn1Set)">
|
|
<summary>
|
|
Instantiate a Pkcs10CertificationRequest object with the necessary credentials.
|
|
</summary>
|
|
<param name="signatureAlgorithm">Name of Sig Alg.</param>
|
|
<param name="subject">X509Name of subject eg OU="My unit." O="My Organisatioin" C="au" </param>
|
|
<param name="publicKey">Public Key to be included in cert reqest.</param>
|
|
<param name="attributes">ASN1Set of Attributes.</param>
|
|
<remarks>
|
|
After the object is constructed use the <see cref="M:Org.BouncyCastle.Pkcs.Pkcs10CertificationRequestDelaySigned.GetDataToSign"/> and finally the
|
|
SignRequest methods to finalize the request.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs12Store.GetCertificate(System.String)">
|
|
simply return the cert entry for the private key
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkcs.Pkcs12Utilities">
|
|
Utility class for reencoding PKCS#12 files to definite length.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs12Utilities.ConvertToDefiniteLength(System.Byte[])">
|
|
Just re-encode the outer layer of the PKCS#12 file to definite length encoding.
|
|
|
|
@param berPKCS12File - original PKCS#12 file
|
|
@return a byte array representing the DER encoding of the PFX structure
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs12Utilities.ConvertToDefiniteLength(System.Byte[],System.Char[])">
|
|
Re-encode the PKCS#12 structure to definite length encoding at the inner layer
|
|
as well, recomputing the MAC accordingly.
|
|
|
|
@param berPKCS12File - original PKCS12 file.
|
|
@param provider - provider to use for MAC calculation.
|
|
@return a byte array representing the DER encoding of the PFX structure.
|
|
@throws IOException on parsing, encoding errors.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfo">
|
|
<summary>
|
|
A holding class for a PKCS#8 encrypted private key info object that allows for its decryption.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfo.#ctor(Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo)">
|
|
<summary>
|
|
Base constructor from a PKCS#8 EncryptedPrivateKeyInfo object.
|
|
</summary>
|
|
<param name="encryptedPrivateKeyInfo">A PKCS#8 EncryptedPrivateKeyInfo object.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfo.#ctor(System.Byte[])">
|
|
<summary>
|
|
Base constructor from a BER encoding of a PKCS#8 EncryptedPrivateKeyInfo object.
|
|
</summary>
|
|
<param name="encryptedPrivateKeyInfo">A BER encoding of a PKCS#8 EncryptedPrivateKeyInfo objects.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfo.ToAsn1Structure">
|
|
<summary>
|
|
Returns the underlying ASN.1 structure inside this object.
|
|
</summary>
|
|
<returns>Return the EncryptedPrivateKeyInfo structure in this object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfo.GetEncryptedData">
|
|
<summary>
|
|
Returns a copy of the encrypted data in this structure.
|
|
</summary>
|
|
<returns>Return a copy of the encrypted data in this object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfo.GetEncoded">
|
|
<summary>
|
|
Return a binary ASN.1 encoding of the EncryptedPrivateKeyInfo structure in this object.
|
|
</summary>
|
|
<returns>A byte array containing the encoded object.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfo.DecryptPrivateKeyInfo(Org.BouncyCastle.Crypto.IDecryptorBuilderProvider)">
|
|
<summary>
|
|
Get a decryptor from the passed in provider and decrypt the encrypted private key info, returning the result.
|
|
</summary>
|
|
<param name="inputDecryptorProvider">A provider to query for decryptors for the object.</param>
|
|
<returns>The decrypted private key info structure.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.Pkcs8EncryptedPrivateKeyInfoBuilder.Build(Org.BouncyCastle.Crypto.ICipherBuilder)">
|
|
<summary>
|
|
Create the encrypted private key info using the passed in encryptor.
|
|
</summary>
|
|
<param name="encryptor">The encryptor to use.</param>
|
|
<returns>An encrypted private key info containing the original private key info.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkcs.PkcsException">
|
|
<summary>
|
|
Base exception for PKCS related issues.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkcs.PkcsIOException">
|
|
<summary>
|
|
Base exception for parsing related issues in the PKCS namespace.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkcs.PrivateKeyInfoFactory.CreatePrivateKeyInfo(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Asn1.Asn1Set)">
|
|
Create a PrivateKeyInfo representation of a private key with attributes.
|
|
|
|
@param privateKey the key to be encoded into the info object.
|
|
@param attributes the set of attributes to be included.
|
|
@return the appropriate PrivateKeyInfo
|
|
@throws java.io.IOException on an error encoding the key
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.CertStatus.RevocationDate">
|
|
<summary>
|
|
Returns the revocationDate.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.CertStatus.Status">
|
|
<summary>
|
|
Returns the certStatus.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixAttrCertChecker.GetSupportedExtensions">
|
|
Returns an immutable <code>Set</code> of X.509 attribute certificate
|
|
extensions that this <code>PkixAttrCertChecker</code> supports or
|
|
<code>null</code> if no extensions are supported.
|
|
<p>
|
|
Each element of the set is a <code>String</code> representing the
|
|
Object Identifier (OID) of the X.509 extension that is supported.
|
|
</p>
|
|
<p>
|
|
All X.509 attribute certificate extensions that a
|
|
<code>PkixAttrCertChecker</code> might possibly be able to process
|
|
should be included in the set.
|
|
</p>
|
|
|
|
@return an immutable <code>Set</code> of X.509 extension OIDs (in
|
|
<code>String</code> format) supported by this
|
|
<code>PkixAttrCertChecker</code>, or <code>null</code> if no
|
|
extensions are supported
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixAttrCertChecker.Check(Org.BouncyCastle.X509.IX509AttributeCertificate,Org.BouncyCastle.Pkix.PkixCertPath,Org.BouncyCastle.Pkix.PkixCertPath,System.Collections.ICollection)">
|
|
Performs checks on the specified attribute certificate. Every handled
|
|
extension is rmeoved from the <code>unresolvedCritExts</code>
|
|
collection.
|
|
|
|
@param attrCert The attribute certificate to be checked.
|
|
@param certPath The certificate path which belongs to the attribute
|
|
certificate issuer public key certificate.
|
|
@param holderCertPath The certificate path which belongs to the holder
|
|
certificate.
|
|
@param unresolvedCritExts a <code>Collection</code> of OID strings
|
|
representing the current set of unresolved critical extensions
|
|
@throws CertPathValidatorException if the specified attribute certificate
|
|
does not pass the check.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixAttrCertChecker.Clone">
|
|
Returns a clone of this object.
|
|
|
|
@return a copy of this <code>PkixAttrCertChecker</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixAttrCertPathBuilder.Build(Org.BouncyCastle.Pkix.PkixBuilderParameters)">
|
|
Build and validate a CertPath using the given parameter.
|
|
|
|
@param params PKIXBuilderParameters object containing all information to
|
|
build the CertPath
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixAttrCertPathValidator">
|
|
CertPathValidatorSpi implementation for X.509 Attribute Certificates la RFC 3281.
|
|
|
|
@see org.bouncycastle.x509.ExtendedPkixParameters
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixAttrCertPathValidator.Validate(Org.BouncyCastle.Pkix.PkixCertPath,Org.BouncyCastle.Pkix.PkixParameters)">
|
|
Validates an attribute certificate with the given certificate path.
|
|
|
|
<p>
|
|
<code>params</code> must be an instance of
|
|
<code>ExtendedPkixParameters</code>.
|
|
</p><p>
|
|
The target constraints in the <code>params</code> must be an
|
|
<code>X509AttrCertStoreSelector</code> with at least the attribute
|
|
certificate criterion set. Obey that also target informations may be
|
|
necessary to correctly validate this attribute certificate.
|
|
</p><p>
|
|
The attribute certificate issuer must be added to the trusted attribute
|
|
issuers with {@link ExtendedPkixParameters#setTrustedACIssuers(Set)}.
|
|
</p>
|
|
@param certPath The certificate path which belongs to the attribute
|
|
certificate issuer public key certificate.
|
|
@param params The PKIX parameters.
|
|
@return A <code>PKIXCertPathValidatorResult</code> of the result of
|
|
validating the <code>certPath</code>.
|
|
@throws InvalidAlgorithmParameterException if <code>params</code> is
|
|
inappropriate for this validator.
|
|
@throws CertPathValidatorException if the verification fails.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixBuilderParameters">
|
|
<summary>
|
|
Summary description for PkixBuilderParameters.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixBuilderParameters.GetInstance(Org.BouncyCastle.Pkix.PkixParameters)">
|
|
Returns an instance of <code>PkixBuilderParameters</code>.
|
|
<p>
|
|
This method can be used to get a copy from other
|
|
<code>PKIXBuilderParameters</code>, <code>PKIXParameters</code>,
|
|
and <code>ExtendedPKIXParameters</code> instances.
|
|
</p>
|
|
|
|
@param pkixParams The PKIX parameters to create a copy of.
|
|
@return An <code>PkixBuilderParameters</code> instance.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixBuilderParameters.GetExcludedCerts">
|
|
<summary>
|
|
Excluded certificates are not used for building a certification path.
|
|
</summary>
|
|
<returns>the excluded certificates.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixBuilderParameters.SetExcludedCerts(Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
<summary>
|
|
Sets the excluded certificates which are not used for building a
|
|
certification path. If the <code>ISet</code> is <code>null</code> an
|
|
empty set is assumed.
|
|
</summary>
|
|
<remarks>
|
|
The given set is cloned to protect it against subsequent modifications.
|
|
</remarks>
|
|
<param name="excludedCerts">The excluded certificates to set.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixBuilderParameters.SetParams(Org.BouncyCastle.Pkix.PkixParameters)">
|
|
Can alse handle <code>ExtendedPKIXBuilderParameters</code> and
|
|
<code>PKIXBuilderParameters</code>.
|
|
|
|
@param params Parameters to set.
|
|
@see org.bouncycastle.x509.ExtendedPKIXParameters#setParams(java.security.cert.PKIXParameters)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixBuilderParameters.Clone">
|
|
Makes a copy of this <code>PKIXParameters</code> object. Changes to the
|
|
copy will not affect the original and vice versa.
|
|
|
|
@return a copy of this <code>PKIXParameters</code> object
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPath">
|
|
An immutable sequence of certificates (a certification path).<br />
|
|
<br />
|
|
This is an abstract class that defines the methods common to all CertPaths.
|
|
Subclasses can handle different kinds of certificates (X.509, PGP, etc.).<br />
|
|
<br />
|
|
All CertPath objects have a type, a list of Certificates, and one or more
|
|
supported encodings. Because the CertPath class is immutable, a CertPath
|
|
cannot change in any externally visible way after being constructed. This
|
|
stipulation applies to all public fields and methods of this class and any
|
|
added or overridden by subclasses.<br />
|
|
<br />
|
|
The type is a string that identifies the type of Certificates in the
|
|
certification path. For each certificate cert in a certification path
|
|
certPath, cert.getType().equals(certPath.getType()) must be true.<br />
|
|
<br />
|
|
The list of Certificates is an ordered List of zero or more Certificates.
|
|
This List and all of the Certificates contained in it must be immutable.<br />
|
|
<br />
|
|
Each CertPath object must support one or more encodings so that the object
|
|
can be translated into a byte array for storage or transmission to other
|
|
parties. Preferably, these encodings should be well-documented standards
|
|
(such as PKCS#7). One of the encodings supported by a CertPath is considered
|
|
the default encoding. This encoding is used if no encoding is explicitly
|
|
requested (for the {@link #getEncoded()} method, for instance).<br />
|
|
<br />
|
|
All CertPath objects are also Serializable. CertPath objects are resolved
|
|
into an alternate {@link CertPathRep} object during serialization. This
|
|
allows a CertPath object to be serialized into an equivalent representation
|
|
regardless of its underlying implementation.<br />
|
|
<br />
|
|
CertPath objects can be created with a CertificateFactory or they can be
|
|
returned by other classes, such as a CertPathBuilder.<br />
|
|
<br />
|
|
By convention, X.509 CertPaths (consisting of X509Certificates), are ordered
|
|
starting with the target certificate and ending with a certificate issued by
|
|
the trust anchor. That is, the issuer of one certificate is the subject of
|
|
the following one. The certificate representing the
|
|
{@link TrustAnchor TrustAnchor} should not be included in the certification
|
|
path. Unvalidated X.509 CertPaths may not follow these conventions. PKIX
|
|
CertPathValidators will detect any departure from these conventions that
|
|
cause the certification path to be invalid and throw a
|
|
CertPathValidatorException.<br />
|
|
<br />
|
|
<strong>Concurrent Access</strong><br />
|
|
<br />
|
|
All CertPath objects must be thread-safe. That is, multiple threads may
|
|
concurrently invoke the methods defined in this class on a single CertPath
|
|
object (or more than one) with no ill effects. This is also true for the List
|
|
returned by CertPath.getCertificates.<br />
|
|
<br />
|
|
Requiring CertPath objects to be immutable and thread-safe allows them to be
|
|
passed around to various pieces of code without worrying about coordinating
|
|
access. Providing this thread-safety is generally not difficult, since the
|
|
CertPath and List objects in question are immutable.
|
|
|
|
@see CertificateFactory
|
|
@see CertPathBuilder
|
|
<summary>
|
|
CertPath implementation for X.509 certificates.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPath.SortCerts(System.Collections.IList)">
|
|
@param certs
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPath.#ctor(System.Collections.ICollection)">
|
|
Creates a CertPath of the specified type.
|
|
This constructor is protected because most users should use
|
|
a CertificateFactory to create CertPaths.
|
|
@param type the standard name of the type of Certificatesin this path
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPath.#ctor(System.IO.Stream,System.String)">
|
|
Creates a CertPath of the specified type.
|
|
This constructor is protected because most users should use
|
|
a CertificateFactory to create CertPaths.
|
|
|
|
@param type the standard name of the type of Certificatesin this path
|
|
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixCertPath.Encodings">
|
|
Returns an iteration of the encodings supported by this
|
|
certification path, with the default encoding
|
|
first. Attempts to modify the returned Iterator via its
|
|
remove method result in an UnsupportedOperationException.
|
|
|
|
@return an Iterator over the names of the supported encodings (as Strings)
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPath.Equals(System.Object)">
|
|
Compares this certification path for equality with the specified object.
|
|
Two CertPaths are equal if and only if their types are equal and their
|
|
certificate Lists (and by implication the Certificates in those Lists)
|
|
are equal. A CertPath is never equal to an object that is not a CertPath.<br />
|
|
<br />
|
|
This algorithm is implemented by this method. If it is overridden, the
|
|
behavior specified here must be maintained.
|
|
|
|
@param other
|
|
the object to test for equality with this certification path
|
|
|
|
@return true if the specified object is equal to this certification path,
|
|
false otherwise
|
|
|
|
@see Object#hashCode() Object.hashCode()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPath.GetEncoded">
|
|
Returns the encoded form of this certification path, using
|
|
the default encoding.
|
|
|
|
@return the encoded bytes
|
|
@exception CertificateEncodingException if an encoding error occurs
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPath.GetEncoded(System.String)">
|
|
Returns the encoded form of this certification path, using
|
|
the specified encoding.
|
|
|
|
@param encoding the name of the encoding to use
|
|
@return the encoded bytes
|
|
@exception CertificateEncodingException if an encoding error
|
|
occurs or the encoding requested is not supported
|
|
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixCertPath.Certificates">
|
|
<summary>
|
|
Returns the list of certificates in this certification
|
|
path.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPath.ToAsn1Object(Org.BouncyCastle.X509.X509Certificate)">
|
|
Return a DERObject containing the encoded certificate.
|
|
|
|
@param cert the X509Certificate object to be encoded
|
|
|
|
@return the DERObject
|
|
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPathBuilder">
|
|
Implements the PKIX CertPathBuilding algorithm for BouncyCastle.
|
|
|
|
@see CertPathBuilderSpi
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathBuilder.Build(Org.BouncyCastle.Pkix.PkixBuilderParameters)">
|
|
Build and validate a CertPath using the given parameter.
|
|
|
|
@param params PKIXBuilderParameters object containing all information to
|
|
build the CertPath
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPathBuilderException">
|
|
<summary>
|
|
Summary description for PkixCertPathBuilderException.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPathBuilderResult">
|
|
<summary>
|
|
Summary description for PkixCertPathBuilderResult.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathChecker.Init(System.Boolean)">
|
|
* Initializes the internal state of this <code>PKIXCertPathChecker</code>.
|
|
* <p>
|
|
* The <code>forward</code> flag specifies the order that certificates
|
|
* will be passed to the {@link #check check} method (forward or reverse). A
|
|
* <code>PKIXCertPathChecker</code> <b>must</b> support reverse checking
|
|
* and <b>may</b> support forward checking.
|
|
* </p>
|
|
*
|
|
* @param forward
|
|
* the order that certificates are presented to the
|
|
* <code>check</code> method. If <code>true</code>,
|
|
* certificates are presented from target to most-trusted CA
|
|
* (forward); if <code>false</code>, from most-trusted CA to
|
|
* target (reverse).
|
|
* @exception CertPathValidatorException
|
|
* if this <code>PKIXCertPathChecker</code> is unable to
|
|
* check certificates in the specified order; it should never
|
|
* be thrown if the forward flag is false since reverse
|
|
* checking must be supported
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathChecker.IsForwardCheckingSupported">
|
|
Indicates if forward checking is supported. Forward checking refers to
|
|
the ability of the <code>PKIXCertPathChecker</code> to perform its
|
|
checks when certificates are presented to the <code>check</code> method
|
|
in the forward direction (from target to most-trusted CA).
|
|
|
|
@return <code>true</code> if forward checking is supported,
|
|
<code>false</code> otherwise
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathChecker.GetSupportedExtensions">
|
|
* Returns an immutable <code>Set</code> of X.509 certificate extensions
|
|
* that this <code>PKIXCertPathChecker</code> supports (i.e. recognizes,
|
|
* is able to process), or <code>null</code> if no extensions are
|
|
* supported.
|
|
* <p>
|
|
* Each element of the set is a <code>String</code> representing the
|
|
* Object Identifier (OID) of the X.509 extension that is supported. The OID
|
|
* is represented by a set of nonnegative integers separated by periods.
|
|
* </p><p>
|
|
* All X.509 certificate extensions that a <code>PKIXCertPathChecker</code>
|
|
* might possibly be able to process should be included in the set.
|
|
* </p>
|
|
*
|
|
* @return an immutable <code>Set</code> of X.509 extension OIDs (in
|
|
* <code>String</code> format) supported by this
|
|
* <code>PKIXCertPathChecker</code>, or <code>null</code> if no
|
|
* extensions are supported
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathChecker.Check(Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Performs the check(s) on the specified certificate using its internal
|
|
state and removes any critical extensions that it processes from the
|
|
specified collection of OID strings that represent the unresolved
|
|
critical extensions. The certificates are presented in the order
|
|
specified by the <code>init</code> method.
|
|
|
|
@param cert
|
|
the <code>Certificate</code> to be checked
|
|
@param unresolvedCritExts
|
|
a <code>Collection</code> of OID strings representing the
|
|
current set of unresolved critical extensions
|
|
@exception CertPathValidatorException
|
|
if the specified certificate does not pass the check
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathChecker.Clone">
|
|
Returns a clone of this object. Calls the <code>Object.clone()</code>
|
|
method. All subclasses which maintain state must support and override
|
|
this method, if necessary.
|
|
|
|
@return a copy of this <code>PKIXCertPathChecker</code>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPathValidator">
|
|
The <i>Service Provider Interface</i> (<b>SPI</b>)
|
|
for the {@link CertPathValidator CertPathValidator} class. All
|
|
<code>CertPathValidator</code> implementations must include a class (the
|
|
SPI class) that extends this class (<code>CertPathValidatorSpi</code>)
|
|
and implements all of its methods. In general, instances of this class
|
|
should only be accessed through the <code>CertPathValidator</code> class.
|
|
For details, see the Java Cryptography Architecture.<br />
|
|
<br />
|
|
<b>Concurrent Access</b><br />
|
|
<br />
|
|
Instances of this class need not be protected against concurrent
|
|
access from multiple threads. Threads that need to access a single
|
|
<code>CertPathValidatorSpi</code> instance concurrently should synchronize
|
|
amongst themselves and provide the necessary locking before calling the
|
|
wrapping <code>CertPathValidator</code> object.<br />
|
|
<br />
|
|
However, implementations of <code>CertPathValidatorSpi</code> may still
|
|
encounter concurrency issues, since multiple threads each
|
|
manipulating a different <code>CertPathValidatorSpi</code> instance need not
|
|
synchronize.
|
|
<summary>
|
|
CertPathValidatorSpi implementation for X.509 Certificate validation a la RFC
|
|
3280.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPathValidatorException">
|
|
An exception indicating one of a variety of problems encountered when
|
|
validating a certification path. <br />
|
|
<br />
|
|
A <code>CertPathValidatorException</code> provides support for wrapping
|
|
exceptions. The {@link #getCause getCause} method returns the throwable,
|
|
if any, that caused this exception to be thrown. <br />
|
|
<br />
|
|
A <code>CertPathValidatorException</code> may also include the
|
|
certification path that was being validated when the exception was thrown
|
|
and the index of the certificate in the certification path that caused the
|
|
exception to be thrown. Use the {@link #getCertPath getCertPath} and
|
|
{@link #getIndex getIndex} methods to retrieve this information.<br />
|
|
<br />
|
|
<b>Concurrent Access</b><br />
|
|
<br />
|
|
Unless otherwise specified, the methods defined in this class are not
|
|
thread-safe. Multiple threads that need to access a single
|
|
object concurrently should synchronize amongst themselves and
|
|
provide the necessary locking. Multiple threads each manipulating
|
|
separate objects need not synchronize.
|
|
|
|
@see CertPathValidator
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorException.#ctor(System.String)">
|
|
<summary>
|
|
Creates a <code>PkixCertPathValidatorException</code> with the given detail
|
|
message. A detail message is a <code>String</code> that describes this
|
|
particular exception.
|
|
</summary>
|
|
<param name="message">the detail message</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorException.#ctor(System.String,System.Exception)">
|
|
<summary>
|
|
Creates a <code>PkixCertPathValidatorException</code> with the specified
|
|
detail message and cause.
|
|
</summary>
|
|
<param name="message">the detail message</param>
|
|
<param name="cause">the cause (which is saved for later retrieval by the
|
|
{@link #getCause getCause()} method). (A <code>null</code>
|
|
value is permitted, and indicates that the cause is
|
|
nonexistent or unknown.)</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorException.#ctor(System.String,System.Exception,Org.BouncyCastle.Pkix.PkixCertPath,System.Int32)">
|
|
<summary>
|
|
Creates a <code>PkixCertPathValidatorException</code> with the specified
|
|
detail message, cause, certification path, and index.
|
|
</summary>
|
|
<param name="message">the detail message (or <code>null</code> if none)</param>
|
|
<param name="cause">the cause (or <code>null</code> if none)</param>
|
|
<param name="certPath">the certification path that was in the process of being
|
|
validated when the error was encountered</param>
|
|
<param name="index">the index of the certificate in the certification path that</param> *
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixCertPathValidatorException.Message">
|
|
<summary>
|
|
Returns the detail message for this <code>CertPathValidatorException</code>.
|
|
</summary>
|
|
<returns>the detail message, or <code>null</code> if neither the message nor cause were specified</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixCertPathValidatorException.CertPath">
|
|
Returns the certification path that was being validated when the
|
|
exception was thrown.
|
|
|
|
@return the <code>CertPath</code> that was being validated when the
|
|
exception was thrown (or <code>null</code> if not specified)
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixCertPathValidatorException.Index">
|
|
Returns the index of the certificate in the certification path that
|
|
caused the exception to be thrown. Note that the list of certificates in
|
|
a <code>CertPath</code> is zero based. If no index has been set, -1 is
|
|
returned.
|
|
|
|
@return the index that has been set, or -1 if none has been set
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPathValidatorResult">
|
|
<summary>
|
|
Summary description for PkixCertPathValidatorResult.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities">
|
|
<summary>
|
|
Summary description for PkixCertPathValidatorUtilities.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.KEY_CERT_SIGN">
|
|
<summary>
|
|
key usage bits
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.FindTrustAnchor(Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
<summary>
|
|
Search the given Set of TrustAnchor's for one that is the
|
|
issuer of the given X509 certificate.
|
|
</summary>
|
|
<param name="cert">the X509 certificate</param>
|
|
<param name="trustAnchors">a Set of TrustAnchor's</param>
|
|
<returns>the <code>TrustAnchor</code> object if found or
|
|
<code>null</code> if not.
|
|
</returns>
|
|
@exception
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.GetIssuerPrincipal(System.Object)">
|
|
<summary>
|
|
Returns the issuer of an attribute certificate or certificate.
|
|
</summary>
|
|
<param name="cert">The attribute certificate or certificate.</param>
|
|
<returns>The issuer as <code>X500Principal</code>.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.GetNextWorkingKey(System.Collections.IList,System.Int32)">
|
|
Return the next working key inheriting DSA parameters if necessary.
|
|
<p>
|
|
This methods inherits DSA parameters from the indexed certificate or
|
|
previous certificates in the certificate chain to the returned
|
|
<code>PublicKey</code>. The list is searched upwards, meaning the end
|
|
certificate is at position 0 and previous certificates are following.
|
|
</p>
|
|
<p>
|
|
If the indexed certificate does not contain a DSA key this method simply
|
|
returns the public key. If the DSA key already contains DSA parameters
|
|
the key is also only returned.
|
|
</p>
|
|
|
|
@param certs The certification path.
|
|
@param index The index of the certificate which contains the public key
|
|
which should be extended with DSA parameters.
|
|
@return The public key of the certificate in list position
|
|
<code>index</code> extended with DSA parameters if applicable.
|
|
@throws Exception if DSA parameters cannot be inherited.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.FindCertificates(Org.BouncyCastle.X509.Store.X509CertStoreSelector,System.Collections.IList)">
|
|
<summary>
|
|
Return a Collection of all certificates or attribute certificates found
|
|
in the X509Store's that are matching the certSelect criteriums.
|
|
</summary>
|
|
<param name="certSelect">a {@link Selector} object that will be used to select
|
|
the certificates</param>
|
|
<param name="certStores">a List containing only X509Store objects. These
|
|
are used to search for certificates.</param>
|
|
<returns>a Collection of all found <see cref="T:Org.BouncyCastle.X509.X509Certificate"/> or
|
|
<see cref="T:Org.BouncyCastle.X509.IX509AttributeCertificate"/> objects.
|
|
May be empty but never <code>null</code>.</returns>
|
|
<exception cref="T:System.Exception"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.GetCrlIssuersFromDistributionPoint(Org.BouncyCastle.Asn1.X509.DistributionPoint,System.Collections.ICollection,Org.BouncyCastle.X509.Store.X509CrlStoreSelector,Org.BouncyCastle.Pkix.PkixParameters)">
|
|
Add the CRL issuers from the cRLIssuer field of the distribution point or
|
|
from the certificate if not given to the issuer criterion of the
|
|
<code>selector</code>.
|
|
<p>
|
|
The <code>issuerPrincipals</code> are a collection with a single
|
|
<code>X500Principal</code> for <code>X509Certificate</code>s. For
|
|
{@link X509AttributeCertificate}s the issuer may contain more than one
|
|
<code>X500Principal</code>.
|
|
</p>
|
|
|
|
@param dp The distribution point.
|
|
@param issuerPrincipals The issuers of the certificate or attribute
|
|
certificate which contains the distribution point.
|
|
@param selector The CRL selector.
|
|
@param pkixParams The PKIX parameters containing the cert stores.
|
|
@throws Exception if an exception occurs while processing.
|
|
@throws ClassCastException if <code>issuerPrincipals</code> does not
|
|
contain only <code>X500Principal</code>s.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.GetCompleteCrls(Org.BouncyCastle.Asn1.X509.DistributionPoint,System.Object,System.DateTime,Org.BouncyCastle.Pkix.PkixParameters)">
|
|
Fetches complete CRLs according to RFC 3280.
|
|
|
|
@param dp The distribution point for which the complete CRL
|
|
@param cert The <code>X509Certificate</code> or
|
|
{@link org.bouncycastle.x509.X509AttributeCertificate} for
|
|
which the CRL should be searched.
|
|
@param currentDate The date for which the delta CRLs must be valid.
|
|
@param paramsPKIX The extended PKIX parameters.
|
|
@return A <code>Set</code> of <code>X509CRL</code>s with complete
|
|
CRLs.
|
|
@throws Exception if an exception occurs while picking the CRLs
|
|
or no CRLs are found.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.GetDeltaCrls(System.DateTime,Org.BouncyCastle.Pkix.PkixParameters,Org.BouncyCastle.X509.X509Crl)">
|
|
Fetches delta CRLs according to RFC 3280 section 5.2.4.
|
|
|
|
@param currentDate The date for which the delta CRLs must be valid.
|
|
@param paramsPKIX The extended PKIX parameters.
|
|
@param completeCRL The complete CRL the delta CRL is for.
|
|
@return A <code>Set</code> of <code>X509CRL</code>s with delta CRLs.
|
|
@throws Exception if an exception occurs while picking the delta
|
|
CRLs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.FindIssuerCerts(Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Pkix.PkixBuilderParameters)">
|
|
Find the issuer certificates of a given certificate.
|
|
|
|
@param cert
|
|
The certificate for which an issuer should be found.
|
|
@param pkixParams
|
|
@return A <code>Collection</code> object containing the issuer
|
|
<code>X509Certificate</code>s. Never <code>null</code>.
|
|
|
|
@exception Exception
|
|
if an error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCertPathValidatorUtilities.GetExtensionValue(Org.BouncyCastle.X509.IX509Extension,Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
<summary>
|
|
Extract the value of the given extension, if it exists.
|
|
</summary>
|
|
<param name="ext">The extension object.</param>
|
|
<param name="oid">The object identifier to obtain.</param>
|
|
<returns>Asn1Object</returns>
|
|
<exception cref="T:System.Exception">if the extension cannot be read.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixCrlUtilities.FindCrls(Org.BouncyCastle.X509.Store.X509CrlStoreSelector,System.Collections.IList)">
|
|
<summary>
|
|
crl checking
|
|
Return a Collection of all CRLs found in the X509Store's that are
|
|
matching the crlSelect criteriums.
|
|
</summary>
|
|
<param name="crlSelect">a {@link X509CRLStoreSelector} object that will be used
|
|
to select the CRLs</param>
|
|
<param name="crlStores">a List containing only {@link org.bouncycastle.x509.X509Store
|
|
X509Store} objects. These are used to search for CRLs</param>
|
|
<returns>a Collection of all found {@link X509CRL X509CRL} objects. May be
|
|
empty but never <code>null</code>.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.IntersectIP(Org.BouncyCastle.Utilities.Collections.ISet,Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Returns the intersection of the permitted IP ranges in
|
|
<code>permitted</code> with <code>ip</code>.
|
|
|
|
@param permitted A <code>Set</code> of permitted IP addresses with
|
|
their subnet mask as byte arrays.
|
|
@param ips The IP address with its subnet mask.
|
|
@return The <code>Set</code> of permitted IP ranges intersected with
|
|
<code>ip</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.UnionIP(Org.BouncyCastle.Utilities.Collections.ISet,System.Byte[])">
|
|
Returns the union of the excluded IP ranges in <code>excluded</code>
|
|
with <code>ip</code>.
|
|
|
|
@param excluded A <code>Set</code> of excluded IP addresses with their
|
|
subnet mask as byte arrays.
|
|
@param ip The IP address with its subnet mask.
|
|
@return The <code>Set</code> of excluded IP ranges unified with
|
|
<code>ip</code> as byte arrays.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.UnionIPRange(System.Byte[],System.Byte[])">
|
|
Calculates the union if two IP ranges.
|
|
|
|
@param ipWithSubmask1 The first IP address with its subnet mask.
|
|
@param ipWithSubmask2 The second IP address with its subnet mask.
|
|
@return A <code>Set</code> with the union of both addresses.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.IntersectIPRange(System.Byte[],System.Byte[])">
|
|
Calculates the interesction if two IP ranges.
|
|
|
|
@param ipWithSubmask1 The first IP address with its subnet mask.
|
|
@param ipWithSubmask2 The second IP address with its subnet mask.
|
|
@return A <code>Set</code> with the single IP address with its subnet
|
|
mask as a byte array or an empty <code>Set</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.IpWithSubnetMask(System.Byte[],System.Byte[])">
|
|
Concatenates the IP address with its subnet mask.
|
|
|
|
@param ip The IP address.
|
|
@param subnetMask Its subnet mask.
|
|
@return The concatenated IP address with its subnet mask.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.ExtractIPsAndSubnetMasks(System.Byte[],System.Byte[])">
|
|
Splits the IP addresses and their subnet mask.
|
|
|
|
@param ipWithSubmask1 The first IP address with the subnet mask.
|
|
@param ipWithSubmask2 The second IP address with the subnet mask.
|
|
@return An array with two elements. Each element contains the IP address
|
|
and the subnet mask in this order.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.MinMaxIPs(System.Byte[],System.Byte[],System.Byte[],System.Byte[])">
|
|
Based on the two IP addresses and their subnet masks the IP range is
|
|
computed for each IP address - subnet mask pair and returned as the
|
|
minimum IP address and the maximum address of the range.
|
|
|
|
@param ip1 The first IP address.
|
|
@param subnetmask1 The subnet mask of the first IP address.
|
|
@param ip2 The second IP address.
|
|
@param subnetmask2 The subnet mask of the second IP address.
|
|
@return A array with two elements. The first/second element contains the
|
|
min and max IP address of the first/second IP address and its
|
|
subnet mask.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.CheckPermittedIP(Org.BouncyCastle.Utilities.Collections.ISet,System.Byte[])">
|
|
Checks if the IP <code>ip</code> is included in the permitted ISet
|
|
<code>permitted</code>.
|
|
|
|
@param permitted A <code>Set</code> of permitted IP addresses with
|
|
their subnet mask as byte arrays.
|
|
@param ip The IP address.
|
|
@throws PkixNameConstraintValidatorException
|
|
if the IP is not permitted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.CheckExcludedIP(Org.BouncyCastle.Utilities.Collections.ISet,System.Byte[])">
|
|
Checks if the IP <code>ip</code> is included in the excluded ISet
|
|
<code>excluded</code>.
|
|
|
|
@param excluded A <code>Set</code> of excluded IP addresses with their
|
|
subnet mask as byte arrays.
|
|
@param ip The IP address.
|
|
@throws PkixNameConstraintValidatorException
|
|
if the IP is excluded.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.IsIPConstrained(System.Byte[],System.Byte[])">
|
|
Checks if the IP address <code>ip</code> is constrained by
|
|
<code>constraint</code>.
|
|
|
|
@param ip The IP address.
|
|
@param constraint The constraint. This is an IP address concatenated with
|
|
its subnetmask.
|
|
@return <code>true</code> if constrained, <code>false</code>
|
|
otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.UnionEmail(System.String,System.String,Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
The common part of <code>email1</code> and <code>email2</code> is
|
|
added to the union <code>union</code>. If <code>email1</code> and
|
|
<code>email2</code> have nothing in common they are added both.
|
|
|
|
@param email1 Email address constraint 1.
|
|
@param email2 Email address constraint 2.
|
|
@param union The union.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.intersectEmail(System.String,System.String,Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
The most restricting part from <code>email1</code> and
|
|
<code>email2</code> is added to the intersection <code>intersect</code>.
|
|
|
|
@param email1 Email address constraint 1.
|
|
@param email2 Email address constraint 2.
|
|
@param intersect The intersection.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.checkPermitted(Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Checks if the given GeneralName is in the permitted ISet.
|
|
|
|
@param name The GeneralName
|
|
@throws PkixNameConstraintValidatorException
|
|
If the <code>name</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.checkExcluded(Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Check if the given GeneralName is contained in the excluded ISet.
|
|
|
|
@param name The GeneralName.
|
|
@throws PkixNameConstraintValidatorException
|
|
If the <code>name</code> is
|
|
excluded.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.IntersectPermittedSubtree(Org.BouncyCastle.Asn1.Asn1Sequence)">
|
|
Updates the permitted ISet of these name constraints with the intersection
|
|
with the given subtree.
|
|
|
|
@param permitted The permitted subtrees
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.AddExcludedSubtree(Org.BouncyCastle.Asn1.X509.GeneralSubtree)">
|
|
Adds a subtree to the excluded ISet of these name constraints.
|
|
|
|
@param subtree A subtree with an excluded GeneralName.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.Max(System.Byte[],System.Byte[])">
|
|
Returns the maximum IP address.
|
|
|
|
@param ip1 The first IP address.
|
|
@param ip2 The second IP address.
|
|
@return The maximum IP address.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.Min(System.Byte[],System.Byte[])">
|
|
Returns the minimum IP address.
|
|
|
|
@param ip1 The first IP address.
|
|
@param ip2 The second IP address.
|
|
@return The minimum IP address.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.CompareTo(System.Byte[],System.Byte[])">
|
|
Compares IP address <code>ip1</code> with <code>ip2</code>. If ip1
|
|
is equal to ip2 0 is returned. If ip1 is bigger 1 is returned, -1
|
|
otherwise.
|
|
|
|
@param ip1 The first IP address.
|
|
@param ip2 The second IP address.
|
|
@return 0 if ip1 is equal to ip2, 1 if ip1 is bigger, -1 otherwise.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.Or(System.Byte[],System.Byte[])">
|
|
Returns the logical OR of the IP addresses <code>ip1</code> and
|
|
<code>ip2</code>.
|
|
|
|
@param ip1 The first IP address.
|
|
@param ip2 The second IP address.
|
|
@return The OR of <code>ip1</code> and <code>ip2</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixNameConstraintValidator.StringifyIP(System.Byte[])">
|
|
Stringifies an IPv4 or v6 address with subnet mask.
|
|
|
|
@param ip The IP with subnet mask.
|
|
@return The stringified IP address.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixParameters">
|
|
<summary>
|
|
Summary description for PkixParameters.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Pkix.PkixParameters.PkixValidityModel">
|
|
This is the default PKIX validity model. Actually there are two variants
|
|
of this: The PKIX model and the modified PKIX model. The PKIX model
|
|
verifies that all involved certificates must have been valid at the
|
|
current time. The modified PKIX model verifies that all involved
|
|
certificates were valid at the signing time. Both are indirectly choosen
|
|
with the {@link PKIXParameters#setDate(java.util.Date)} method, so this
|
|
methods sets the Date when <em>all</em> certificates must have been
|
|
valid.
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Pkix.PkixParameters.ChainValidityModel">
|
|
This model uses the following validity model. Each certificate must have
|
|
been valid at the moment where is was used. That means the end
|
|
certificate must have been valid at the time the signature was done. The
|
|
CA certificate which signed the end certificate must have been valid,
|
|
when the end certificate was signed. The CA (or Root CA) certificate must
|
|
have been valid, when the CA certificate was signed and so on. So the
|
|
{@link PKIXParameters#setDate(java.util.Date)} method sets the time, when
|
|
the <em>end certificate</em> must have been valid. <p/> It is used e.g.
|
|
in the German signature law.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.#ctor(Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Creates an instance of PKIXParameters with the specified Set of
|
|
most-trusted CAs. Each element of the set is a TrustAnchor.<br />
|
|
<br />
|
|
Note that the Set is copied to protect against subsequent modifications.
|
|
|
|
@param trustAnchors
|
|
a Set of TrustAnchors
|
|
|
|
@exception InvalidAlgorithmParameterException
|
|
if the specified Set is empty
|
|
<code>(trustAnchors.isEmpty() == true)</code>
|
|
@exception NullPointerException
|
|
if the specified Set is <code>null</code>
|
|
@exception ClassCastException
|
|
if any of the elements in the Set are not of type
|
|
<code>java.security.cert.TrustAnchor</code>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetTargetCertConstraints">
|
|
Returns the required constraints on the target certificate. The
|
|
constraints are returned as an instance of CertSelector. If
|
|
<code>null</code>, no constraints are defined.<br />
|
|
<br />
|
|
Note that the CertSelector returned is cloned to protect against
|
|
subsequent modifications.
|
|
|
|
@return a CertSelector specifying the constraints on the target
|
|
certificate (or <code>null</code>)
|
|
|
|
@see #setTargetCertConstraints(CertSelector)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetTargetCertConstraints(Org.BouncyCastle.X509.Store.IX509Selector)">
|
|
Sets the required constraints on the target certificate. The constraints
|
|
are specified as an instance of CertSelector. If null, no constraints are
|
|
defined.<br />
|
|
<br />
|
|
Note that the CertSelector specified is cloned to protect against
|
|
subsequent modifications.
|
|
|
|
@param selector
|
|
a CertSelector specifying the constraints on the target
|
|
certificate (or <code>null</code>)
|
|
|
|
@see #getTargetCertConstraints()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetInitialPolicies">
|
|
Returns an immutable Set of initial policy identifiers (OID strings),
|
|
indicating that any one of these policies would be acceptable to the
|
|
certificate user for the purposes of certification path processing. The
|
|
default return value is an empty <code>Set</code>, which is
|
|
interpreted as meaning that any policy would be acceptable.
|
|
|
|
@return an immutable <code>Set</code> of initial policy OIDs in String
|
|
format, or an empty <code>Set</code> (implying any policy is
|
|
acceptable). Never returns <code>null</code>.
|
|
|
|
@see #setInitialPolicies(java.util.Set)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetInitialPolicies(Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Sets the <code>Set</code> of initial policy identifiers (OID strings),
|
|
indicating that any one of these policies would be acceptable to the
|
|
certificate user for the purposes of certification path processing. By
|
|
default, any policy is acceptable (i.e. all policies), so a user that
|
|
wants to allow any policy as acceptable does not need to call this
|
|
method, or can call it with an empty <code>Set</code> (or
|
|
<code>null</code>).<br />
|
|
<br />
|
|
Note that the Set is copied to protect against subsequent modifications.<br />
|
|
<br />
|
|
|
|
@param initialPolicies
|
|
a Set of initial policy OIDs in String format (or
|
|
<code>null</code>)
|
|
|
|
@exception ClassCastException
|
|
if any of the elements in the set are not of type String
|
|
|
|
@see #getInitialPolicies()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetCertPathCheckers(System.Collections.IList)">
|
|
Sets a <code>List</code> of additional certification path checkers. If
|
|
the specified List contains an object that is not a PKIXCertPathChecker,
|
|
it is ignored.<br />
|
|
<br />
|
|
Each <code>PKIXCertPathChecker</code> specified implements additional
|
|
checks on a certificate. Typically, these are checks to process and
|
|
verify private extensions contained in certificates. Each
|
|
<code>PKIXCertPathChecker</code> should be instantiated with any
|
|
initialization parameters needed to execute the check.<br />
|
|
<br />
|
|
This method allows sophisticated applications to extend a PKIX
|
|
<code>CertPathValidator</code> or <code>CertPathBuilder</code>. Each
|
|
of the specified PKIXCertPathCheckers will be called, in turn, by a PKIX
|
|
<code>CertPathValidator</code> or <code>CertPathBuilder</code> for
|
|
each certificate processed or validated.<br />
|
|
<br />
|
|
Regardless of whether these additional PKIXCertPathCheckers are set, a
|
|
PKIX <code>CertPathValidator</code> or <code>CertPathBuilder</code>
|
|
must perform all of the required PKIX checks on each certificate. The one
|
|
exception to this rule is if the RevocationEnabled flag is set to false
|
|
(see the {@link #setRevocationEnabled(boolean) setRevocationEnabled}
|
|
method).<br />
|
|
<br />
|
|
Note that the List supplied here is copied and each PKIXCertPathChecker
|
|
in the list is cloned to protect against subsequent modifications.
|
|
|
|
@param checkers
|
|
a List of PKIXCertPathCheckers. May be null, in which case no
|
|
additional checkers will be used.
|
|
@exception ClassCastException
|
|
if any of the elements in the list are not of type
|
|
<code>java.security.cert.PKIXCertPathChecker</code>
|
|
@see #getCertPathCheckers()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetCertPathCheckers">
|
|
Returns the List of certification path checkers. Each PKIXCertPathChecker
|
|
in the returned IList is cloned to protect against subsequent modifications.
|
|
|
|
@return an immutable List of PKIXCertPathCheckers (may be empty, but not
|
|
<code>null</code>)
|
|
|
|
@see #setCertPathCheckers(java.util.List)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.AddCertPathChecker(Org.BouncyCastle.Pkix.PkixCertPathChecker)">
|
|
Adds a <code>PKIXCertPathChecker</code> to the list of certification
|
|
path checkers. See the {@link #setCertPathCheckers setCertPathCheckers}
|
|
method for more details.
|
|
<p>
|
|
Note that the <code>PKIXCertPathChecker</code> is cloned to protect
|
|
against subsequent modifications.</p>
|
|
|
|
@param checker a <code>PKIXCertPathChecker</code> to add to the list of
|
|
checks. If <code>null</code>, the checker is ignored (not added to list).
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetParams(Org.BouncyCastle.Pkix.PkixParameters)">
|
|
Method to support <code>Clone()</code> under J2ME.
|
|
<code>super.Clone()</code> does not exist and fields are not copied.
|
|
|
|
@param params Parameters to set. If this are
|
|
<code>ExtendedPkixParameters</code> they are copied to.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixParameters.IsUseDeltasEnabled">
|
|
Whether delta CRLs should be used for checking the revocation status.
|
|
Defaults to <code>false</code>.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixParameters.ValidityModel">
|
|
The validity model.
|
|
@see #CHAIN_VALIDITY_MODEL
|
|
@see #PKIX_VALIDITY_MODEL
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetStores(System.Collections.IList)">
|
|
Sets the Bouncy Castle Stores for finding CRLs, certificates, attribute
|
|
certificates or cross certificates.
|
|
<p>
|
|
The <code>IList</code> is cloned.
|
|
</p>
|
|
|
|
@param stores A list of stores to use.
|
|
@see #getStores
|
|
@throws ClassCastException if an element of <code>stores</code> is not
|
|
a {@link Store}.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.AddStore(Org.BouncyCastle.X509.Store.IX509Store)">
|
|
Adds a Bouncy Castle {@link Store} to find CRLs, certificates, attribute
|
|
certificates or cross certificates.
|
|
<p>
|
|
This method should be used to add local stores, like collection based
|
|
X.509 stores, if available. Local stores should be considered first,
|
|
before trying to use additional (remote) locations, because they do not
|
|
need possible additional network traffic.
|
|
</p><p>
|
|
If <code>store</code> is <code>null</code> it is ignored.
|
|
</p>
|
|
|
|
@param store The store to add.
|
|
@see #getStores
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.AddAdditionalStore(Org.BouncyCastle.X509.Store.IX509Store)">
|
|
Adds an additional Bouncy Castle {@link Store} to find CRLs, certificates,
|
|
attribute certificates or cross certificates.
|
|
<p>
|
|
You should not use this method. This method is used for adding additional
|
|
X.509 stores, which are used to add (remote) locations, e.g. LDAP, found
|
|
during X.509 object processing, e.g. in certificates or CRLs. This method
|
|
is used in PKIX certification path processing.
|
|
</p><p>
|
|
If <code>store</code> is <code>null</code> it is ignored.
|
|
</p>
|
|
|
|
@param store The store to add.
|
|
@see #getStores()
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetAdditionalStores">
|
|
Returns an <code>IList</code> of additional Bouncy Castle
|
|
<code>Store</code>s used for finding CRLs, certificates, attribute
|
|
certificates or cross certificates.
|
|
|
|
@return an immutable <code>IList</code> of additional Bouncy Castle
|
|
<code>Store</code>s. Never <code>null</code>.
|
|
|
|
@see #addAddionalStore(Store)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetStores">
|
|
Returns an <code>IList</code> of Bouncy Castle
|
|
<code>Store</code>s used for finding CRLs, certificates, attribute
|
|
certificates or cross certificates.
|
|
|
|
@return an immutable <code>IList</code> of Bouncy Castle
|
|
<code>Store</code>s. Never <code>null</code>.
|
|
|
|
@see #setStores(IList)
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.PkixParameters.IsAdditionalLocationsEnabled">
|
|
Returns if additional {@link X509Store}s for locations like LDAP found
|
|
in certificates or CRLs should be used.
|
|
|
|
@return Returns <code>true</code> if additional stores are used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetAdditionalLocationsEnabled(System.Boolean)">
|
|
Sets if additional {@link X509Store}s for locations like LDAP found in
|
|
certificates or CRLs should be used.
|
|
|
|
@param enabled <code>true</code> if additional stores are used.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetTargetConstraints">
|
|
Returns the required constraints on the target certificate or attribute
|
|
certificate. The constraints are returned as an instance of
|
|
<code>IX509Selector</code>. If <code>null</code>, no constraints are
|
|
defined.
|
|
|
|
<p>
|
|
The target certificate in a PKIX path may be a certificate or an
|
|
attribute certificate.
|
|
</p><p>
|
|
Note that the <code>IX509Selector</code> returned is cloned to protect
|
|
against subsequent modifications.
|
|
</p>
|
|
@return a <code>IX509Selector</code> specifying the constraints on the
|
|
target certificate or attribute certificate (or <code>null</code>)
|
|
@see #setTargetConstraints
|
|
@see X509CertStoreSelector
|
|
@see X509AttributeCertStoreSelector
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetTargetConstraints(Org.BouncyCastle.X509.Store.IX509Selector)">
|
|
Sets the required constraints on the target certificate or attribute
|
|
certificate. The constraints are specified as an instance of
|
|
<code>IX509Selector</code>. If <code>null</code>, no constraints are
|
|
defined.
|
|
<p>
|
|
The target certificate in a PKIX path may be a certificate or an
|
|
attribute certificate.
|
|
</p><p>
|
|
Note that the <code>IX509Selector</code> specified is cloned to protect
|
|
against subsequent modifications.
|
|
</p>
|
|
|
|
@param selector a <code>IX509Selector</code> specifying the constraints on
|
|
the target certificate or attribute certificate (or
|
|
<code>null</code>)
|
|
@see #getTargetConstraints
|
|
@see X509CertStoreSelector
|
|
@see X509AttributeCertStoreSelector
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetTrustedACIssuers">
|
|
Returns the trusted attribute certificate issuers. If attribute
|
|
certificates is verified the trusted AC issuers must be set.
|
|
<p>
|
|
The returned <code>ISet</code> consists of <code>TrustAnchor</code>s.
|
|
</p><p>
|
|
The returned <code>ISet</code> is immutable. Never <code>null</code>
|
|
</p>
|
|
|
|
@return Returns an immutable set of the trusted AC issuers.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetTrustedACIssuers(Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Sets the trusted attribute certificate issuers. If attribute certificates
|
|
is verified the trusted AC issuers must be set.
|
|
<p>
|
|
The <code>trustedACIssuers</code> must be a <code>ISet</code> of
|
|
<code>TrustAnchor</code>
|
|
</p><p>
|
|
The given set is cloned.
|
|
</p>
|
|
|
|
@param trustedACIssuers The trusted AC issuers to set. Is never
|
|
<code>null</code>.
|
|
@throws ClassCastException if an element of <code>stores</code> is not
|
|
a <code>TrustAnchor</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetNecessaryACAttributes">
|
|
Returns the necessary attributes which must be contained in an attribute
|
|
certificate.
|
|
<p>
|
|
The returned <code>ISet</code> is immutable and contains
|
|
<code>String</code>s with the OIDs.
|
|
</p>
|
|
|
|
@return Returns the necessary AC attributes.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetNecessaryACAttributes(Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Sets the necessary which must be contained in an attribute certificate.
|
|
<p>
|
|
The <code>ISet</code> must contain <code>String</code>s with the
|
|
OIDs.
|
|
</p><p>
|
|
The set is cloned.
|
|
</p>
|
|
|
|
@param necessaryACAttributes The necessary AC attributes to set.
|
|
@throws ClassCastException if an element of
|
|
<code>necessaryACAttributes</code> is not a
|
|
<code>String</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetProhibitedACAttributes">
|
|
Returns the attribute certificates which are not allowed.
|
|
<p>
|
|
The returned <code>ISet</code> is immutable and contains
|
|
<code>String</code>s with the OIDs.
|
|
</p>
|
|
|
|
@return Returns the prohibited AC attributes. Is never <code>null</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetProhibitedACAttributes(Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Sets the attribute certificates which are not allowed.
|
|
<p>
|
|
The <code>ISet</code> must contain <code>String</code>s with the
|
|
OIDs.
|
|
</p><p>
|
|
The set is cloned.
|
|
</p>
|
|
|
|
@param prohibitedACAttributes The prohibited AC attributes to set.
|
|
@throws ClassCastException if an element of
|
|
<code>prohibitedACAttributes</code> is not a
|
|
<code>String</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.GetAttrCertCheckers">
|
|
Returns the attribute certificate checker. The returned set contains
|
|
{@link PKIXAttrCertChecker}s and is immutable.
|
|
|
|
@return Returns the attribute certificate checker. Is never
|
|
<code>null</code>.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixParameters.SetAttrCertCheckers(Org.BouncyCastle.Utilities.Collections.ISet)">
|
|
Sets the attribute certificate checkers.
|
|
<p>
|
|
All elements in the <code>ISet</code> must a {@link PKIXAttrCertChecker}.
|
|
</p>
|
|
<p>
|
|
The given set is cloned.
|
|
</p>
|
|
|
|
@param attrCertCheckers The attribute certificate checkers to set. Is
|
|
never <code>null</code>.
|
|
@throws ClassCastException if an element of <code>attrCertCheckers</code>
|
|
is not a <code>PKIXAttrCertChecker</code>.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.PkixPolicyNode">
|
|
<summary>
|
|
Summary description for PkixPolicyNode.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.PkixPolicyNode.#ctor(System.Collections.IList,System.Int32,Org.BouncyCastle.Utilities.Collections.ISet,Org.BouncyCastle.Pkix.PkixPolicyNode,Org.BouncyCastle.Utilities.Collections.ISet,System.String,System.Boolean)">
|
|
Constructors
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.ReasonsMask">
|
|
<summary>
|
|
This class helps to handle CRL revocation reasons mask. Each CRL handles a
|
|
certain set of revocation reasons.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.ReasonsMask.#ctor(System.Int32)">
|
|
<summary>
|
|
Constructs are reason mask with the reasons.
|
|
</summary>
|
|
<param name="reasons">The reasons.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.ReasonsMask.#ctor">
|
|
<summary>
|
|
A reason mask with no reason.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Org.BouncyCastle.Pkix.ReasonsMask.AllReasons">
|
|
<summary>
|
|
A mask with all revocation reasons.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.ReasonsMask.AddReasons(Org.BouncyCastle.Pkix.ReasonsMask)">
|
|
Adds all reasons from the reasons mask to this mask.
|
|
|
|
@param mask The reasons mask to add.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.ReasonsMask.IsAllReasons">
|
|
<summary>
|
|
Returns <code>true</code> if this reasons mask contains all possible
|
|
reasons.
|
|
</summary>
|
|
<returns>true if this reasons mask contains all possible reasons.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.ReasonsMask.Intersect(Org.BouncyCastle.Pkix.ReasonsMask)">
|
|
<summary>
|
|
Intersects this mask with the given reasons mask.
|
|
</summary>
|
|
<param name="mask">mask The mask to intersect with.</param>
|
|
<returns>The intersection of this and teh given mask.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.ReasonsMask.HasNewReasons(Org.BouncyCastle.Pkix.ReasonsMask)">
|
|
<summary>
|
|
Returns <c>true</c> if the passed reasons mask has new reasons.
|
|
</summary>
|
|
<param name="mask">The reasons mask which should be tested for new reasons.</param>
|
|
<returns><c>true</c> if the passed reasons mask has new reasons.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.ReasonsMask.Reasons">
|
|
<summary>
|
|
Returns the reasons in this mask.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3280CertPathUtilities.ProcessCrlB2(Org.BouncyCastle.Asn1.X509.DistributionPoint,System.Object,Org.BouncyCastle.X509.X509Crl)">
|
|
If the complete CRL includes an issuing distribution point (IDP) CRL
|
|
extension check the following:
|
|
<p>
|
|
(i) If the distribution point name is present in the IDP CRL extension
|
|
and the distribution field is present in the DP, then verify that one of
|
|
the names in the IDP matches one of the names in the DP. If the
|
|
distribution point name is present in the IDP CRL extension and the
|
|
distribution field is omitted from the DP, then verify that one of the
|
|
names in the IDP matches one of the names in the cRLIssuer field of the
|
|
DP.
|
|
</p>
|
|
<p>
|
|
(ii) If the onlyContainsUserCerts boolean is asserted in the IDP CRL
|
|
extension, verify that the certificate does not include the basic
|
|
constraints extension with the cA boolean asserted.
|
|
</p>
|
|
<p>
|
|
(iii) If the onlyContainsCACerts boolean is asserted in the IDP CRL
|
|
extension, verify that the certificate includes the basic constraints
|
|
extension with the cA boolean asserted.
|
|
</p>
|
|
<p>
|
|
(iv) Verify that the onlyContainsAttributeCerts boolean is not asserted.
|
|
</p>
|
|
|
|
@param dp The distribution point.
|
|
@param cert The certificate.
|
|
@param crl The CRL.
|
|
@throws AnnotatedException if one of the conditions is not met or an error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3280CertPathUtilities.ProcessCrlB1(Org.BouncyCastle.Asn1.X509.DistributionPoint,System.Object,Org.BouncyCastle.X509.X509Crl)">
|
|
If the DP includes cRLIssuer, then verify that the issuer field in the
|
|
complete CRL matches cRLIssuer in the DP and that the complete CRL
|
|
contains an
|
|
g distribution point extension with the indirectCRL
|
|
boolean asserted. Otherwise, verify that the CRL issuer matches the
|
|
certificate issuer.
|
|
|
|
@param dp The distribution point.
|
|
@param cert The certificate ot attribute certificate.
|
|
@param crl The CRL for <code>cert</code>.
|
|
@throws AnnotatedException if one of the above conditions does not apply or an error
|
|
occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3280CertPathUtilities.ProcessCrlF(Org.BouncyCastle.X509.X509Crl,System.Object,Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Pkix.PkixParameters,System.Collections.IList)">
|
|
Obtain and validate the certification path for the complete CRL issuer.
|
|
If a key usage extension is present in the CRL issuer's certificate,
|
|
verify that the cRLSign bit is set.
|
|
|
|
@param crl CRL which contains revocation information for the certificate
|
|
<code>cert</code>.
|
|
@param cert The attribute certificate or certificate to check if it is
|
|
revoked.
|
|
@param defaultCRLSignCert The issuer certificate of the certificate <code>cert</code>.
|
|
@param defaultCRLSignKey The public key of the issuer certificate
|
|
<code>defaultCRLSignCert</code>.
|
|
@param paramsPKIX paramsPKIX PKIX parameters.
|
|
@param certPathCerts The certificates on the certification path.
|
|
@return A <code>Set</code> with all keys of possible CRL issuer
|
|
certificates.
|
|
@throws AnnotatedException if the CRL is not valid or the status cannot be checked or
|
|
some error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3280CertPathUtilities.CheckCrl(Org.BouncyCastle.Asn1.X509.DistributionPoint,Org.BouncyCastle.Pkix.PkixParameters,Org.BouncyCastle.X509.X509Certificate,System.DateTime,Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Pkix.CertStatus,Org.BouncyCastle.Pkix.ReasonsMask,System.Collections.IList)">
|
|
Checks a distribution point for revocation information for the
|
|
certificate <code>cert</code>.
|
|
|
|
@param dp The distribution point to consider.
|
|
@param paramsPKIX PKIX parameters.
|
|
@param cert Certificate to check if it is revoked.
|
|
@param validDate The date when the certificate revocation status should be
|
|
checked.
|
|
@param defaultCRLSignCert The issuer certificate of the certificate <code>cert</code>.
|
|
@param defaultCRLSignKey The public key of the issuer certificate
|
|
<code>defaultCRLSignCert</code>.
|
|
@param certStatus The current certificate revocation status.
|
|
@param reasonMask The reasons mask which is already checked.
|
|
@param certPathCerts The certificates of the certification path.
|
|
@throws AnnotatedException if the certificate is revoked or the status cannot be checked
|
|
or some error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3280CertPathUtilities.CheckCrls(Org.BouncyCastle.Pkix.PkixParameters,Org.BouncyCastle.X509.X509Certificate,System.DateTime,Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Collections.IList)">
|
|
Checks a certificate if it is revoked.
|
|
|
|
@param paramsPKIX PKIX parameters.
|
|
@param cert Certificate to check if it is revoked.
|
|
@param validDate The date when the certificate revocation status should be
|
|
checked.
|
|
@param sign The issuer certificate of the certificate <code>cert</code>.
|
|
@param workingPublicKey The public key of the issuer certificate <code>sign</code>.
|
|
@param certPathCerts The certificates of the certification path.
|
|
@throws AnnotatedException if the certificate is revoked or the status cannot be checked
|
|
or some error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3280CertPathUtilities.ProcessCrlC(Org.BouncyCastle.X509.X509Crl,Org.BouncyCastle.X509.X509Crl,Org.BouncyCastle.Pkix.PkixParameters)">
|
|
If use-deltas is set, verify the issuer and scope of the delta CRL.
|
|
|
|
@param deltaCRL The delta CRL.
|
|
@param completeCRL The complete CRL.
|
|
@param pkixParams The PKIX paramaters.
|
|
@throws AnnotatedException if an exception occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3281CertPathUtilities.CheckCrls(Org.BouncyCastle.X509.IX509AttributeCertificate,Org.BouncyCastle.Pkix.PkixParameters,Org.BouncyCastle.X509.X509Certificate,System.DateTime,System.Collections.IList)">
|
|
Checks if an attribute certificate is revoked.
|
|
|
|
@param attrCert Attribute certificate to check if it is revoked.
|
|
@param paramsPKIX PKIX parameters.
|
|
@param issuerCert The issuer certificate of the attribute certificate
|
|
<code>attrCert</code>.
|
|
@param validDate The date when the certificate revocation status should
|
|
be checked.
|
|
@param certPathCerts The certificates of the certification path to be
|
|
checked.
|
|
|
|
@throws CertPathValidatorException if the certificate is revoked or the
|
|
status cannot be checked or some error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3281CertPathUtilities.ProcessAttrCert1(Org.BouncyCastle.X509.IX509AttributeCertificate,Org.BouncyCastle.Pkix.PkixParameters)">
|
|
Searches for a holder public key certificate and verifies its
|
|
certification path.
|
|
|
|
@param attrCert the attribute certificate.
|
|
@param pkixParams The PKIX parameters.
|
|
@return The certificate path of the holder certificate.
|
|
@throws Exception if
|
|
<ul>
|
|
<li>no public key certificate can be found although holder
|
|
information is given by an entity name or a base certificate
|
|
ID</li>
|
|
<li>support classes cannot be created</li>
|
|
<li>no certification path for the public key certificate can
|
|
be built</li>
|
|
</ul>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.Rfc3281CertPathUtilities.CheckCrl(Org.BouncyCastle.Asn1.X509.DistributionPoint,Org.BouncyCastle.X509.IX509AttributeCertificate,Org.BouncyCastle.Pkix.PkixParameters,System.DateTime,Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.Pkix.CertStatus,Org.BouncyCastle.Pkix.ReasonsMask,System.Collections.IList)">
|
|
|
|
Checks a distribution point for revocation information for the
|
|
certificate <code>attrCert</code>.
|
|
|
|
@param dp The distribution point to consider.
|
|
@param attrCert The attribute certificate which should be checked.
|
|
@param paramsPKIX PKIX parameters.
|
|
@param validDate The date when the certificate revocation status should
|
|
be checked.
|
|
@param issuerCert Certificate to check if it is revoked.
|
|
@param reasonMask The reasons mask which is already checked.
|
|
@param certPathCerts The certificates of the certification path to be
|
|
checked.
|
|
@throws Exception if the certificate is revoked or the status
|
|
cannot be checked or some error occurs.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Pkix.TrustAnchor">
|
|
<summary>
|
|
A trust anchor or most-trusted Certification Authority (CA).
|
|
|
|
This class represents a "most-trusted CA", which is used as a trust anchor
|
|
for validating X.509 certification paths. A most-trusted CA includes the
|
|
public key of the CA, the CA's name, and any constraints upon the set of
|
|
paths which may be validated using this key. These parameters can be
|
|
specified in the form of a trusted X509Certificate or as individual
|
|
parameters.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.TrustAnchor.#ctor(Org.BouncyCastle.X509.X509Certificate,System.Byte[])">
|
|
<summary>
|
|
Creates an instance of TrustAnchor with the specified X509Certificate and
|
|
optional name constraints, which are intended to be used as additional
|
|
constraints when validating an X.509 certification path.
|
|
The name constraints are specified as a byte array. This byte array
|
|
should contain the DER encoded form of the name constraints, as they
|
|
would appear in the NameConstraints structure defined in RFC 2459 and
|
|
X.509. The ASN.1 definition of this structure appears below.
|
|
|
|
<pre>
|
|
NameConstraints ::= SEQUENCE {
|
|
permittedSubtrees [0] GeneralSubtrees OPTIONAL,
|
|
excludedSubtrees [1] GeneralSubtrees OPTIONAL }
|
|
|
|
GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree
|
|
|
|
GeneralSubtree ::= SEQUENCE {
|
|
base GeneralName,
|
|
minimum [0] BaseDistance DEFAULT 0,
|
|
maximum [1] BaseDistance OPTIONAL }
|
|
|
|
BaseDistance ::= INTEGER (0..MAX)
|
|
|
|
GeneralName ::= CHOICE {
|
|
otherName [0] OtherName,
|
|
rfc822Name [1] IA5String,
|
|
dNSName [2] IA5String,
|
|
x400Address [3] ORAddress,
|
|
directoryName [4] Name,
|
|
ediPartyName [5] EDIPartyName,
|
|
uniformResourceIdentifier [6] IA5String,
|
|
iPAddress [7] OCTET STRING,
|
|
registeredID [8] OBJECT IDENTIFIER}
|
|
</pre>
|
|
|
|
Note that the name constraints byte array supplied is cloned to protect
|
|
against subsequent modifications.
|
|
</summary>
|
|
<param name="trustedCert">a trusted X509Certificate</param>
|
|
<param name="nameConstraints">a byte array containing the ASN.1 DER encoding of a
|
|
NameConstraints extension to be used for checking name
|
|
constraints. Only the value of the extension is included, not
|
|
the OID or criticality flag. Specify null to omit the
|
|
parameter.</param>
|
|
<exception cref="T:System.ArgumentNullException">if the specified X509Certificate is null</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.TrustAnchor.#ctor(Org.BouncyCastle.Asn1.X509.X509Name,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[])">
|
|
<summary>
|
|
Creates an instance of <c>TrustAnchor</c> where the
|
|
most-trusted CA is specified as an X500Principal and public key.
|
|
</summary>
|
|
<remarks>
|
|
<p>
|
|
Name constraints are an optional parameter, and are intended to be used
|
|
as additional constraints when validating an X.509 certification path.
|
|
</p><p>
|
|
The name constraints are specified as a byte array. This byte array
|
|
contains the DER encoded form of the name constraints, as they
|
|
would appear in the NameConstraints structure defined in RFC 2459
|
|
and X.509. The ASN.1 notation for this structure is supplied in the
|
|
documentation for the other constructors.
|
|
</p><p>
|
|
Note that the name constraints byte array supplied here is cloned to
|
|
protect against subsequent modifications.
|
|
</p>
|
|
</remarks>
|
|
<param name="caPrincipal">the name of the most-trusted CA as X509Name</param>
|
|
<param name="pubKey">the public key of the most-trusted CA</param>
|
|
<param name="nameConstraints">
|
|
a byte array containing the ASN.1 DER encoding of a NameConstraints extension to
|
|
be used for checking name constraints. Only the value of the extension is included,
|
|
not the OID or criticality flag. Specify <c>null</c> to omit the parameter.
|
|
</param>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
if <c>caPrincipal</c> or <c>pubKey</c> is null
|
|
</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.TrustAnchor.#ctor(System.String,Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[])">
|
|
<summary>
|
|
Creates an instance of <code>TrustAnchor</code> where the most-trusted
|
|
CA is specified as a distinguished name and public key. Name constraints
|
|
are an optional parameter, and are intended to be used as additional
|
|
constraints when validating an X.509 certification path.
|
|
<br/>
|
|
The name constraints are specified as a byte array. This byte array
|
|
contains the DER encoded form of the name constraints, as they would
|
|
appear in the NameConstraints structure defined in RFC 2459 and X.509.
|
|
</summary>
|
|
<param name="caName">the X.500 distinguished name of the most-trusted CA in RFC
|
|
2253 string format</param>
|
|
<param name="pubKey">the public key of the most-trusted CA</param>
|
|
<param name="nameConstraints">a byte array containing the ASN.1 DER encoding of a
|
|
NameConstraints extension to be used for checking name
|
|
constraints. Only the value of the extension is included, not
|
|
the OID or criticality flag. Specify null to omit the
|
|
parameter.</param>
|
|
throws NullPointerException, IllegalArgumentException
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.TrustAnchor.TrustedCert">
|
|
<summary>
|
|
Returns the most-trusted CA certificate.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.TrustAnchor.CA">
|
|
<summary>
|
|
Returns the name of the most-trusted CA as an X509Name.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.TrustAnchor.CAName">
|
|
<summary>
|
|
Returns the name of the most-trusted CA in RFC 2253 string format.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Pkix.TrustAnchor.CAPublicKey">
|
|
<summary>
|
|
Returns the public key of the most-trusted CA.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.TrustAnchor.setNameConstraints(System.Byte[])">
|
|
<summary>
|
|
Decode the name constraints and clone them if not null.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Pkix.TrustAnchor.ToString">
|
|
<summary>
|
|
Returns a formatted string describing the <code>TrustAnchor</code>.
|
|
</summary>
|
|
<returns>a formatted string describing the <code>TrustAnchor</code></returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Tsp.TimeStampRequest">
|
|
Base class for an RFC 3161 Time Stamp Request.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequest.#ctor(System.Byte[])">
|
|
Create a TimeStampRequest from the past in byte array.
|
|
|
|
@param req byte array containing the request.
|
|
@throws IOException if the request is malformed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequest.#ctor(System.IO.Stream)">
|
|
Create a TimeStampRequest from the past in input stream.
|
|
|
|
@param in input stream containing the request.
|
|
@throws IOException if the request is malformed.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequest.Validate(System.Collections.IList,System.Collections.IList,System.Collections.IList)">
|
|
Validate the timestamp request, checking the digest to see if it is of an
|
|
accepted type and whether it is of the correct length for the algorithm specified.
|
|
|
|
@param algorithms a set of string OIDS giving accepted algorithms.
|
|
@param policies if non-null a set of policies we are willing to sign under.
|
|
@param extensions if non-null a set of extensions we are willing to accept.
|
|
@throws TspException if the request is invalid, or processing fails.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequest.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Tsp.TimeStampRequestGenerator">
|
|
Generator for RFC 3161 Time Stamp Request objects.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequestGenerator.AddExtension(System.String,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
add a given extension field for the standard extensions tag (tag 3)
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequestGenerator.AddExtension(System.String,System.Boolean,System.Byte[])">
|
|
add a given extension field for the standard extensions tag
|
|
The value parameter becomes the contents of the octet string associated
|
|
with the extension.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequestGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
add a given extension field for the standard extensions tag (tag 3)
|
|
@throws IOException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampRequestGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,System.Byte[])">
|
|
add a given extension field for the standard extensions tag
|
|
The value parameter becomes the contents of the octet string associated
|
|
with the extension.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Tsp.TimeStampResponse">
|
|
Base class for an RFC 3161 Time Stamp Response object.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampResponse.#ctor(System.Byte[])">
|
|
Create a TimeStampResponse from a byte array containing an ASN.1 encoding.
|
|
|
|
@param resp the byte array containing the encoded response.
|
|
@throws TspException if the response is malformed.
|
|
@throws IOException if the byte array doesn't represent an ASN.1 encoding.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampResponse.#ctor(System.IO.Stream)">
|
|
Create a TimeStampResponse from an input stream containing an ASN.1 encoding.
|
|
|
|
@param input the input stream containing the encoded response.
|
|
@throws TspException if the response is malformed.
|
|
@throws IOException if the stream doesn't represent an ASN.1 encoding.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampResponse.Validate(Org.BouncyCastle.Tsp.TimeStampRequest)">
|
|
Check this response against to see if it a well formed response for
|
|
the passed in request. Validation will include checking the time stamp
|
|
token if the response status is GRANTED or GRANTED_WITH_MODS.
|
|
|
|
@param request the request to be checked against
|
|
@throws TspException if the request can not match this response.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampResponse.GetEncoded">
|
|
return the ASN.1 encoded representation of this object.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Tsp.TimeStampResponseGenerator">
|
|
Generator for RFC 3161 Time Stamp Responses.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampResponseGenerator.Generate(Org.BouncyCastle.Tsp.TimeStampRequest,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Utilities.Date.DateTimeObject)">
|
|
Return an appropriate TimeStampResponse.
|
|
<p>
|
|
If genTime is null a timeNotAvailable error response will be returned.
|
|
|
|
@param request the request this response is for.
|
|
@param serialNumber serial number for the response token.
|
|
@param genTime generation time for the response token.
|
|
@param provider provider to use for signature calculation.
|
|
@return
|
|
@throws NoSuchAlgorithmException
|
|
@throws NoSuchProviderException
|
|
@throws TSPException
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampResponseGenerator.GenerateFailResponse(Org.BouncyCastle.Asn1.Cmp.PkiStatus,System.Int32,System.String)">
|
|
Generate a TimeStampResponse with chosen status and FailInfoField.
|
|
|
|
@param status the PKIStatus to set.
|
|
@param failInfoField the FailInfoField to set.
|
|
@param statusString an optional string describing the failure.
|
|
@return a TimeStampResponse with a failInfoField and optional statusString
|
|
@throws TSPException in case the response could not be created
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampToken.Validate(Org.BouncyCastle.X509.X509Certificate)">
|
|
Validate the time stamp token.
|
|
<p>
|
|
To be valid the token must be signed by the passed in certificate and
|
|
the certificate must be the one referred to by the SigningCertificate
|
|
attribute included in the hashed attributes of the token. The
|
|
certificate must also have the ExtendedKeyUsageExtension with only
|
|
KeyPurposeID.IdKPTimeStamping and have been valid at the time the
|
|
timestamp was created.
|
|
</p>
|
|
<p>
|
|
A successful call to validate means all the above are true.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampToken.ToCmsSignedData">
|
|
Return the underlying CmsSignedData object.
|
|
|
|
@return the underlying CMS structure.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampToken.GetEncoded">
|
|
Return a ASN.1 encoded byte stream representing the encoded object.
|
|
|
|
@throws IOException if encoding fails.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampToken.GetEncoded(System.String)">
|
|
return the ASN.1 encoded representation of this object using the specified encoding.
|
|
|
|
@param encoding the ASN.1 encoding format to use ("BER" or "DER").
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampTokenGenerator.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,System.String)">
|
|
basic creation - only the default attributes will be included here.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TimeStampTokenGenerator.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.X509.X509Certificate,System.String,System.String,Org.BouncyCastle.Asn1.Cms.AttributeTable,Org.BouncyCastle.Asn1.Cms.AttributeTable)">
|
|
create with a signer with extra signed/unsigned attributes.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Tsp.TimeStampTokenInfo.Nonce">
|
|
@return the nonce value, null if there isn't one.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Tsp.TspAlgorithms">
|
|
Recognised hash algorithms for the time stamp protocol.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TspUtil.GetSignatureTimestamps(Org.BouncyCastle.Cms.SignerInformation)">
|
|
Fetches the signature time-stamp attributes from a SignerInformation object.
|
|
Checks that the MessageImprint for each time-stamp matches the signature field.
|
|
(see RFC 3161 Appendix A).
|
|
|
|
@param signerInfo a SignerInformation to search for time-stamps
|
|
@return a collection of TimeStampToken objects
|
|
@throws TSPValidationException
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TspUtil.ValidateCertificate(Org.BouncyCastle.X509.X509Certificate)">
|
|
Validate the passed in certificate as being of the correct type to be used
|
|
for time stamping. To be valid it must have an ExtendedKeyUsage extension
|
|
which has a key purpose identifier of id-kp-timeStamping.
|
|
|
|
@param cert the certificate of interest.
|
|
@throws TspValidationException if the certicate fails on one of the check points.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Tsp.TspUtil.GetDigestAlgName(System.String)">
|
|
<summary>
|
|
Return the digest algorithm using one of the standard JCA string
|
|
representations rather than the algorithm identifier (if possible).
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Tsp.TspValidationException">
|
|
Exception thrown if a TSP request or response fails to validate.
|
|
<p>
|
|
If a failure code is associated with the exception it can be retrieved using
|
|
the getFailureCode() method.</p>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.Tsp.TspValidationException.FailureCode">
|
|
Return the failure code associated with this exception - if one is set.
|
|
|
|
@return the failure code if set, -1 otherwise.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Arrays">
|
|
<summary> General array utilities.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Arrays.AreEqual(System.Byte[],System.Byte[])">
|
|
<summary>
|
|
Are two arrays equal.
|
|
</summary>
|
|
<param name="a">Left side.</param>
|
|
<param name="b">Right side.</param>
|
|
<returns>True if equal.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Arrays.ConstantTimeAreEqual(System.Byte[],System.Byte[])">
|
|
<summary>
|
|
A constant time equals comparison - does not terminate early if
|
|
test will fail.
|
|
</summary>
|
|
<param name="a">first array</param>
|
|
<param name="b">second array</param>
|
|
<returns>true if arrays equal, false otherwise.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Arrays.CopyOfRange(System.Byte[],System.Int32,System.Int32)">
|
|
Make a copy of a range of bytes from the passed in data array. The range can
|
|
extend beyond the end of the input array, in which case the return array will
|
|
be padded with zeroes.
|
|
|
|
@param data the array from which the data is to be copied.
|
|
@param from the start index at which the copying should take place.
|
|
@param to the final index of the range (exclusive).
|
|
|
|
@return a new byte array containing the range given.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.BigIntegers">
|
|
BigInteger utilities.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.BigIntegers.AsUnsignedByteArray(Org.BouncyCastle.Math.BigInteger)">
|
|
Return the passed in value as an unsigned byte array.
|
|
|
|
@param value value to be converted.
|
|
@return a byte array without a leading zero byte if present in the signed encoding.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.BigIntegers.AsUnsignedByteArray(System.Int32,Org.BouncyCastle.Math.BigInteger)">
|
|
Return the passed in value as an unsigned byte array of specified length, zero-extended as necessary.
|
|
|
|
@param length desired length of result array.
|
|
@param n value to be converted.
|
|
@return a byte array of specified length, with leading zeroes as necessary given the size of n.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.BigIntegers.CreateRandomBigInteger(System.Int32,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Creates a Random BigInteger from the secure random of a given bit length.
|
|
</summary>
|
|
<param name="bitLength"></param>
|
|
<param name="secureRandom"></param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.BigIntegers.CreateRandomInRange(Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Math.BigInteger,Org.BouncyCastle.Security.SecureRandom)">
|
|
Return a random BigInteger not less than 'min' and not greater than 'max'
|
|
|
|
@param min the least value that may be generated
|
|
@param max the greatest value that may be generated
|
|
@param random the source of randomness
|
|
@return a random BigInteger value in the range [min,max]
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Date.DateTimeUtilities.DateTimeToUnixMs(System.DateTime)">
|
|
<summary>
|
|
Return the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC) for a given DateTime value.
|
|
</summary>
|
|
<param name="dateTime">A UTC DateTime value not before epoch.</param>
|
|
<returns>Number of whole milliseconds after epoch.</returns>
|
|
<exception cref="T:System.ArgumentException">'dateTime' is before epoch.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Date.DateTimeUtilities.UnixMsToDateTime(System.Int64)">
|
|
<summary>
|
|
Create a DateTime value from the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC).
|
|
</summary>
|
|
<param name="unixMs">Number of milliseconds since the epoch.</param>
|
|
<returns>A UTC DateTime value</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Date.DateTimeUtilities.CurrentUnixMs">
|
|
<summary>
|
|
Return the current number of milliseconds since the Unix epoch (1 Jan., 1970 UTC).
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64.Encode(System.Byte[])">
|
|
encode the input data producing a base 64 encoded byte array.
|
|
|
|
@return a byte array containing the base 64 encoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64.Encode(System.Byte[],System.Int32,System.Int32)">
|
|
encode the input data producing a base 64 encoded byte array.
|
|
|
|
@return a byte array containing the base 64 encoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64.Encode(System.Byte[],System.IO.Stream)">
|
|
Encode the byte data to base 64 writing it to the given output stream.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64.Encode(System.Byte[],System.Int32,System.Int32,System.IO.Stream)">
|
|
Encode the byte data to base 64 writing it to the given output stream.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64.Decode(System.Byte[])">
|
|
decode the base 64 encoded input data. It is assumed the input data is valid.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64.Decode(System.String)">
|
|
decode the base 64 encoded string data - whitespace will be ignored.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64.Decode(System.String,System.IO.Stream)">
|
|
decode the base 64 encoded string data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64Encoder.Encode(System.Byte[],System.Int32,System.Int32,System.IO.Stream)">
|
|
encode the input data producing a base 64 output stream.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64Encoder.Decode(System.Byte[],System.Int32,System.Int32,System.IO.Stream)">
|
|
decode the base 64 encoded byte data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Base64Encoder.DecodeString(System.String,System.IO.Stream)">
|
|
decode the base 64 encoded string data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.BufferedDecoder">
|
|
<summary>
|
|
A buffering class to allow translation from one format to another to
|
|
be done in discrete chunks.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.BufferedDecoder.#ctor(Org.BouncyCastle.Utilities.Encoders.ITranslator,System.Int32)">
|
|
<summary>
|
|
Create a buffered Decoder.
|
|
</summary>
|
|
<param name="translator">The translater to use.</param>
|
|
<param name="bufferSize">The size of the buffer.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.BufferedDecoder.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Process one byte of data.
|
|
</summary>
|
|
<param name="input">Data in.</param>
|
|
<param name="output">Byte array for the output.</param>
|
|
<param name="outOff">The offset in the output byte array to start writing from.</param>
|
|
<returns>The amount of output bytes.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.BufferedDecoder.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Process data from a byte array.
|
|
</summary>
|
|
<param name="input">The input data.</param>
|
|
<param name="inOff">Start position within input data array.</param>
|
|
<param name="len">Amount of data to process from input data array.</param>
|
|
<param name="outBytes">Array to store output.</param>
|
|
<param name="outOff">Position in output array to start writing from.</param>
|
|
<returns>The amount of output bytes.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.BufferedEncoder">
|
|
<summary>
|
|
A class that allows encoding of data using a specific encoder to be processed in chunks.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.BufferedEncoder.#ctor(Org.BouncyCastle.Utilities.Encoders.ITranslator,System.Int32)">
|
|
<summary>
|
|
Create.
|
|
</summary>
|
|
<param name="translator">The translator to use.</param>
|
|
<param name="bufferSize">Size of the chunks.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.BufferedEncoder.ProcessByte(System.Byte,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Process one byte of data.
|
|
</summary>
|
|
<param name="input">The byte.</param>
|
|
<param name="outBytes">An array to store output in.</param>
|
|
<param name="outOff">Offset within output array to start writing from.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.BufferedEncoder.ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Process data from a byte array.
|
|
</summary>
|
|
<param name="input">Input data Byte array containing data to be processed.</param>
|
|
<param name="inOff">Start position within input data array.</param>
|
|
<param name="len">Amount of input data to be processed.</param>
|
|
<param name="outBytes">Output data array.</param>
|
|
<param name="outOff">Offset within output data array to start writing to.</param>
|
|
<returns>The amount of data written.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.Hex">
|
|
<summary>
|
|
Class to decode and encode Hex.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.Encode(System.Byte[])">
|
|
encode the input data producing a Hex encoded byte array.
|
|
|
|
@return a byte array containing the Hex encoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.Encode(System.Byte[],System.Int32,System.Int32)">
|
|
encode the input data producing a Hex encoded byte array.
|
|
|
|
@return a byte array containing the Hex encoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.Encode(System.Byte[],System.IO.Stream)">
|
|
Hex encode the byte data writing it to the given output stream.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.Encode(System.Byte[],System.Int32,System.Int32,System.IO.Stream)">
|
|
Hex encode the byte data writing it to the given output stream.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.Decode(System.Byte[])">
|
|
decode the Hex encoded input data. It is assumed the input data is valid.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.Decode(System.String)">
|
|
decode the Hex encoded string data - whitespace will be ignored.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.Decode(System.String,System.IO.Stream)">
|
|
decode the Hex encoded string data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.DecodeStrict(System.String)">
|
|
Decode the hexadecimal-encoded string strictly i.e. any non-hexadecimal characters will be
|
|
considered an error.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.Hex.DecodeStrict(System.String,System.Int32,System.Int32)">
|
|
Decode the hexadecimal-encoded string strictly i.e. any non-hexadecimal characters will be
|
|
considered an error.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.HexEncoder.Encode(System.Byte[],System.Int32,System.Int32,System.IO.Stream)">
|
|
encode the input data producing a Hex output stream.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.HexEncoder.Decode(System.Byte[],System.Int32,System.Int32,System.IO.Stream)">
|
|
decode the Hex encoded byte data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.HexEncoder.DecodeString(System.String,System.IO.Stream)">
|
|
decode the Hex encoded string data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.HexTranslator">
|
|
<summary>
|
|
A hex translator.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.HexTranslator.GetEncodedBlockSize">
|
|
<summary>
|
|
Return encoded block size.
|
|
</summary>
|
|
<returns>2</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.HexTranslator.Encode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Encode some data.
|
|
</summary>
|
|
<param name="input">Input data array.</param>
|
|
<param name="inOff">Start position within input data array.</param>
|
|
<param name="length">The amount of data to process.</param>
|
|
<param name="outBytes">The output data array.</param>
|
|
<param name="outOff">The offset within the output data array to start writing from.</param>
|
|
<returns>Amount of data encoded.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.HexTranslator.GetDecodedBlockSize">
|
|
<summary>
|
|
Returns the decoded block size.
|
|
</summary>
|
|
<returns>1</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.HexTranslator.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)">
|
|
<summary>
|
|
Decode data from a byte array.
|
|
</summary>
|
|
<param name="input">The input data array.</param>
|
|
<param name="inOff">Start position within input data array.</param>
|
|
<param name="length">The amounty of data to process.</param>
|
|
<param name="outBytes">The output data array.</param>
|
|
<param name="outOff">The position within the output data array to start writing from.</param>
|
|
<returns>The amount of data written.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.IEncoder">
|
|
Encode and decode byte arrays (typically from binary to 7-bit ASCII
|
|
encodings).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.ITranslator">
|
|
<summary>
|
|
Translator interface.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.UrlBase64">
|
|
Convert binary data to and from UrlBase64 encoding. This is identical to
|
|
Base64 encoding, except that the padding character is "." and the other
|
|
non-alphanumeric characters are "-" and "_" instead of "+" and "/".
|
|
<p>
|
|
The purpose of UrlBase64 encoding is to provide a compact encoding of binary
|
|
data that is safe for use as an URL parameter. Base64 encoding does not
|
|
produce encoded values that are safe for use in URLs, since "/" can be
|
|
interpreted as a path delimiter; "+" is the encoded form of a space; and
|
|
"=" is used to separate a name from the corresponding value in an URL
|
|
parameter.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.UrlBase64.Encode(System.Byte[])">
|
|
Encode the input data producing a URL safe base 64 encoded byte array.
|
|
|
|
@return a byte array containing the URL safe base 64 encoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.UrlBase64.Encode(System.Byte[],System.IO.Stream)">
|
|
Encode the byte data writing it to the given output stream.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.UrlBase64.Decode(System.Byte[])">
|
|
Decode the URL safe base 64 encoded input data - white space will be ignored.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.UrlBase64.Decode(System.Byte[],System.IO.Stream)">
|
|
decode the URL safe base 64 encoded byte data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.UrlBase64.Decode(System.String)">
|
|
decode the URL safe base 64 encoded string data - whitespace will be ignored.
|
|
|
|
@return a byte array representing the decoded data.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Encoders.UrlBase64.Decode(System.String,System.IO.Stream)">
|
|
Decode the URL safe base 64 encoded string data writing it to the given output stream,
|
|
whitespace characters will be ignored.
|
|
|
|
@return the number of bytes produced.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Encoders.UrlBase64Encoder">
|
|
Convert binary data to and from UrlBase64 encoding. This is identical to
|
|
Base64 encoding, except that the padding character is "." and the other
|
|
non-alphanumeric characters are "-" and "_" instead of "+" and "/".
|
|
<p>
|
|
The purpose of UrlBase64 encoding is to provide a compact encoding of binary
|
|
data that is safe for use as an URL parameter. Base64 encoding does not
|
|
produce encoded values that are safe for use in URLs, since "/" can be
|
|
interpreted as a path delimiter; "+" is the encoded form of a space; and
|
|
"=" is used to separate a name from the corresponding value in an URL
|
|
parameter.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IMemoable.Copy">
|
|
<summary>
|
|
Produce a copy of this object with its configuration and in its current state.
|
|
</summary>
|
|
<remarks>
|
|
The returned object may be used simply to store the state, or may be used as a similar object
|
|
starting from the copied state.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IMemoable.Reset(Org.BouncyCastle.Utilities.IMemoable)">
|
|
<summary>
|
|
Restore a copied object state into this object.
|
|
</summary>
|
|
<remarks>
|
|
Implementations of this method <em>should</em> try to avoid or minimise memory allocation to perform the reset.
|
|
</remarks>
|
|
<param name="other">an object originally {@link #copy() copied} from an object of the same type as this instance.</param>
|
|
<exception cref="T:System.InvalidCastException">if the provided object is not of the correct type.</exception>
|
|
<exception cref="T:Org.BouncyCastle.Utilities.MemoableResetException">if the <b>other</b> parameter is in some other way invalid.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Pem.PemObjectGenerator.Generate">
|
|
<returns>
|
|
A <see cref="T:Org.BouncyCastle.Utilities.IO.Pem.PemObject"/>
|
|
</returns>
|
|
<exception cref="T:Org.BouncyCastle.Utilities.IO.Pem.PemGenerationException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Pem.PemObjectParser.ParseObject(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
<param name="obj">
|
|
A <see cref="T:Org.BouncyCastle.Utilities.IO.Pem.PemObject"/>
|
|
</param>
|
|
<returns>
|
|
A <see cref="T:System.Object"/>
|
|
</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Pem.PemReader.ReadPemObject">
|
|
<returns>
|
|
A <see cref="T:Org.BouncyCastle.Utilities.IO.Pem.PemObject"/>
|
|
</returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.IO.Pem.PemWriter">
|
|
A generic PEM writer, based on RFC 1421
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Pem.PemWriter.#ctor(System.IO.TextWriter)">
|
|
Base constructor.
|
|
|
|
@param out output stream to use.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Pem.PemWriter.GetOutputSize(Org.BouncyCastle.Utilities.IO.Pem.PemObject)">
|
|
Return the number of bytes or characters required to contain the
|
|
passed in object if it is PEM encoded.
|
|
|
|
@param obj pem object to be output
|
|
@return an estimate of the number of bytes
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Streams.PipeAllLimited(System.IO.Stream,System.Int64,System.IO.Stream)">
|
|
<summary>
|
|
Pipe all bytes from <c>inStr</c> to <c>outStr</c>, throwing <c>StreamFlowException</c> if greater
|
|
than <c>limit</c> bytes in <c>inStr</c>.
|
|
</summary>
|
|
<param name="inStr">
|
|
A <see cref="T:System.IO.Stream"/>
|
|
</param>
|
|
<param name="limit">
|
|
A <see cref="T:System.Int64"/>
|
|
</param>
|
|
<param name="outStr">
|
|
A <see cref="T:System.IO.Stream"/>
|
|
</param>
|
|
<returns>The number of bytes actually transferred, if not greater than <c>limit</c></returns>
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Streams.WriteBufTo(System.IO.MemoryStream,System.IO.Stream)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.IO.Streams.WriteBufTo(System.IO.MemoryStream,System.Byte[],System.Int32)">
|
|
<exception cref="T:System.IO.IOException"></exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.MemoableResetException">
|
|
Exception to be thrown on a failure to reset an object implementing Memoable.
|
|
<p>
|
|
The exception extends InvalidCastException to enable users to have a single handling case,
|
|
only introducing specific handling of this one if required.
|
|
</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.MemoableResetException.#ctor(System.String)">
|
|
Basic Constructor.
|
|
|
|
@param msg message to be associated with this exception.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Net.IPAddress.IsValid(System.String)">
|
|
Validate the given IPv4 or IPv6 address.
|
|
|
|
@param address the IP address as a string.
|
|
|
|
@return true if a valid address, false otherwise
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Net.IPAddress.IsValidWithNetMask(System.String)">
|
|
Validate the given IPv4 or IPv6 address and netmask.
|
|
|
|
@param address the IP address as a string.
|
|
|
|
@return true if a valid address with netmask, false otherwise
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Net.IPAddress.IsValidIPv4(System.String)">
|
|
Validate the given IPv4 address.
|
|
|
|
@param address the IP address as a string.
|
|
|
|
@return true if a valid IPv4 address, false otherwise
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Utilities.Net.IPAddress.IsValidIPv6(System.String)">
|
|
Validate the given IPv6 address.
|
|
|
|
@param address the IP address as a string.
|
|
|
|
@return true if a valid IPv4 address, false otherwise
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Strings">
|
|
<summary> General string utilities.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Zlib.ZDeflaterOutputStream">
|
|
<summary>
|
|
Summary description for DeflaterOutputStream.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Utilities.Zlib.ZInflaterInputStream">
|
|
<summary>
|
|
Summary description for DeflaterOutputStream.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.AttributeCertificateHolder">
|
|
<remarks>
|
|
The Holder object.
|
|
<pre>
|
|
Holder ::= SEQUENCE {
|
|
baseCertificateID [0] IssuerSerial OPTIONAL,
|
|
-- the issuer and serial number of
|
|
-- the holder's Public Key Certificate
|
|
entityName [1] GeneralNames OPTIONAL,
|
|
-- the name of the claimant or role
|
|
objectDigestInfo [2] ObjectDigestInfo OPTIONAL
|
|
-- used to directly authenticate the holder,
|
|
-- for example, an executable
|
|
}
|
|
</pre>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.AttributeCertificateHolder.#ctor(System.Int32,System.String,System.String,System.Byte[])">
|
|
Constructs a holder for v2 attribute certificates with a hash value for
|
|
some type of object.
|
|
<p>
|
|
<code>digestedObjectType</code> can be one of the following:
|
|
<ul>
|
|
<li>0 - publicKey - A hash of the public key of the holder must be
|
|
passed.</li>
|
|
<li>1 - publicKeyCert - A hash of the public key certificate of the
|
|
holder must be passed.</li>
|
|
<li>2 - otherObjectDigest - A hash of some other object type must be
|
|
passed. <code>otherObjectTypeID</code> must not be empty.</li>
|
|
</ul>
|
|
</p>
|
|
<p>This cannot be used if a v1 attribute certificate is used.</p>
|
|
|
|
@param digestedObjectType The digest object type.
|
|
@param digestAlgorithm The algorithm identifier for the hash.
|
|
@param otherObjectTypeID The object type ID if
|
|
<code>digestedObjectType</code> is
|
|
<code>otherObjectDigest</code>.
|
|
@param objectDigest The hash value.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.AttributeCertificateHolder.DigestedObjectType">
|
|
Returns the digest object type if an object digest info is used.
|
|
<p>
|
|
<ul>
|
|
<li>0 - publicKey - A hash of the public key of the holder must be
|
|
passed.</li>
|
|
<li>1 - publicKeyCert - A hash of the public key certificate of the
|
|
holder must be passed.</li>
|
|
<li>2 - otherObjectDigest - A hash of some other object type must be
|
|
passed. <code>otherObjectTypeID</code> must not be empty.</li>
|
|
</ul>
|
|
</p>
|
|
|
|
@return The digest object type or -1 if no object digest info is set.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.AttributeCertificateHolder.DigestAlgorithm">
|
|
Returns the other object type ID if an object digest info is used.
|
|
|
|
@return The other object type ID or <code>null</code> if no object
|
|
digest info is set.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.AttributeCertificateHolder.GetObjectDigest">
|
|
Returns the hash if an object digest info is used.
|
|
|
|
@return The hash or <code>null</code> if no object digest info is set.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.AttributeCertificateHolder.OtherObjectTypeID">
|
|
Returns the digest algorithm ID if an object digest info is used.
|
|
|
|
@return The digest algorithm ID or <code>null</code> if no object
|
|
digest info is set.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.AttributeCertificateHolder.GetEntityNames">
|
|
Return any principal objects inside the attribute certificate holder entity names field.
|
|
|
|
@return an array of IPrincipal objects (usually X509Name), null if no entity names field is set.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.AttributeCertificateHolder.GetIssuer">
|
|
Return the principals associated with the issuer attached to this holder
|
|
|
|
@return an array of principals, null if no BaseCertificateID is set.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.AttributeCertificateHolder.SerialNumber">
|
|
Return the serial number associated with the issuer attached to this holder.
|
|
|
|
@return the certificate serial number, null if no BaseCertificateID is set.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.AttributeCertificateIssuer">
|
|
Carrying class for an attribute certificate issuer.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.AttributeCertificateIssuer.#ctor(Org.BouncyCastle.Asn1.X509.AttCertIssuer)">
|
|
Set the issuer directly with the ASN.1 structure.
|
|
|
|
@param issuer The issuer
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.AttributeCertificateIssuer.GetPrincipals">
|
|
<summary>Return any principal objects inside the attribute certificate issuer object.</summary>
|
|
<returns>An array of IPrincipal objects (usually X509Principal).</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.Extension.AuthorityKeyIdentifierStructure">
|
|
<remarks>A high level authority key identifier.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Extension.AuthorityKeyIdentifierStructure.#ctor(Org.BouncyCastle.Asn1.Asn1OctetString)">
|
|
Constructor which will take the byte[] returned from getExtensionValue()
|
|
|
|
@param encodedValue a DER octet encoded string with the extension structure in it.
|
|
@throws IOException on parsing errors.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Extension.AuthorityKeyIdentifierStructure.#ctor(Org.BouncyCastle.X509.X509Certificate)">
|
|
Create an AuthorityKeyIdentifier using the passed in certificate's public
|
|
key, issuer and serial number.
|
|
|
|
@param certificate the certificate providing the information.
|
|
@throws CertificateParsingException if there is a problem processing the certificate
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Extension.AuthorityKeyIdentifierStructure.#ctor(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
Create an AuthorityKeyIdentifier using just the hash of the
|
|
public key.
|
|
|
|
@param pubKey the key to generate the hash from.
|
|
@throws InvalidKeyException if there is a problem using the key.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.Extension.SubjectKeyIdentifierStructure">
|
|
A high level subject key identifier.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Extension.SubjectKeyIdentifierStructure.#ctor(Org.BouncyCastle.Asn1.Asn1OctetString)">
|
|
Constructor which will take the byte[] returned from getExtensionValue()
|
|
|
|
@param encodedValue a DER octet encoded string with the extension structure in it.
|
|
@throws IOException on parsing errors.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.IX509AttributeCertificate">
|
|
<remarks>Interface for an X.509 Attribute Certificate.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.IX509AttributeCertificate.Version">
|
|
<summary>The version number for the certificate.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.IX509AttributeCertificate.SerialNumber">
|
|
<summary>The serial number for the certificate.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.IX509AttributeCertificate.NotBefore">
|
|
<summary>The UTC DateTime before which the certificate is not valid.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.IX509AttributeCertificate.NotAfter">
|
|
<summary>The UTC DateTime after which the certificate is not valid.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.IX509AttributeCertificate.Holder">
|
|
<summary>The holder of the certificate.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.IX509AttributeCertificate.Issuer">
|
|
<summary>The issuer details for the certificate.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.IX509AttributeCertificate.GetAttributes">
|
|
<summary>Return the attributes contained in the attribute block in the certificate.</summary>
|
|
<returns>An array of attributes.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.IX509AttributeCertificate.GetAttributes(System.String)">
|
|
<summary>Return the attributes with the same type as the passed in oid.</summary>
|
|
<param name="oid">The object identifier we wish to match.</param>
|
|
<returns>An array of matched attributes, null if there is no match.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.IX509AttributeCertificate.GetEncoded">
|
|
<summary>Return an ASN.1 encoded byte array representing the attribute certificate.</summary>
|
|
<returns>An ASN.1 encoded byte array.</returns>
|
|
<exception cref="T:System.IO.IOException">If the certificate cannot be encoded.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.IX509Extension.GetCriticalExtensionOids">
|
|
<summary>
|
|
Get all critical extension values, by oid
|
|
</summary>
|
|
<returns>IDictionary with string (OID) keys and Asn1OctetString values</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.IX509Extension.GetNonCriticalExtensionOids">
|
|
<summary>
|
|
Get all non-critical extension values, by oid
|
|
</summary>
|
|
<returns>IDictionary with string (OID) keys and Asn1OctetString values</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.PrincipalUtilities">
|
|
<remarks>
|
|
A utility class that will extract X509Principal objects from X.509 certificates.
|
|
<p>
|
|
Use this in preference to trying to recreate a principal from a string, not all
|
|
DNs are what they should be, so it's best to leave them encoded where they
|
|
can be.</p>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.PrincipalUtilities.GetIssuerX509Principal(Org.BouncyCastle.X509.X509Certificate)">
|
|
<summary>Return the issuer of the given cert as an X509Principal.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.PrincipalUtilities.GetSubjectX509Principal(Org.BouncyCastle.X509.X509Certificate)">
|
|
<summary>Return the subject of the given cert as an X509Principal.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.PrincipalUtilities.GetIssuerX509Principal(Org.BouncyCastle.X509.X509Crl)">
|
|
<summary>Return the issuer of the given CRL as an X509Principal.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector">
|
|
This class is an <code>Selector</code> like implementation to select
|
|
attribute certificates from a given set of criteria.
|
|
|
|
@see org.bouncycastle.x509.X509AttributeCertificate
|
|
@see org.bouncycastle.x509.X509Store
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.Match(System.Object)">
|
|
<summary>
|
|
Decides if the given attribute certificate should be selected.
|
|
</summary>
|
|
<param name="obj">The attribute certificate to be checked.</param>
|
|
<returns><code>true</code> if the object matches this selector.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.AttributeCert">
|
|
<summary>The attribute certificate which must be matched.</summary>
|
|
<remarks>If <c>null</c> is given, any will do.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.AttributeCertificateValid">
|
|
<summary>The criteria for validity</summary>
|
|
<remarks>If <c>null</c> is given any will do.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.Holder">
|
|
<summary>The holder.</summary>
|
|
<remarks>If <c>null</c> is given any will do.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.Issuer">
|
|
<summary>The issuer.</summary>
|
|
<remarks>If <c>null</c> is given any will do.</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.SerialNumber">
|
|
<summary>The serial number.</summary>
|
|
<remarks>If <c>null</c> is given any will do.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.AddTargetName(Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Adds a target name criterion for the attribute certificate to the target
|
|
information extension criteria. The <code>X509AttributeCertificate</code>
|
|
must contain at least one of the specified target names.
|
|
<p>
|
|
Each attribute certificate may contain a target information extension
|
|
limiting the servers where this attribute certificate can be used. If
|
|
this extension is not present, the attribute certificate is not targeted
|
|
and may be accepted by any server.
|
|
</p>
|
|
|
|
@param name The name as a GeneralName (not <code>null</code>)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.AddTargetName(System.Byte[])">
|
|
Adds a target name criterion for the attribute certificate to the target
|
|
information extension criteria. The <code>X509AttributeCertificate</code>
|
|
must contain at least one of the specified target names.
|
|
<p>
|
|
Each attribute certificate may contain a target information extension
|
|
limiting the servers where this attribute certificate can be used. If
|
|
this extension is not present, the attribute certificate is not targeted
|
|
and may be accepted by any server.
|
|
</p>
|
|
|
|
@param name a byte array containing the name in ASN.1 DER encoded form of a GeneralName
|
|
@throws IOException if a parsing error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.SetTargetNames(System.Collections.IEnumerable)">
|
|
Adds a collection with target names criteria. If <code>null</code> is
|
|
given any will do.
|
|
<p>
|
|
The collection consists of either GeneralName objects or byte[] arrays representing
|
|
DER encoded GeneralName structures.
|
|
</p>
|
|
|
|
@param names A collection of target names.
|
|
@throws IOException if a parsing error occurs.
|
|
@see #AddTargetName(byte[])
|
|
@see #AddTargetName(GeneralName)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.GetTargetNames">
|
|
Gets the target names. The collection consists of <code>List</code>s
|
|
made up of an <code>Integer</code> in the first entry and a DER encoded
|
|
byte array or a <code>String</code> in the second entry.
|
|
<p>The returned collection is immutable.</p>
|
|
|
|
@return The collection of target names
|
|
@see #setTargetNames(Collection)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.AddTargetGroup(Org.BouncyCastle.Asn1.X509.GeneralName)">
|
|
Adds a target group criterion for the attribute certificate to the target
|
|
information extension criteria. The <code>X509AttributeCertificate</code>
|
|
must contain at least one of the specified target groups.
|
|
<p>
|
|
Each attribute certificate may contain a target information extension
|
|
limiting the servers where this attribute certificate can be used. If
|
|
this extension is not present, the attribute certificate is not targeted
|
|
and may be accepted by any server.
|
|
</p>
|
|
|
|
@param group The group as GeneralName form (not <code>null</code>)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.AddTargetGroup(System.Byte[])">
|
|
Adds a target group criterion for the attribute certificate to the target
|
|
information extension criteria. The <code>X509AttributeCertificate</code>
|
|
must contain at least one of the specified target groups.
|
|
<p>
|
|
Each attribute certificate may contain a target information extension
|
|
limiting the servers where this attribute certificate can be used. If
|
|
this extension is not present, the attribute certificate is not targeted
|
|
and may be accepted by any server.
|
|
</p>
|
|
|
|
@param name a byte array containing the group in ASN.1 DER encoded form of a GeneralName
|
|
@throws IOException if a parsing error occurs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.SetTargetGroups(System.Collections.IEnumerable)">
|
|
Adds a collection with target groups criteria. If <code>null</code> is
|
|
given any will do.
|
|
<p>
|
|
The collection consists of <code>GeneralName</code> objects or <code>byte[]</code>
|
|
representing DER encoded GeneralNames.
|
|
</p>
|
|
|
|
@param names A collection of target groups.
|
|
@throws IOException if a parsing error occurs.
|
|
@see #AddTargetGroup(byte[])
|
|
@see #AddTargetGroup(GeneralName)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509AttrCertStoreSelector.GetTargetGroups">
|
|
Gets the target groups. The collection consists of <code>List</code>s
|
|
made up of an <code>Integer</code> in the first entry and a DER encoded
|
|
byte array or a <code>String</code> in the second entry.
|
|
<p>The returned collection is immutable.</p>
|
|
|
|
@return The collection of target groups.
|
|
@see #setTargetGroups(Collection)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.Store.X509CertPairStoreSelector">
|
|
<remarks>
|
|
This class is an <code>IX509Selector</code> implementation to select
|
|
certificate pairs, which are e.g. used for cross certificates. The set of
|
|
criteria is given from two <code>X509CertStoreSelector</code> objects,
|
|
each of which, if present, must match the respective component of a pair.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CertPairStoreSelector.CertPair">
|
|
<summary>The certificate pair which is used for testing on equality.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CertPairStoreSelector.ForwardSelector">
|
|
<summary>The certificate selector for the forward part.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CertPairStoreSelector.ReverseSelector">
|
|
<summary>The certificate selector for the reverse part.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509CertPairStoreSelector.Match(System.Object)">
|
|
<summary>
|
|
Decides if the given certificate pair should be selected. If
|
|
<c>obj</c> is not a <code>X509CertificatePair</code>, this method
|
|
returns <code>false</code>.
|
|
</summary>
|
|
<param name="obj">The <code>X509CertificatePair</code> to be tested.</param>
|
|
<returns><code>true</code> if the object matches this selector.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CertStoreSelector.Policy">
|
|
<summary>
|
|
An <code>ISet</code> of <code>DerObjectIdentifier</code> objects.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.Store.X509CollectionStore">
|
|
A simple collection backed store.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509CollectionStore.#ctor(System.Collections.ICollection)">
|
|
Basic constructor.
|
|
|
|
@param collection - initial contents for the store, this is copied.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509CollectionStore.GetMatches(Org.BouncyCastle.X509.Store.IX509Selector)">
|
|
Return the matches in the collection for the passed in selector.
|
|
|
|
@param selector the selector to match against.
|
|
@return a possibly empty collection of matching objects.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.Store.X509CollectionStoreParameters">
|
|
<remarks>This class contains a collection for collection based <code>X509Store</code>s.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509CollectionStoreParameters.#ctor(System.Collections.ICollection)">
|
|
<summary>
|
|
Constructor.
|
|
<p>
|
|
The collection is copied.
|
|
</p>
|
|
</summary>
|
|
<param name="collection">The collection containing X.509 object types.</param>
|
|
<exception cref="T:System.ArgumentNullException">If collection is null.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509CollectionStoreParameters.GetCollection">
|
|
<summary>Returns a copy of the <code>ICollection</code>.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.Store.X509CollectionStoreParameters.ToString">
|
|
<summary>Returns a formatted string describing the parameters.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CrlStoreSelector.Issuers">
|
|
<summary>
|
|
An <code>ICollection</code> of <code>X509Name</code> objects
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CrlStoreSelector.AttrCertChecking">
|
|
The attribute certificate being checked. This is not a criterion.
|
|
Rather, it is optional information that may help a {@link X509Store} find
|
|
CRLs that would be relevant when checking revocation for the specified
|
|
attribute certificate. If <code>null</code> is specified, then no such
|
|
optional information is provided.
|
|
|
|
@param attrCert the <code>IX509AttributeCertificate</code> being checked (or
|
|
<code>null</code>)
|
|
@see #getAttrCertificateChecking()
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CrlStoreSelector.CompleteCrlEnabled">
|
|
If <code>true</code> only complete CRLs are returned. Defaults to
|
|
<code>false</code>.
|
|
|
|
@return <code>true</code> if only complete CRLs are returned.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CrlStoreSelector.DeltaCrlIndicatorEnabled">
|
|
Returns if this selector must match CRLs with the delta CRL indicator
|
|
extension set. Defaults to <code>false</code>.
|
|
|
|
@return Returns <code>true</code> if only CRLs with the delta CRL
|
|
indicator extension are selected.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CrlStoreSelector.IssuingDistributionPoint">
|
|
The issuing distribution point.
|
|
<p>
|
|
The issuing distribution point extension is a CRL extension which
|
|
identifies the scope and the distribution point of a CRL. The scope
|
|
contains among others information about revocation reasons contained in
|
|
the CRL. Delta CRLs and complete CRLs must have matching issuing
|
|
distribution points.</p>
|
|
<p>
|
|
The byte array is cloned to protect against subsequent modifications.</p>
|
|
<p>
|
|
You must also enable or disable this criteria with
|
|
{@link #setIssuingDistributionPointEnabled(bool)}.</p>
|
|
|
|
@param issuingDistributionPoint The issuing distribution point to set.
|
|
This is the DER encoded OCTET STRING extension value.
|
|
@see #getIssuingDistributionPoint()
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CrlStoreSelector.IssuingDistributionPointEnabled">
|
|
Whether the issuing distribution point criteria should be applied.
|
|
Defaults to <code>false</code>.
|
|
<p>
|
|
You may also set the issuing distribution point criteria if not a missing
|
|
issuing distribution point should be assumed.</p>
|
|
|
|
@return Returns if the issuing distribution point check is enabled.
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.Store.X509CrlStoreSelector.MaxBaseCrlNumber">
|
|
The maximum base CRL number. Defaults to <code>null</code>.
|
|
|
|
@return Returns the maximum base CRL number.
|
|
@see #setMaxBaseCRLNumber(BigInteger)
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.SubjectPublicKeyInfoFactory">
|
|
<summary>
|
|
A factory to produce Public Key Info Objects.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Create a Subject Public Key Info object for a given public key.
|
|
</summary>
|
|
<param name="publicKey">One of ElGammalPublicKeyParameters, DSAPublicKeyParameter, DHPublicKeyParameters, RsaKeyParameters or ECPublicKeyParameters</param>
|
|
<returns>A subject public key info object.</returns>
|
|
<exception cref="T:System.Exception">Throw exception if object provided is not one of the above.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509AttrCertParser.ReadAttrCert(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509AttrCertParser.ReadAttrCerts(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509AttrCertParser.ReadAttrCert(System.IO.Stream)">
|
|
Generates a certificate object and initializes it with the data
|
|
read from the input stream inStream.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509AttrCertParser.ReadAttrCerts(System.IO.Stream)">
|
|
Returns a (possibly empty) collection view of the certificates
|
|
read from the given input stream inStream.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509Attribute">
|
|
Class for carrying the values in an X.509 Attribute.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Attribute.#ctor(Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
@param at an object representing an attribute.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Attribute.#ctor(System.String,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
Create an X.509 Attribute with the type given by the passed in oid and
|
|
the value represented by an ASN.1 Set containing value.
|
|
|
|
@param oid type of the attribute
|
|
@param value value object to go into the atribute's value set.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Attribute.#ctor(System.String,Org.BouncyCastle.Asn1.Asn1EncodableVector)">
|
|
Create an X.59 Attribute with the type given by the passed in oid and the
|
|
value represented by an ASN.1 Set containing the objects in value.
|
|
|
|
@param oid type of the attribute
|
|
@param value vector of values to go in the attribute's value set.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509Certificate">
|
|
<summary>
|
|
An Object representing an X509 Certificate.
|
|
Has static methods for loading Certificates encoded in many forms that return X509Certificate Objects.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.IsValidNow">
|
|
<summary>
|
|
Return true if the current time is within the start and end times nominated on the certificate.
|
|
</summary>
|
|
<returns>true id certificate is valid for the current time.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.IsValid(System.DateTime)">
|
|
<summary>
|
|
Return true if the nominated time is within the start and end times nominated on the certificate.
|
|
</summary>
|
|
<param name="time">The time to test validity against.</param>
|
|
<returns>True if certificate is valid for nominated time.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.CheckValidity">
|
|
<summary>
|
|
Checks if the current date is within certificate's validity period.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.CheckValidity(System.DateTime)">
|
|
<summary>
|
|
Checks if the given date is within certificate's validity period.
|
|
</summary>
|
|
<exception cref="T:Org.BouncyCastle.Security.Certificates.CertificateExpiredException">if the certificate is expired by given date</exception>
|
|
<exception cref="T:Org.BouncyCastle.Security.Certificates.CertificateNotYetValidException">if the certificate is not yet valid on given date</exception>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.Version">
|
|
<summary>
|
|
Return the certificate's version.
|
|
</summary>
|
|
<returns>An integer whose value Equals the version of the cerficate.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.SerialNumber">
|
|
<summary>
|
|
Return a <see cref="T:Org.BouncyCastle.Math.BigInteger">BigInteger</see> containing the serial number.
|
|
</summary>
|
|
<returns>The Serial number.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.IssuerDN">
|
|
<summary>
|
|
Get the Issuer Distinguished Name. (Who signed the certificate.)
|
|
</summary>
|
|
<returns>And X509Object containing name and value pairs.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.SubjectDN">
|
|
<summary>
|
|
Get the subject of this certificate.
|
|
</summary>
|
|
<returns>An X509Name object containing name and value pairs.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.NotBefore">
|
|
<summary>
|
|
The time that this certificate is valid from.
|
|
</summary>
|
|
<returns>A DateTime object representing that time in the local time zone.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.NotAfter">
|
|
<summary>
|
|
The time that this certificate is valid up to.
|
|
</summary>
|
|
<returns>A DateTime object representing that time in the local time zone.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.GetTbsCertificate">
|
|
<summary>
|
|
Return the Der encoded TbsCertificate data.
|
|
This is the certificate component less the signature.
|
|
To Get the whole certificate call the GetEncoded() member.
|
|
</summary>
|
|
<returns>A byte array containing the Der encoded Certificate component.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.GetSignature">
|
|
<summary>
|
|
The signature.
|
|
</summary>
|
|
<returns>A byte array containg the signature of the certificate.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.SigAlgName">
|
|
<summary>
|
|
A meaningful version of the Signature Algorithm. (EG SHA1WITHRSA)
|
|
</summary>
|
|
<returns>A sting representing the signature algorithm.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.SigAlgOid">
|
|
<summary>
|
|
Get the Signature Algorithms Object ID.
|
|
</summary>
|
|
<returns>A string containg a '.' separated object id.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.GetSigAlgParams">
|
|
<summary>
|
|
Get the signature algorithms parameters. (EG DSA Parameters)
|
|
</summary>
|
|
<returns>A byte array containing the Der encoded version of the parameters or null if there are none.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.IssuerUniqueID">
|
|
<summary>
|
|
Get the issuers UID.
|
|
</summary>
|
|
<returns>A DerBitString.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509Certificate.SubjectUniqueID">
|
|
<summary>
|
|
Get the subjects UID.
|
|
</summary>
|
|
<returns>A DerBitString.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.GetKeyUsage">
|
|
<summary>
|
|
Get a key usage guidlines.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.GetPublicKey">
|
|
<summary>
|
|
Get the public key of the subject of the certificate.
|
|
</summary>
|
|
<returns>The public key parameters.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.GetEncoded">
|
|
<summary>
|
|
Return a Der encoded version of this certificate.
|
|
</summary>
|
|
<returns>A byte array.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.Verify(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Verify the certificate's signature using the nominated public key.
|
|
</summary>
|
|
<param name="key">An appropriate public key parameter object, RsaPublicKeyParameters, DsaPublicKeyParameters or ECDsaPublicKeyParameters</param>
|
|
<returns>True if the signature is valid.</returns>
|
|
<exception cref="T:System.Exception">If key submitted is not of the above nominated types.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Certificate.Verify(Org.BouncyCastle.Crypto.IVerifierFactoryProvider)">
|
|
<summary>
|
|
Verify the certificate's signature using a verifier created using the passed in verifier provider.
|
|
</summary>
|
|
<param name="verifierProvider">An appropriate provider for verifying the certificate's signature.</param>
|
|
<returns>True if the signature is valid.</returns>
|
|
<exception cref="T:System.Exception">If verifier provider is not appropriate or the certificate algorithm is invalid.</exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509CertificatePair">
|
|
<remarks>
|
|
This class contains a cross certificate pair. Cross certificates pairs may
|
|
contain two cross signed certificates from two CAs. A certificate from the
|
|
other CA to this CA is contained in the forward certificate, the certificate
|
|
from this CA to the other CA is contained in the reverse certificate.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertificatePair.#ctor(Org.BouncyCastle.X509.X509Certificate,Org.BouncyCastle.X509.X509Certificate)">
|
|
<summary>Constructor</summary>
|
|
<param name="forward">Certificate from the other CA to this CA.</param>
|
|
<param name="reverse">Certificate from this CA to the other CA.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertificatePair.#ctor(Org.BouncyCastle.Asn1.X509.CertificatePair)">
|
|
<summary>Constructor from a ASN.1 CertificatePair structure.</summary>
|
|
<param name="pair">The <c>CertificatePair</c> ASN.1 object.</param>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509CertificatePair.Forward">
|
|
<summary>Returns the certificate from the other CA to this CA.</summary>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509CertificatePair.Reverse">
|
|
<summary>Returns the certificate from this CA to the other CA.</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509CertificateParser">
|
|
class for dealing with X509 certificates.
|
|
<p>
|
|
At the moment this will deal with "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----"
|
|
base 64 encoded certs, as well as the BER binaries of certificates and some classes of PKCS#7
|
|
objects.</p>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertificateParser.ReadCertificate(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertificateParser.ReadCertificates(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertificateParser.ReadCertificate(System.IO.Stream)">
|
|
Generates a certificate object and initializes it with the data
|
|
read from the input stream inStream.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertificateParser.ReadCertificates(System.IO.Stream)">
|
|
Returns a (possibly empty) collection view of the certificates
|
|
read from the given input stream inStream.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertPairParser.ReadCertPair(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CertPairParser.ReadCertPairs(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509Crl">
|
|
The following extensions are listed in RFC 2459 as relevant to CRLs
|
|
|
|
Authority Key Identifier
|
|
Issuer Alternative Name
|
|
CRL Number
|
|
Delta CRL Indicator (critical)
|
|
Issuing Distribution Point (critical)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Crl.Verify(Org.BouncyCastle.Crypto.IVerifierFactoryProvider)">
|
|
<summary>
|
|
Verify the CRL's signature using a verifier created using the passed in verifier provider.
|
|
</summary>
|
|
<param name="verifierProvider">An appropriate provider for verifying the CRL's signature.</param>
|
|
<returns>True if the signature is valid.</returns>
|
|
<exception cref="T:System.Exception">If verifier provider is not appropriate or the CRL algorithm is invalid.</exception>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Crl.ToString">
|
|
Returns a string representation of this CRL.
|
|
|
|
@return a string representation of this CRL.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509Crl.IsRevoked(Org.BouncyCastle.X509.X509Certificate)">
|
|
Checks whether the given certificate is on this CRL.
|
|
|
|
@param cert the certificate to check for.
|
|
@return true if the given certificate is on this CRL,
|
|
false otherwise.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509CrlEntry">
|
|
The following extensions are listed in RFC 2459 as relevant to CRL Entries
|
|
|
|
ReasonCode Hode Instruction Code Invalidity Date Certificate Issuer
|
|
(critical)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CrlEntry.#ctor(Org.BouncyCastle.Asn1.X509.CrlEntry,System.Boolean,Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
Constructor for CRLEntries of indirect CRLs. If <code>isIndirect</code>
|
|
is <code>false</code> {@link #getCertificateIssuer()} will always
|
|
return <code>null</code>, <code>previousCertificateIssuer</code> is
|
|
ignored. If this <code>isIndirect</code> is specified and this CrlEntry
|
|
has no certificate issuer CRL entry extension
|
|
<code>previousCertificateIssuer</code> is returned by
|
|
{@link #getCertificateIssuer()}.
|
|
|
|
@param c
|
|
TbsCertificateList.CrlEntry object.
|
|
@param isIndirect
|
|
<code>true</code> if the corresponding CRL is a indirect
|
|
CRL.
|
|
@param previousCertificateIssuer
|
|
Certificate issuer of the previous CrlEntry.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CrlParser.ReadCrl(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CrlParser.ReadCrls(System.Byte[])">
|
|
<summary>
|
|
Create loading data from byte array.
|
|
</summary>
|
|
<param name="input"></param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CrlParser.ReadCrl(System.IO.Stream)">
|
|
Generates a certificate revocation list (CRL) object and initializes
|
|
it with the data read from the input stream inStream.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509CrlParser.ReadCrls(System.IO.Stream)">
|
|
Returns a (possibly empty) collection view of the CRLs read from
|
|
the given input stream inStream.
|
|
|
|
The inStream may contain a sequence of DER-encoded CRLs, or
|
|
a PKCS#7 CRL set. This is a PKCS#7 SignedData object, with the
|
|
only significant field being crls. In particular the signature
|
|
and the contents are ignored.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509ExtensionBase.GetNonCriticalExtensionOids">
|
|
<summary>
|
|
Get non critical extensions.
|
|
</summary>
|
|
<returns>A set of non critical extension oids.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509ExtensionBase.GetCriticalExtensionOids">
|
|
<summary>
|
|
Get any critical extensions.
|
|
</summary>
|
|
<returns>A sorted list of critical entension.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509ExtensionBase.GetExtensionValue(System.String)">
|
|
<summary>
|
|
Get the value of a given extension.
|
|
</summary>
|
|
<param name="oid">The object ID of the extension. </param>
|
|
<returns>An Asn1OctetString object if that extension is found or null if not.</returns>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509KeyUsage">
|
|
A holding class for constructing an X509 Key Usage extension.
|
|
|
|
<pre>
|
|
id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 }
|
|
|
|
KeyUsage ::= BIT STRING {
|
|
digitalSignature (0),
|
|
nonRepudiation (1),
|
|
keyEncipherment (2),
|
|
dataEncipherment (3),
|
|
keyAgreement (4),
|
|
keyCertSign (5),
|
|
cRLSign (6),
|
|
encipherOnly (7),
|
|
decipherOnly (8) }
|
|
</pre>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509KeyUsage.#ctor(System.Int32)">
|
|
Basic constructor.
|
|
|
|
@param usage - the bitwise OR of the Key Usage flags giving the
|
|
allowed uses for the key.
|
|
e.g. (X509KeyUsage.keyEncipherment | X509KeyUsage.dataEncipherment)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509SignatureUtilities.GetDigestAlgName(Org.BouncyCastle.Asn1.DerObjectIdentifier)">
|
|
Return the digest algorithm using one of the standard JCA string
|
|
representations rather than the algorithm identifier (if possible).
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509V1CertificateGenerator">
|
|
<summary>
|
|
Class to Generate X509V1 Certificates.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.#ctor">
|
|
<summary>
|
|
Default Constructor.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.Reset">
|
|
<summary>
|
|
Reset the generator.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.SetSerialNumber(Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Set the certificate's serial number.
|
|
</summary>
|
|
<remarks>Make serial numbers long, if you have no serial number policy make sure the number is at least 16 bytes of secure random data.
|
|
You will be surprised how ugly a serial number collision can get.</remarks>
|
|
<param name="serialNumber">The serial number.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.SetIssuerDN(Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
<summary>
|
|
Set the issuer distinguished name.
|
|
The issuer is the entity whose private key is used to sign the certificate.
|
|
</summary>
|
|
<param name="issuer">The issuers DN.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.SetNotBefore(System.DateTime)">
|
|
<summary>
|
|
Set the date that this certificate is to be valid from.
|
|
</summary>
|
|
<param name="date"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.SetNotAfter(System.DateTime)">
|
|
<summary>
|
|
Set the date after which this certificate will no longer be valid.
|
|
</summary>
|
|
<param name="date"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.SetSubjectDN(Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
<summary>
|
|
Set the subject distinguished name.
|
|
The subject describes the entity associated with the public key.
|
|
</summary>
|
|
<param name="subject"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.SetPublicKey(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Set the public key that this certificate identifies.
|
|
</summary>
|
|
<param name="publicKey"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.SetSignatureAlgorithm(System.String)">
|
|
<summary>
|
|
Set the signature algorithm that will be used to sign this certificate.
|
|
This can be either a name or an OID, names are treated as case insensitive.
|
|
</summary>
|
|
<param name="signatureAlgorithm">string representation of the algorithm name</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Generate a new X509Certificate.
|
|
</summary>
|
|
<param name="privateKey">The private key of the issuer used to sign this certificate.</param>
|
|
<returns>An X509Certificate.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Generate a new X509Certificate specifying a SecureRandom instance that you would like to use.
|
|
</summary>
|
|
<param name="privateKey">The private key of the issuer used to sign this certificate.</param>
|
|
<param name="random">The Secure Random you want to use.</param>
|
|
<returns>An X509Certificate.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V1CertificateGenerator.Generate(Org.BouncyCastle.Crypto.ISignatureFactory)">
|
|
<summary>
|
|
Generate a new X509Certificate using the passed in SignatureCalculator.
|
|
</summary>
|
|
<param name="signatureCalculatorFactory">A signature calculator factory with the necessary algorithm details.</param>
|
|
<returns>An X509Certificate.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509V1CertificateGenerator.SignatureAlgNames">
|
|
<summary>
|
|
Allows enumeration of the signature names supported by the generator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509V2AttributeCertificate">
|
|
<summary>An implementation of a version 2 X.509 Attribute Certificate.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificate.Verify(Org.BouncyCastle.Crypto.IVerifierFactoryProvider)">
|
|
<summary>
|
|
Verify the certificate's signature using a verifier created using the passed in verifier provider.
|
|
</summary>
|
|
<param name="verifierProvider">An appropriate provider for verifying the certificate's signature.</param>
|
|
<returns>True if the signature is valid.</returns>
|
|
<exception cref="T:System.Exception">If verifier provider is not appropriate or the certificate algorithm is invalid.</exception>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator">
|
|
<remarks>Class to produce an X.509 Version 2 AttributeCertificate.</remarks>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.Reset">
|
|
<summary>Reset the generator</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.SetHolder(Org.BouncyCastle.X509.AttributeCertificateHolder)">
|
|
<summary>Set the Holder of this Attribute Certificate.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.SetIssuer(Org.BouncyCastle.X509.AttributeCertificateIssuer)">
|
|
<summary>Set the issuer.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.SetSerialNumber(Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>Set the serial number for the certificate.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.SetSignatureAlgorithm(System.String)">
|
|
<summary>
|
|
Set the signature algorithm. This can be either a name or an OID, names
|
|
are treated as case insensitive.
|
|
</summary>
|
|
<param name="signatureAlgorithm">The algorithm name.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.AddAttribute(Org.BouncyCastle.X509.X509Attribute)">
|
|
<summary>Add an attribute.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.AddExtension(System.String,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
<summary>Add a given extension field for the standard extensions tag.</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.AddExtension(System.String,System.Boolean,System.Byte[])">
|
|
<summary>
|
|
Add a given extension field for the standard extensions tag.
|
|
The value parameter becomes the contents of the octet string associated
|
|
with the extension.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Generate an X509 certificate, based on the current issuer and subject.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Generate an X509 certificate, based on the current issuer and subject,
|
|
using the supplied source of randomness, if required.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.Generate(Org.BouncyCastle.Crypto.ISignatureFactory)">
|
|
<summary>
|
|
Generate a new X.509 Attribute Certificate using the passed in SignatureCalculator.
|
|
</summary>
|
|
<param name="signatureCalculatorFactory">A signature calculator factory with the necessary algorithm details.</param>
|
|
<returns>An IX509AttributeCertificate.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509V2AttributeCertificateGenerator.SignatureAlgNames">
|
|
<summary>
|
|
Allows enumeration of the signature names supported by the generator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509V2CrlGenerator">
|
|
class to produce an X.509 Version 2 CRL.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.Reset">
|
|
reset the generator
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.SetIssuerDN(Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the
|
|
certificate.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddCrlEntry(Org.BouncyCastle.Math.BigInteger,System.DateTime,System.Int32)">
|
|
Reason being as indicated by CrlReason, i.e. CrlReason.KeyCompromise
|
|
or 0 if CrlReason is not to be used
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddCrlEntry(Org.BouncyCastle.Math.BigInteger,System.DateTime,System.Int32,System.DateTime)">
|
|
Add a CRL entry with an Invalidity Date extension as well as a CrlReason extension.
|
|
Reason being as indicated by CrlReason, i.e. CrlReason.KeyCompromise
|
|
or 0 if CrlReason is not to be used
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddCrlEntry(Org.BouncyCastle.Math.BigInteger,System.DateTime,Org.BouncyCastle.Asn1.X509.X509Extensions)">
|
|
Add a CRL entry with extensions.
|
|
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddCrl(Org.BouncyCastle.X509.X509Crl)">
|
|
Add the CRLEntry objects contained in a previous CRL.
|
|
|
|
@param other the X509Crl to source the other entries from.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.SetSignatureAlgorithm(System.String)">
|
|
<summary>
|
|
Set the signature algorithm that will be used to sign this CRL.
|
|
</summary>
|
|
<param name="signatureAlgorithm"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddExtension(System.String,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
add a given extension field for the standard extensions tag (tag 0)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
add a given extension field for the standard extensions tag (tag 0)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddExtension(System.String,System.Boolean,System.Byte[])">
|
|
add a given extension field for the standard extensions tag (tag 0)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,System.Byte[])">
|
|
add a given extension field for the standard extensions tag (tag 0)
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Generate an X.509 CRL, based on the current issuer and subject.
|
|
</summary>
|
|
<param name="privateKey">The private key of the issuer that is signing this certificate.</param>
|
|
<returns>An X509Crl.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Generate an X.509 CRL, based on the current issuer and subject using the specified secure random.
|
|
</summary>
|
|
<param name="privateKey">The private key of the issuer that is signing this certificate.</param>
|
|
<param name="random">Your Secure Random instance.</param>
|
|
<returns>An X509Crl.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V2CrlGenerator.Generate(Org.BouncyCastle.Crypto.ISignatureFactory)">
|
|
<summary>
|
|
Generate a new X509Crl using the passed in SignatureCalculator.
|
|
</summary>
|
|
<param name="signatureCalculatorFactory">A signature calculator factory with the necessary algorithm details.</param>
|
|
<returns>An X509Crl.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509V2CrlGenerator.SignatureAlgNames">
|
|
<summary>
|
|
Allows enumeration of the signature names supported by the generator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.X509.X509V3CertificateGenerator">
|
|
<summary>
|
|
A class to Generate Version 3 X509Certificates.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.Reset">
|
|
<summary>
|
|
Reset the Generator.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetSerialNumber(Org.BouncyCastle.Math.BigInteger)">
|
|
<summary>
|
|
Set the certificate's serial number.
|
|
</summary>
|
|
<remarks>Make serial numbers long, if you have no serial number policy make sure the number is at least 16 bytes of secure random data.
|
|
You will be surprised how ugly a serial number collision can Get.</remarks>
|
|
<param name="serialNumber">The serial number.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetIssuerDN(Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
<summary>
|
|
Set the distinguished name of the issuer.
|
|
The issuer is the entity which is signing the certificate.
|
|
</summary>
|
|
<param name="issuer">The issuer's DN.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetNotBefore(System.DateTime)">
|
|
<summary>
|
|
Set the date that this certificate is to be valid from.
|
|
</summary>
|
|
<param name="date"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetNotAfter(System.DateTime)">
|
|
<summary>
|
|
Set the date after which this certificate will no longer be valid.
|
|
</summary>
|
|
<param name="date"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetSubjectDN(Org.BouncyCastle.Asn1.X509.X509Name)">
|
|
<summary>
|
|
Set the DN of the entity that this certificate is about.
|
|
</summary>
|
|
<param name="subject"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetPublicKey(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Set the public key that this certificate identifies.
|
|
</summary>
|
|
<param name="publicKey"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetSignatureAlgorithm(System.String)">
|
|
<summary>
|
|
Set the signature algorithm that will be used to sign this certificate.
|
|
</summary>
|
|
<param name="signatureAlgorithm"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetSubjectUniqueID(System.Boolean[])">
|
|
<summary>
|
|
Set the subject unique ID - note: it is very rare that it is correct to do this.
|
|
</summary>
|
|
<param name="uniqueID"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.SetIssuerUniqueID(System.Boolean[])">
|
|
<summary>
|
|
Set the issuer unique ID - note: it is very rare that it is correct to do this.
|
|
</summary>
|
|
<param name="uniqueID"/>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.AddExtension(System.String,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
<summary>
|
|
Add a given extension field for the standard extensions tag (tag 3).
|
|
</summary>
|
|
<param name="oid">string containing a dotted decimal Object Identifier.</param>
|
|
<param name="critical">Is it critical.</param>
|
|
<param name="extensionValue">The value.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,Org.BouncyCastle.Asn1.Asn1Encodable)">
|
|
<summary>
|
|
Add an extension to this certificate.
|
|
</summary>
|
|
<param name="oid">Its Object Identifier.</param>
|
|
<param name="critical">Is it critical.</param>
|
|
<param name="extensionValue">The value.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.AddExtension(System.String,System.Boolean,System.Byte[])">
|
|
<summary>
|
|
Add an extension using a string with a dotted decimal OID.
|
|
</summary>
|
|
<param name="oid">string containing a dotted decimal Object Identifier.</param>
|
|
<param name="critical">Is it critical.</param>
|
|
<param name="extensionValue">byte[] containing the value of this extension.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.AddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,System.Byte[])">
|
|
<summary>
|
|
Add an extension to this certificate.
|
|
</summary>
|
|
<param name="oid">Its Object Identifier.</param>
|
|
<param name="critical">Is it critical.</param>
|
|
<param name="extensionValue">byte[] containing the value of this extension.</param>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.CopyAndAddExtension(System.String,System.Boolean,Org.BouncyCastle.X509.X509Certificate)">
|
|
<summary>
|
|
Add a given extension field for the standard extensions tag (tag 3),
|
|
copying the extension value from another certificate.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.CopyAndAddExtension(Org.BouncyCastle.Asn1.DerObjectIdentifier,System.Boolean,Org.BouncyCastle.X509.X509Certificate)">
|
|
add a given extension field for the standard extensions tag (tag 3)
|
|
copying the extension value from another certificate.
|
|
@throws CertificateParsingException if the extension cannot be extracted.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter)">
|
|
<summary>
|
|
Generate an X509Certificate.
|
|
</summary>
|
|
<param name="privateKey">The private key of the issuer that is signing this certificate.</param>
|
|
<returns>An X509Certificate.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.Generate(Org.BouncyCastle.Crypto.AsymmetricKeyParameter,Org.BouncyCastle.Security.SecureRandom)">
|
|
<summary>
|
|
Generate an X509Certificate using your own SecureRandom.
|
|
</summary>
|
|
<param name="privateKey">The private key of the issuer that is signing this certificate.</param>
|
|
<param name="random">You Secure Random instance.</param>
|
|
<returns>An X509Certificate.</returns>
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.X509.X509V3CertificateGenerator.Generate(Org.BouncyCastle.Crypto.ISignatureFactory)">
|
|
<summary>
|
|
Generate a new X509Certificate using the passed in SignatureCalculator.
|
|
</summary>
|
|
<param name="signatureCalculatorFactory">A signature calculator factory with the necessary algorithm details.</param>
|
|
<returns>An X509Certificate.</returns>
|
|
</member>
|
|
<member name="P:Org.BouncyCastle.X509.X509V3CertificateGenerator.SignatureAlgNames">
|
|
<summary>
|
|
Allows enumeration of the signature names supported by the generator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Apache.Bzip2.BZip2Constants">
|
|
Base class for both the compress and decompress classes.
|
|
Holds common arrays, and static data.
|
|
|
|
@author <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Apache.Bzip2.CBZip2InputStream">
|
|
An input stream that decompresses from the BZip2 format (with the file
|
|
header chars) to be read as any other stream.
|
|
|
|
@author <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
|
|
|
|
<b>NB:</b> note this class has been modified to read the leading BZ from the
|
|
start of the BZIP2 stream to make it compatible with other PGP programs.
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Apache.Bzip2.CBZip2OutputStream">
|
|
An output stream that compresses into the BZip2 format (with the file
|
|
header chars) into another stream.
|
|
|
|
@author <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
|
|
|
|
TODO: Update to BZip2 1.0.1
|
|
<b>NB:</b> note this class has been modified to add a leading BZ to the
|
|
start of the BZIP2 stream to make it compatible with other PGP programs.
|
|
</member>
|
|
<member name="M:Org.BouncyCastle.Apache.Bzip2.CBZip2OutputStream.WriteByte(System.Byte)">
|
|
|
|
modified by Oliver Merkel, 010128
|
|
|
|
</member>
|
|
<member name="T:Org.BouncyCastle.Apache.Bzip2.CRC">
|
|
A simple class the hold and calculate the CRC for sanity checking
|
|
of the data.
|
|
|
|
@author <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
|
|
</member>
|
|
<member name="M:crypto.Security.ComputeHash(System.String,System.String)">
|
|
<summary>
|
|
Return a salted hash based on PBKDF2 for the UTF-8 encoding of the argument text.
|
|
</summary>
|
|
<param name="text">Provided key text</param>
|
|
<param name="salt">Base64 encoded string representing the salt</param>
|
|
<returns></returns>
|
|
</member>
|
|
</members>
|
|
</doc>
|