The DataGroupHash object.
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.
create a DataLengthException with the given message.
DC - static field in class org.bouncycastle.asn1.x509.
X509Name Decrypt the given input starting at the given offset and place
the result in the provided buffer starting at the given offset.
Decrypt the given input starting at the given offset and place
the result in the provided buffer starting at the given offset.
Do the appropriate processing for CFB mode decryption.
look up table translating common symbols into their OIDS.
determines whether or not strings should be processed and printed
from back to front.
default look up table translating OID values into their common symbols following
the convention in RFC 2253 with a few extras
Base class for an application specific object
basic constructor - byte encoded string.
a general class for building up a vector of DER encodable objects -
this will eventually be superceded by ASN1EncodableVector so you should
use that class in preference.
base constructer from a java.util.date object
The correct format for this is YYYYMMDDHHMMSSZ, or without the Z
for local time, or Z+-HHMM on the end, for difference between local
time and UTC time.
DER IA5String object - this is an ascii string.
basic constructor - with bytes.
basic constructor - with string.
base interface for general purpose byte derivation functions.
Parameters for key/byte stream derivation classes
DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.
basic constructor - with bytes.
basic constructor - with string.
DER PrintableString object.
basic constructor - byte encoded string.
create a sequence containing an array of objects.
create a sequence containing one object
create a sequence containing a vector of objects.
create a set from an array of objects.
basic interface for DER string objects.
DER T61String (also the teletex string)
basic constructor - with bytes.
basic constructor - with string.
DER TaggedObject - in ASN.1 nottation this is any object proceeded by
a [n] where n is some number - these are assume to follow the construction
rules (as with sequences).
create an implicitly tagged object that contains a zero
length sequence.
DER UniversalString object.
basic constructor - byte encoded string.
We insert one of these when we find a tag we don't recognise.
base constructer from a java.util.date object
The correct format for this is YYMMDDHHMMSSZ (it used to be that seconds were
never encoded.
DER VisibleString object.
basic constructor - byte encoded string.
encryption algorithms preferences
encryption algorithms preferences
DESede - the default for this is to generate a key in
a-b-a format that's 24 bytes long but has 16 bytes of
key material (the first 8 bytes is repeated as the last
8 bytes).
generate a desEDE key in the a-b-c format.
a class that provides a basic DESede (or Triple DES) engine.
basic test class for key generation for a DES-EDE block cipher, basically
this just exercises the provider, and makes sure we are behaving sensibly,
correctness of the implementation is shown in the lightweight test classes.
a class that provides a basic DES engine.
DESExample is a simple DES based encryptor/decryptor.
a Diffie-Hellman key exchange engine.
a Diffie-Hellman key agreement class.
a basic Diffie-Helman key pair generator.
a Diffie-Helman key pair generator.
utility class for converting jce/jca DH objects
objects into their org.bouncycastle.crypto counterparts.
interface that a message digest conforms to.
Describe constant DISPLAY_TEXT_MAXIMUM_SIZE
here.
DisplayText
class, used in
CertificatePolicies
X509 V3 extensions (in policy qualifiers).
Creates a new DisplayText
instance.
Creates a new DisplayText
instance.
Creates a new DisplayText
instance.
The DistributionPoint object.
The DistributionPointName object.
process the contents of the buffer using the underlying
cipher.
Process the last block in the buffer.
Process the last block in the buffer.
close the digest, producing the final digest value.
Compute the final statge of the MAC writing the output to the out
parameter.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
Compute the final statge of the MAC writing the output to the out
parameter.
Process the last block in the buffer.
Process the last block in the buffer.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
close the digest, producing the final digest value.
check that doFinal is properly reseting the cipher.
DSA - interface org.bouncycastle.crypto.
DSA interface for classes implementing algorithms modeled similar to the Digital Signature Alorithm.
a DSA key pair generator.
generate suitable parameters for DSA, in line with FIPS 186-2.
The Digital Signature Algorithm - as described in "Handbook of Applied
Cryptography", pages 452 - 453.
utility class for converting jce/jca DSA objects
objects into their org.bouncycastle.crypto counterparts.
Dump - class org.bouncycastle.asn1.util.
Dump dump out a DER object as a formatted string
dump out a DER object as a formatted string
dump out a DER object as a formatted string
base implementation of MD4 family style digest as outlined in
"Handbook of Applied Cryptography", pages 344 - 347.
When the subjectAltName extension contains an Internet mail address,
the address MUST be included as an rfc822Name.
Create a General name for the given tag from the passed in String.
Construct a GeneralNames object containing one GeneralName.
Generate an unsigned request
fill len bytes of the output buffer with bytes generated from
the derivation function.
fill len bytes of the output buffer with bytes generated from
the derivation function.
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing.
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing and the supplied source
of randomness, if required.
Generate a key parameter for use with a MAC derived from the password,
salt, and iteration count we are currently initialised with.
generate derived parameters for a key of length keySize, specifically
for use with a MAC.
Generate a key parameter for use with a MAC derived from the password,
salt, and iteration count we are currently initialised with.
Generate a key parameter for use with a MAC derived from the password,
salt, and iteration count we are currently initialised with.
Generate a key parameter for use with a MAC derived from the password,
salt, and iteration count we are currently initialised with.
Generate a key parameter derived from the password, salt, and iteration
count we are currently initialised with.
generate derived parameters for a key of length keySize.
Generate a key parameter derived from the password, salt, and iteration
count we are currently initialised with.
Generate a key parameter derived from the password, salt, and iteration
count we are currently initialised with.
Generate a key parameter derived from the password, salt, and iteration
count we are currently initialised with.
Generate a key with initialisation vector parameter derived from
the password, salt, and iteration count we are currently initialised
with.
generate derived parameters for a key of length keySize, and
an initialisation vector (IV) of length ivSize.
Generate a key with initialisation vector parameter derived from
the password, salt, and iteration count we are currently initialised
with.
Generate a key with initialisation vector parameter derived from
the password, salt, and iteration count we are currently initialised
with.
Generate a key with initialisation vector parameter derived from
the password, salt, and iteration count we are currently initialised
with.
return an AsymmetricCipherKeyPair containing the generated keys.
Given the domain parameters this routine generates an EC key
pair in accordance with X9.62 section 5.2.1 pages 26, 27.
return an AsymmetricCipherKeyPair containing the generated keys.
which generates the p and g values from the given parameters,
returning the DHParameters object.
which generates the p and g values from the given parameters,
returning the DSAParameters object.
which generates the p and g values from the given parameters,
returning the ElGamalParameters object.
which generates the p , q and a values from the given parameters,
returning the GOST3410Parameters object.
generate a signature for the loaded message using the key we were
initialised with.
generate a signature for the loaded message using the key we were
initialised with.
generate a signature for the message we've been loaded with using
the key we were initialised with.
generate a signature for the message we've been loaded with using
the key we were initialised with.
sign the passed in message (usually the output of a hash function).
generate a signature for the given message using the key we were
initialised with.
generate a signature for the given message using the key we were
initialised with.
generate a signature for the given message using the key we were
initialised with.
generate a signature for the given message using the key we were
initialised with.
generate a signature for the given message using the key we were
initialised with.
generate an integer based working key based on our secret key
and what we processing we are planning to do.
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC".
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC".
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC".
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC".
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC" and the passed in source of randomness
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC" and the passed in source of randomness
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC", and the passed in source of randomness
(if required).
generate an X509 certificate, based on the current issuer and subject
using the default provider "BC", and the passed in source of randomness
(if required).
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing, and the passed in source
of randomness (if required).
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing, and the passed in source
of randomness (if required).
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing.
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing.
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing, and the passed in source
of randomness (if required).
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing, and the passed in source
of randomness (if required).
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing and the supplied source
of randomness, if required.
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing and the supplied source
of randomness, if required.
generate an X509 CRL, based on the current issuer and subject
using the default provider "BC".
generate an X509 CRL, based on the current issuer and subject
using the default provider "BC".
generate an X509 CRL, based on the current issuer and subject
using the default provider "BC" and an user defined SecureRandom object as
source of randomness.
generate an X509 CRL, based on the current issuer and subject
using the default provider "BC" and an user defined SecureRandom object as
source of randomness.
generate an X509 certificate, based on the current issuer and subject
using the passed in provider for the signing.
generate an X509 certificate, based on the current issuer and subject
using the passed in provider for the signing.
generate an X509 CRL, based on the current issuer and subject,
using the passed in provider for the signing.
generate an X509 CRL, based on the current issuer and subject,
using the passed in provider for the signing.
Return the first attribute matching the OBJECT IDENTIFIER oid.
return the time as an adjusted date with a 4 digit year.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
return the algorithm name and mode.
return the algorithm name and mode.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
return the algorithm name
return the algorithm name and mode.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the MAC implements.
return the algorithm name
return the algorithm name
return the algorithm name
Return the name of the algorithm the cipher implements.
return the algorithm name and mode.
Return the name of the algorithm the MAC implements.
return the algorithm name and mode.
return the algorithm name and mode.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
return the algorithm name
return the algorithm name
return the algorithm name
return the algorithm name
return the algorithm name
return the algorithm name
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the cipher implements.
return the name of the algorithm we are wrapping.
Return the name of the algorithm the cipher implements.
return the algorithm name
return the algorithm name
Return the name of the algorithm the wrapper implements.
Return all the attributes matching the OBJECT IDENTIFIER oid.
Return the attributes contained in the attribute block in the certificate.
Return the attributes contained in the attribute block in the certificate.
Return the attributes with the same type as the passed in oid.
Return the attributes with the same type as the passed in oid.
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
return the blocksize for the underlying cipher.
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
return the block size of the underlying cipher.
return the block size we are operating at.
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
return the block size we are operating at (in bytes).
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
return the block size we are operating at (in bytes).
return the block size we are operating at.
return the block size we are operating at.
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
return the amount of data sitting in the buffer.
return the ECDomainParameters object for the given OID, null if it
isn't present.
return the GOST3410ParamSetParameters object for the given OID, null if it
isn't present.
return the X9ECParameters object for the named curve represented by
the passed in object identifier.
return the X9ECParameters object for the named curve represented by
the passed in object identifier.
return the X9ECParameters object for the named curve represented by
the passed in object identifier.
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
return the correct number of bytes for a bit string defined in
a 32 bit constant
returns a vector with 0 or more objects of all the capabilities
matching the passed in capability OID.
Get the X.509 certificates associated with this PKCS#7 object
Returns the list of certificates in this certification
path.
Return the certificates, if any associated with the response.
If the request is signed return a possibly empty CertStore containing the certificates in the
request.
Return the status object for the response - null indicates good.
Apply default coversion for the given value depending on the oid
and the character range of the value.
Convert the passed in String value into the appropriate ASN.1
encoded object.
Get the X.509 certificate revocation lists associated with this PKCS#7 object
return the CRT coefficient.
return the curve along which the base point lies.
return the private value D.
return the private number D
return the private value D.
Return the DER encoding of the object, null if the DER encoding can not be made.
return the derivation vector.
return the message digest used as the basis for the function
return the underlying digest.
return the underlying digest.
Get the algorithm used to calculate the message digest
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.
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.
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.
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.
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.
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.
Return the distribution points making up the sequence.
return the ASN.1 encoded representation of this object.
Return a PKCS8 representation of the key.
Return a PKCS8 representation of the key.
Return a PKCS8 representation of the key.
Return a PKCS8 representation of the key.
Return a PKCS8 representation of the key.
Return a PKCS8 representation of the key.
return the ASN.1 encoded representation of this object.
return the ASN.1 encoded representation of this object.
return a DER encoded byte array representing this object
return the bytes for the PKCS7SignedData object.
Returns the encoded form of this certification path, using
the default encoding.
Return an ASN.1 encoded byte array representing the attribute certificate.
return a DER encoded byte array representing this object
Return an ASN.1 encoded byte array representing the attribute certificate.
Returns the encoded form of this certification path, using
the specified encoding.
Returns an iteration of the encodings supported by this
certification path, with the default encoding
first.
return the encoding vector.
Return any principal objects inside the attribute certificate holder entity names field.
return the extension represented by the object identifier
passed in.
return the encoding format we produce in getEncoded().
return the encoding format we produce in getEncoded().
return the encoding format we produce in getEncoded().
return the encoding format we produce in getEncoded().
return the encoding format we produce in getEncoded().
return the encoding format we produce in getEncoded().
return the base point we are using for these domain parameters.
Returns the base generator g
.
return the cofactor H to the order of G.
Return the holder of the certificate.
Return the holder of the certificate.
returns the largest size an input block can be.
returns the largest size an input block can be.
Return the maximum size for an input block to this engine.
return the input block size.
Return the maximum size for an input block to this engine.
return a DERBoolean from the passed in boolean.
return an Octet String from the given object.
return an ASN1Sequence from the given object.
return an ASN1Set from the given object.
return an Attribute object from the given object.
return an Attribute object from the given object.
return an Attribute object from the given object.
return a CompressedData object from the given object.
return a Bit String from the passed in object
return a BMP String from the given object.
return a boolean from the passed in object.
return an integer from the passed in object
return a generalized time from the passed in object
return a IA5 string from the passed in object
return an integer from the passed in object
return a Numeric string from the passed in object
return an OID from the passed in object
return a printable string from the passed in object.
return a T61 string from the passed in object.
return a Universal String from the passed in object.
return an UTC Time from the passed in object.
return an UTF8 string from the passed in object.
return a Visible String from the passed in object.
return an EncryptedContentInfo object from the given object.
return an EnvelopedData object from the given object.
return a KEKIdentifier object from the given object.
return a KEKRecipientInfo object from the given object.
return a KeyAgreeRecipientInfo object from the given object.
return a KeyTransRecipientInfo object from the given object.
return an OriginatorIdentifierOrKey object from the given object.
return an OriginatorInfo object from the given object.
return an OriginatorPublicKey object from the given object.
return an OtherKeyAttribute object from the given object.
return a OtherRecipientInfo object from the given object.
return a PasswordRecipientInfo object from the given object.
return a RecipientIdentifier object from the given object.
return a RecipientKeyIdentifier object from the given object.
RoleSyntax factory method.
return a SignerIdentifier object from the given object.
return an Attribute object from the given object.
return an Octet String from a tagged object.
Return an ASN1 sequence from a tagged object.
Return an ASN1 set from a tagged object.
return a CompressedData object from a tagged object.
return a Bit String from a tagged object.
return a BMP String from a tagged object.
return a Boolean from a tagged object.
return an Enumerated from a tagged object.
return a Generalized Time object from a tagged object.
return an IA5 String from a tagged object.
return an Integer from a tagged object.
return an Numeric String from a tagged object.
return an Object Identifier from a tagged object.
return a Printable String from a tagged object.
return an T61 String from a tagged object.
return a Universal String from a tagged object.
return an UTC Time from a tagged object.
return an UTF8 String from a tagged object.
return a Visible String from a tagged object.
return an EnvelopedData object from a tagged object.
return a KEKIdentifier object from a tagged object.
return a KEKRecipientInfo object from a tagged object.
return a KeyAgreeRecipientInfo object from a tagged object.
return an OriginatorIdentifierOrKey object from a tagged object.
return an OriginatorInfo object from a tagged object.
return an OriginatorPublicKey object from a tagged object.
return a OtherRecipientInfo object from a tagged object.
return a PasswordRecipientInfo object from a tagged object.
return a RecipientKeyIdentifier object from a tagged object.
Return a X509Name based on the passed in tagged object.
Return the principals associated with the issuer attached to this holder
Return the issuer details for the certificate.
Return the issuer details for the certificate.
return the issuer of the given cert as an X509PrincipalObject.
return the issuer of the given CRL as an X509PrincipalObject.
return the iteration count.
Returns the IV or null if this parameter set does not contain an IV.
Return the private value length in bits - if set, zero otherwise (use bitLength(P) - 1).
return the key size in bits for the MAC used with the message
Return the block size for this cipher (in bytes).
Return the block size for this cipher (in bytes).
Return the tagged object inside the distribution point name.
return the name of the curve the EC domain parameters belong to.
return the named curve name represented by the given object identifier.
return the named curve name represented by the given object identifier.
return the named curve name represented by the given object identifier.
return the named curve name represented by the given object identifier.
returns an enumeration containing the name strings for parameters
contained in this structure.
return an enumeration of the names of the available curves.
return an enumeration of the names of the available curves.
returns an enumeration containing the name strings for parameters
contained in this structure.
returns an enumeration containing the name strings for curves
contained in this structure.
returns an enumeration containing the name strings for curves
contained in this structure.
returns an enumeration containing the name strings for curves
contained in this structure.
return the NextUpdate value - note: this is an optional field so may
be returned as null.
Return the date after which the certificate is not valid.
Return the date after which the certificate is not valid.
Return the date before which the certificate is not valid.
Return the date before which the certificate is not valid.
return whatever was following the tag.
return the object at the sequence postion indicated by index.
return the object at the set postion indicated by index.
return the DER octets that make up this string.
return the object identifier signified by the passed in name.
return the object identifier signified by the passed in name.
return the object identifier signified by the passed in name.
return a vector of the oids in the name, in the order they were found.
returns the maximum size of the block produced by this cipher.
returns the maximum size of the block produced by this cipher.
Return the maximum size for an output block to this engine.
return the maximum possible size for the output.
Return the maximum size for an output block to this engine.
return the size of the output buffer required for an update plus a
doFinal with an input of len bytes.
return the size of the output buffer required for an update plus a
doFinal with an input of len bytes.
return the size of the output buffer required for an update plus a
doFinal with an input of len bytes.
return the minimum size of the output buffer required for an update
plus a doFinal with an input of len bytes.
Returns the prime modulus p
.
retrieve the number of pad bits in the last decoded message.
return the correct number of pad bits for a bit string defined in
a 32 bit constant
Return the name of the algorithm the cipher implements.
Return the name of the algorithm the padder implements.
Return the name of the algorithm the padder implements.
Return the name of the algorithm the padder implements.
Return the name of the algorithm the padder implements.
Return the name of the algorithm the padder implements.
Return the name of the algorithm the padder implements.
return a parameter specification representing the EC domain parameters
for the key.
return a parameter spec representing the passed in named
curve.
return a parameter spec representing the passed in named
curve.
return a parameter specification representing the EC domain parameters
for the key.
return the domain parameters for the curve
return the password byte array.
in some cases positive values get crammed into a space,
that's not quite big enough...
return the prime exponent for P.
return the prime exponent for Q.
Returns the size in bits of the prime modulus.
Return any principal objects inside the attribute certificate issuer object.
return the private key parameters.
return the local private key.
return the local private key.
return the public key parameters.
return the intended recipient's/sender's public key.
return the intended recipient's/sender's public key.
return the public exponent.
return the public exponent.
return the public key associated with the certification request -
the public key is created using the BC provider.
for when the public key is an encoded object - if the bitstring
can't be decoded this routine throws an IOException.
for when the public key is raw bits...
return the public point Q
return the public point q
return the public point Q
return the random source associated with this
generator.
Return a reference to the recoveredMessage message.
Return a reference to the recoveredMessage message.
Returns a reference to what message was recovered (if any).
return the revocation reason.
Gets the role authority of this RoleSyntax.
Gets the role authority as a String[]
object.
Gets the role name of this RoleSyntax.
Gets the role name as a java.lang.String
object.
return the salt byte array.
Return the S-Box associated with SBoxName
return the seed used to generate this curve (if available).
Return the serial number associated with the issuer attached to this holder.
return the serial number for the certificate associated
with this request.
Return the serial number for the certificate.
Return the serial number for the certificate.
return a more "meaningful" representation for the signature algorithm used in
the certficate.
return the object identifier for the signature.
return the signature parameters, or null if there aren't any.
Return an iterator of the signature names supported by the generator.
Return an iterator of the signature names supported by the generator.
Return an iterator of the signature names supported by the generator.
Return an iterator of the signature names supported by the generator.
Return an iterator of the signature names supported by the generator.
Return an iterator of the signature names supported by the generator.
return the object identifier representing the signature algorithm
Get the X.509 certificate actually used to sign the digest.
Get the version of the PKCS#7 "SignerInfo" object.
return the bit strength for keys produced by this generator,
Returns the stored String
object.
Return the UTF8STRING at index i.
return the subject of the given cert as an X509PrincipalObject.
Return the DER encoding of the tbsRequest field.
Return the DER encoding of the tbsResponseData field.
return the time - always in the form of
YYYYMMDDhhmmssGMT(+hh:mm|-hh:mm).
return the time - always in the form of
YYMMDDhhmmssGMT(+hh:mm|-hh:mm).
Return the tag number applying to the underlying choice.
return the underlying cipher for the buffer.
return the cipher this object wraps.
return the underlying block cipher that we are wrapping.
return the underlying block cipher that we are wrapping.
return the underlying block cipher that we are wrapping.
return the underlying block cipher that we are wrapping.
return the underlying block cipher that we are wrapping.
return the underlying block cipher that we are wrapping.
return the underlying block cipher that we are wrapping.
return the size of the output buffer required for an update
an input of len bytes.
return the size of the output buffer required for an update
an input of len bytes.
return the size of the output buffer required for an update
an input of len bytes.
return the size of the output buffer required for an update
an input of len bytes.
return a vector of the values found in the name, in the order they
were found.
Get the version of the PKCS#7 object.
Return the version number for the certificate.
Return the version number for the certificate.
Returns the private value x
.
Returns the private key x
.
Returns the public value y
.
Returns the public key y
.
implements the GOST 28147 OFB counter mode (GCTR).
implementation of GOST 28147-89
implementation of GOST 28147-89 MAC
A parameter spec for the GOST-28147 cipher.
basic test class for the GOST28147 cipher
Main interface for a GOST 3410-94 key.
a GOST3410 key pair generator.
table of the available named parameters for GOST 3410-94.
generate suitable parameters for GOST3410.
ParameterSpec for a GOST 3410-94 key.
This class specifies a GOST3410-94 private key with its associated parameters.
Creates a new GOST3410PrivateKeySpec with the specified parameter values.
ParameterSpec for a GOST 3410-94 key parameters.
Creates a new GOST3410ParameterSpec with the specified parameter values.
This class specifies a GOST3410-94 public key with its associated parameters.
Creates a new GOST3410PublicKeySpec with the specified parameter values.
GOST R 34.10-94 Signature Algorithm
utility class for converting jce/jca GOST3410-94 objects
objects into their org.bouncycastle.crypto counterparts.
implementation of GOST R 34.11-94
return the number of pad bytes present in the block.
return the number of pad bytes present in the block.
return the number of pad bytes present in the block.
return the number of pad bytes present in the block.
return the number of pad bytes present in the block.
return the number of pad bytes present in the block.
return the number of pad bytes present in the block.
A wrapper class that allows block ciphers to be used to process data in
a piecemeal fashion with PKCS5/PKCS7 padding.
Create a buffered block cipher with, or without, padding.
A wrapper class that allows block ciphers to be used to process data in
a piecemeal fashion with padding.
Create a buffered block cipher PKCS7 padding
Create a buffered block cipher with the desired padding.
Cipher parameters with a fixed salt value associated with them.
call back to allow a password to be fetched when one is requested.
PBE - interface org.bouncycastle.jce.provider.
PBE super class for all Password Based Encryption (PBE) parameter generator classes.
test out the various PBE modes, making sure the JCE implementations
are compatible woth the light weight ones.
PBEWithMD5And128BitAES-OpenSSL
PBEWithMD5And128BitAES-OpenSSL
PBEWithMD5And128BitAES-OpenSSL
PBEWithSHA256And128BitAES-BC
PBEWithSHA256And192BitAES-BC
PBEWithSHA256And256BitAES-BC
PBEWithSHA1And128BitAES-BC
PBEWithSHAAnd128BitRC2-CBC
PBEWithSHAAnd128BitRC2-CBC
PBEWithSHA1And192BitAES-BC
PBEWithSHA1And256BitAES-BC
PBEWithSHAAnd40BitRC2-CBC
PBEWithSHAAnd40BitRC2-CBC
PBEWithSHAAnd2-KeyTripleDES-CBC
PBEWithSHAAnd2-KeyTripleDES-CBC
PBEWithSHAAnd3-KeyTripleDES-CBC
PBEWithSHAAnd3-KeyTripleDES-CBC
Class for reading OpenSSL PEM encoded streams containing
X509 certificates, PKCS8 encoded keys and PKCS7 objects.
Create a new PEMReader with a password finder
Create a new PEMReader with a password finder
General purpose writer for OpenSSL PEM objects.
Pfx - class org.bouncycastle.asn1.pkcs.
Pfx the infamous Pfx from PKCS12
Implements OpenPGP's rather strange version of Cipher-FeedBack (CFB) mode on top of a simple cipher.
A class for verifying and creating PKCS10 Certification requests.
construct a PKCS10 certification request from a DER encoded
byte stream.
create a PKCS10 certfication request using the BC provider.
create a PKCS10 certfication request using the named provider.
create a PKCS10 certfication request using the BC provider.
create a PKCS10 certfication request using the named provider.
PKCS12 - static field in class org.bouncycastle.jce.provider.
PBE allow us to set attributes on objects that can go into a PKCS12 store.
Example of how to set up a certificiate chain and a PKCS 12 store for
a private individual - obviously you'll need to generate your own keys,
and you may need to add a NetscapeCertType extension or add a key
usage extension depending on your application, but you should get the
idea!
Generator for PBE derived keys and ivs as defined by PKCS 12 V1.0.
Construct a PKCS 12 Parameters generator.
converts a password to a byte array according to the scheme in
PKCS12 (unicode, big endian, 2 zero pad bytes at the end).
Exercise the various key stores, making sure we at least get back what we put in!
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.
converts a password to a byte array according to the scheme in
PKCS5 (ascii, no padding)
PKCS5S1 - static field in class org.bouncycastle.jce.provider.
PBE Generator for PBE derived keys and ivs as defined by PKCS 5 V2.0 Scheme 1.
Construct a PKCS 5 Scheme 1 Parameters generator.
PKCS5S2 - static field in class org.bouncycastle.jce.provider.
PBE Generator for PBE derived keys and ivs as defined by PKCS 5 V2.0 Scheme 2.
construct a PKCS5 Scheme 2 Parameters generator.
A padder that adds PKCS7/PKCS5 padding to a block.
Represents a PKCS#7 object - specifically the "Signed Data"
type.
Read an existing PKCS#7 object from a DER encoded byte array using
the BC provider.
Read an existing PKCS#7 object from a DER encoded byte array
Create a new PKCS#7 object from the specified key.
Create a new PKCS#7 object from the specified key using the BC provider.
Create a new PKCS#7 object from the specified key.
PKIFailureInfo ::= BIT STRING {
badAlg (0),
-- unrecognized or unsupported Algorithm Identifier
badRequest (2),
-- transaction not permitted or supported
badDataFormat (5),
-- the data submitted has the wrong format
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
systemFailure (25)
-- the request cannot be handled due to system failure }
CertPath implementation for X.509 certificates.
Implements the PKIX CertPathBuilding algorithem for BouncyCastle.
CertPathValidatorSpi implemenation for X.509 Certificate validation ala rfc 3280
PolicyMappings V3 extension, described in RFC3280.
Creates a new PolicyMappings
instance.
Creates a new PolicyMappings
instance.
PolicyQualifierId, used in the CertificatePolicies
X509V3 extension.
Policy qualifiers, used in the X509V3 CertificatePolicies
extension.
Creates a new PolicyQualifierInfo
instance.
Creates a new PolicyQualifierInfo
instance.
Creates a new PolicyQualifierInfo
containing a
cPSuri qualifier.
a utility class that will extract X509Principal objects from X.509 certificates.
Factory for creating private key objects from PKCS8 PrivateKeyInfo objects.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
Process one block of input from the array in and write it to
the out array.
process the block of len bytes stored in in from offset inOff.
Process a single block using the basic ElGamal algorithm.
Process a single block using the basic RSA algorithm.
add another byte for processing.
process a single byte, producing an output block if neccessary.
process a single byte, producing an output block if neccessary.
process a single byte, producing an output block if neccessary.
process a single byte, producing an output block if neccessary.
add len bytes to the buffer for processing.
process an array of bytes, producing output if necessary.
process an array of bytes, producing output if necessary.
process an array of bytes, producing output if necessary.
process an array of bytes, producing output if necessary.
process a block of bytes from in putting the result into out.
process a block of bytes from in putting the result into out.
RSA-PSS as described in PKCS# 1 v 2.1.
This is designed to parse
the PublicKeyAndChallenge created by the KEYGEN tag included by
Mozilla based browsers.
Factory to create asymmetric public key parameters for asymmetric ciphers
from range of ASN.1 encoded SubjectPublicKeyInfo objects.