<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />
API Differences between 2.7.0 and 2.6.0
1073 Additions
22 Removals
Org.BouncyCastle.Asn1
-
public class Asn1EncodableVector : IReadOnlyCollection<Asn1Encodable>, IEnumerable<Asn1Encodable>, IEnumerable
-
public class Asn1InputStream : FilterStream
-
public class Asn1StreamParser
- public int Limit { get; }
-
public abstract class Asn1TaggedObject : Asn1Object, Asn1TaggedObjectParser, IAsn1Convertible
-
public abstract class Asn1Utilities
- public static TResult GetOptionalContextTagged<TState, TResult>(Asn1Encodable element, int tagNo, TState state, Func<Asn1TaggedObject, TState, TResult> constructor)
- public static TResult GetOptionalTagged<TState, TResult>(Asn1Encodable element, int tagClass, int tagNo, TState state, Func<Asn1TaggedObject, TState, TResult> constructor)
- public static TResult Read<TResult>(Asn1Sequence sequence, ref int sequencePosition, Func<Asn1Encodable, TResult> constructor)
- public static bool TryGetOptionalContextTagged<TState, TResult>(Asn1Encodable element, int tagNo, TState state, out TResult result, Func<Asn1TaggedObject, TState, TResult> constructor)
- public static bool TryGetOptionalTagged<TState, TResult>(Asn1Encodable element, int tagClass, int tagNo, TState state, out TResult result, Func<Asn1TaggedObject, TState, TResult> constructor)
-
public class BerOctetString : DerOctetString
-
public class BerSequence : DLSequence
-
public class BerSet : DLSet
-
public class DerBoolean : Asn1Object
-
public class DerExternal : Asn1Object
-
public class DerInteger : Asn1Object
-
public class DerOctetString : Asn1OctetString
-
public class DerSequence : Asn1Sequence
-
public class DerSet : Asn1Set
-
public class DLExternal : DerExternal
-
public class DLSequence : DerSequence
-
public class DLSet : DerSet
Org.BouncyCastle.Asn1.BC
Org.BouncyCastle.Asn1.Cms
Org.BouncyCastle.Asn1.Cms.Ecc
Org.BouncyCastle.Asn1.Crmf
Org.BouncyCastle.Asn1.Esf
Org.BouncyCastle.Asn1.Gsma
Org.BouncyCastle.Asn1.Iana
Org.BouncyCastle.Asn1.Microsoft
Org.BouncyCastle.Asn1.Misc
Org.BouncyCastle.Asn1.Ocsp
Org.BouncyCastle.Asn1.Pkcs
Org.BouncyCastle.Asn1.Sec
Org.BouncyCastle.Asn1.UA
Org.BouncyCastle.Asn1.X500.Style
Org.BouncyCastle.Asn1.X509
Org.BouncyCastle.Asn1.X9
Org.BouncyCastle.Bcpg
-
public class AeadEncDataPacket : InputStreamPacket
-
public static class AeadUtilities
-
public class ArmoredInputException : IOException
-
public class ArmoredInputStream : BaseInputStream
-
public class ArmoredOutputStream : BaseOutputStream
-
public class BcpgInputStream : BaseInputStream
-
public class BcpgOutputStream : BaseOutputStream
-
public abstract class ContainedPacket : Packet
-
public sealed class Ed25519PublicBcpgKey : OctetArrayBcpgKey
-
public sealed class Ed25519SecretBcpgKey : OctetArrayBcpgKey
-
public sealed class Ed448PublicBcpgKey : OctetArrayBcpgKey
-
public sealed class Ed448SecretBcpgKey : OctetArrayBcpgKey
-
public static class FingerprintUtilities
-
public class MalformedPacketException : IOException
-
public class MarkerPacket : ContainedPacket
-
public abstract class OctetArrayBcpgKey : BcpgObject, IBcpgKey
- public virtual string Format { get; }
- public virtual byte[] GetKey()
-
public class OnePassSignaturePacket : ContainedPacket
-
public class Packet
-
public enum PacketFormat
-
public enum PacketTag
-
public class PaddingPacket : ContainedPacket
-
public enum PublicKeyAlgorithmTag
-
public class PublicKeyEncSessionPacket : ContainedPacket
-
public class PublicKeyPacket : ContainedPacket
-
public class PublicSubkeyPacket : PublicKeyPacket
-
public class ReservedPacket : InputStreamPacket
-
public class S2k : BcpgObject
-
public class SecretKeyPacket : ContainedPacket
-
public class SecretSubkeyPacket : SecretKeyPacket
-
public class SignaturePacket : ContainedPacket
-
public class SignatureSubpacketsParser
-
public class SymmetricEncDataPacket : InputStreamPacket
-
public class SymmetricEncIntegrityPacket : InputStreamPacket
-
public class SymmetricKeyEncSessionPacket : ContainedPacket
- public const byte Version4 = 4
- public const byte Version5 = 5
- public const byte Version6 = 6
- public AeadAlgorithmTag AeadAlgorithm { get; }
- public byte VersionByte { get; }
- public SymmetricKeyEncSessionPacket(BcpgInputStream bcpgIn, bool newPacketFormat)
- public static byte[] CreateAAData(byte version, SymmetricKeyAlgorithmTag encAlgorithm, AeadAlgorithmTag aeadAlgorithm)
- public static SymmetricKeyEncSessionPacket CreateV4Packet(SymmetricKeyAlgorithmTag encAlgorithm, S2k s2k, byte[] secKeyData)
- public static SymmetricKeyEncSessionPacket CreateV5Packet(SymmetricKeyAlgorithmTag encAlgorithm, AeadAlgorithmTag aeadAlgorithm, byte[] iv, S2k s2k, byte[] secKeyData, byte[] authTag)
- public static SymmetricKeyEncSessionPacket CreateV6Packet(SymmetricKeyAlgorithmTag encAlgorithm, AeadAlgorithmTag aeadAlgorithm, byte[] iv, S2k s2k, byte[] secKeyData, byte[] authTag)
- public byte[] GetAAData()
- public byte[] GetAuthTag()
- public byte[] GetIV()
-
public static class SymmetricKeyUtilities
-
public class TrustPacket : ContainedPacket
-
public class UnknownBcpgKey : OctetArrayBcpgKey
-
public sealed class UnknownPacket : ContainedPacket
-
public class UserAttributePacket : ContainedPacket
-
public class UserAttributeSubpacketsParser
-
public class UserIdPacket : ContainedPacket, IUserDataPacket
-
public sealed class X25519PublicBcpgKey : OctetArrayBcpgKey
-
public sealed class X25519SecretBcpgKey : OctetArrayBcpgKey
-
public sealed class X448PublicBcpgKey : OctetArrayBcpgKey
-
public sealed class X448SecretBcpgKey : OctetArrayBcpgKey
Org.BouncyCastle.Bcpg.OpenPgp
Org.BouncyCastle.Bcpg.Sig
Org.BouncyCastle.Cmp
Org.BouncyCastle.Cms
Org.BouncyCastle.Crypto.Agreement
Org.BouncyCastle.Crypto.Digests
Org.BouncyCastle.Crypto.Engines
Org.BouncyCastle.Crypto.Fpe
Org.BouncyCastle.Crypto.Generators
Org.BouncyCastle.Crypto.IO
Org.BouncyCastle.Crypto.Modes
Org.BouncyCastle.Crypto.Parameters
-
public sealed class Argon2Parameters
-
public class Dstu4145Parameters : ECDomainParameters
-
public class KeyParameter : ICipherParameters
- public void CopyKeyTo(byte[] buf, int off, int len)
-
public sealed class MgfParameters : IDerivationParameters
-
public sealed class MLDsaPrivateKeyParameters : MLDsaKeyParameters
-
public sealed class MLKemParameterSet
-
public class ParametersWithSalt : ICipherParameters
-
public class ParametersWithSBox : ICipherParameters
- public int SBoxLength { get; }
- public ParametersWithSBox(ICipherParameters parameters, byte[] sBox, int sBoxOff, int sBoxLen)
- public ParametersWithSBox(ICipherParameters parameters, ReadOnlySpan<byte> sBox)
- public static ParametersWithSBox Create<TState>(ICipherParameters parameters, int sBoxLength, TState state, SpanAction<byte, TState> action)
- public void CopySBoxTo(byte[] buf, int off, int len)
-
public class ParametersWithUkm : ICipherParameters
- public ICipherParameters Parameters { get; }
- public int UkmLength { get; }
- public ParametersWithUkm(ICipherParameters parameters, byte[] ukm)
- public ParametersWithUkm(ICipherParameters parameters, byte[] ukm, int ukmOff, int ukmLen)
- public ParametersWithUkm(ICipherParameters parameters, ReadOnlySpan<byte> ukm)
- public static ParametersWithUkm Create<TState>(ICipherParameters parameters, int ukmLength, TState state, SpanAction<byte, TState> action)
- public void CopyUkmTo(byte[] buf, int off, int len)
- public byte[] GetUkm()
-
public class RsaKeyParameters : AsymmetricKeyParameter
Org.BouncyCastle.Crypto.Signers
Org.BouncyCastle.Crypto.Utilities
-
public static class Lib25519
- public static readonly int DHBytes
- public static readonly int DHPublicKeyBytes
- public static readonly int DHSecretKeyBytes
- public static readonly int SignBytes
- public static readonly int SignPublicKeyBytes
- public static readonly int SignSecretKeyBytes
- public static void DH(Span<byte> k, ReadOnlySpan<byte> pk, ReadOnlySpan<byte> sk)
- public static void DHKeyPair(Span<byte> pk, Span<byte> sk)
- public static void Sign(Span<byte> sm, out int smlen, ReadOnlySpan<byte> m, ReadOnlySpan<byte> sk)
- public static void SignKeyPair(Span<byte> pk, Span<byte> sk)
- public static bool SignOpen(Span<byte> m, out int mlen, ReadOnlySpan<byte> sm, ReadOnlySpan<byte> pk)
Org.BouncyCastle.Math
Org.BouncyCastle.Math.EC.Rfc7748
-
public static class X25519
-
public static class X25519Field
- public static void Decode(uint[] x, int xOff, int[] z)
- public static void Decode(ReadOnlySpan<uint> x, Span<int> z)
- public static void Decode(uint[] x, int xOff, int[] z)
- public static void Decode(ReadOnlySpan<uint> x, Span<int> z)
- public static void Decode255(byte[] x, int[] z)
- public static void Decode255(byte[] x, int xOff, int[] z, int zOff)
- public static void Decode255(uint[] x, int[] z)
- public static void Decode255(uint[] x, int xOff, int[] z, int zOff)
- public static void Decode255(ReadOnlySpan<byte> x, Span<int> z)
- public static void Decode255(ReadOnlySpan<uint> x, Span<int> z)
-
public static class X448
-
public static class X448Field
- public static void Decode(uint[] x, int xOff, uint[] z)
- public static void Decode(ReadOnlySpan<uint> x, Span<uint> z)
- public static void Decode(uint[] x, int xOff, uint[] z)
- public static void Decode(ReadOnlySpan<uint> x, Span<uint> z)
- public static void Decode448(byte[] x, uint[] z)
- public static void Decode448(byte[] x, int xOff, uint[] z, int zOff)
- public static void Decode448(uint[] x, uint[] z)
- public static void Decode448(uint[] x, int xOff, uint[] z, int zOff)
- public static void Decode448(ReadOnlySpan<byte> x, Span<uint> z)
- public static void Decode448(ReadOnlySpan<uint> x, Span<uint> z)
Org.BouncyCastle.Math.EC.Rfc8032
Org.BouncyCastle.Ocsp
Org.BouncyCastle.OpenSsl
Org.BouncyCastle.Operators
Org.BouncyCastle.Pkcs
-
public class Pkcs12Store
- protected virtual void LoadKeyBag(PrivateKeyInfo privKeyInfo, Asn1Set bagAttributes)
- protected virtual void LoadPkcs8ShroudedKeyBag(EncryptedPrivateKeyInfo encPrivKeyInfo, Asn1Set bagAttributes, char[] password, bool wrongPkcs12Zero)
- protected virtual void LoadKeyBag(PrivateKeyInfo privKeyInfo, Asn1Set bagAttributes, ref AsymmetricKeyEntry unmarkedKeyEntry)
- protected virtual void LoadPkcs8ShroudedKeyBag(EncryptedPrivateKeyInfo encPrivKeyInfo, Asn1Set bagAttributes, char[] password, bool wrongPkcs12Zero, ref AsymmetricKeyEntry unmarkedKeyEntry)
Org.BouncyCastle.Pkix
Org.BouncyCastle.Pqc.Crypto.Falcon
Org.BouncyCastle.Pqc.Crypto.Hqc
Org.BouncyCastle.Security
Org.BouncyCastle.Tls
Org.BouncyCastle.Tls.Crypto
Org.BouncyCastle.Tls.Crypto.Impl
-
public abstract class AbstractTlsCrypto : TlsCrypto
-
public static class PqcUtilities
-
public sealed class Tls13NullCipher : TlsCipher, TlsCipherExt
- public bool UsesOpaqueRecordType { get; }
- public Tls13NullCipher(TlsCryptoParameters cryptoParams, TlsHmac readHmac, TlsHmac writeHmac)
- public TlsDecodeResult DecodeCiphertext(long seqNo, short recordType, ProtocolVersion recordVersion, byte[] ciphertext, int ciphertextOffset, int ciphertextLength)
- public TlsEncodeResult EncodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, byte[] plaintext, int plaintextOffset, int plaintextLength)
- public TlsEncodeResult EncodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, ReadOnlySpan<byte> plaintext)
- public int GetCiphertextDecodeLimit(int plaintextLimit)
- public int GetCiphertextEncodeLimit(int plaintextLength, int plaintextLimit)
- public int GetPlaintextDecodeLimit(int ciphertextLimit)
- public int GetPlaintextEncodeLimit(int ciphertextLimit)
- public int GetPlaintextLimit(int ciphertextLimit)
- public void RekeyDecoder()
- public void RekeyEncoder()
Org.BouncyCastle.Tls.Crypto.Impl.BC
Org.BouncyCastle.Utilities
-
public static class Arrays
- public static int MaxLength { get; }
- public static T[] CopyBuffer<T>(T[] buf)
- public static void CopyBufferToSegment<T>(T[] srcBuf, T[] dstBuf, int dstOff, int dstLen)
- public static T[] CopySegment<T>(T[] buf, int off, int len)
- public static T[] CreateBuffer<T>(int len)
- public static bool FixedTimeEquals(int len, ulong[] a, int aOff, ulong[] b, int bOff)
- public static void ReverseInPlace<T>(T[] array, int index, int length)
- public static bool SegmentsOverlap(int aOff, int aLen, int bOff, int bLen)
- public static void ValidateBufferLength(int len)
- public static void ZeroMemory(byte[] buf)
- public static void ZeroMemory(byte[] buf, int off, int len)
- public static void ZeroMemory(char[] buf)
- public static void ZeroMemory(Span<byte> buffer)
-
public static class BigIntegers
-
public static class Bytes
- public static void CMov(int len, int cond, byte[] x, byte[] z)
- public static void CMov(int len, int cond, byte[] x, int xOff, byte[] z, int zOff)
- public static void CMov(int len, int cond, ReadOnlySpan<byte> x, Span<byte> z)
-
public static class Integers
-
public static class Longs
-
public static class Properties
- public static readonly string Argon2MaxMemoryExp
- public static readonly string Argon2MaxParallelism
- public static readonly string Argon2MaxPasses
- public static readonly string Asn1AllowUnsafeInteger
- public static readonly string Asn1MaxDepth
- public static readonly string Asn1MaxLimit
- public static readonly string CmsAllowLenientRsaPkcs1
- public static readonly string DHMaxSize
- public static readonly string DsaMaxSize
- public static readonly string ECF2mMaxSize
- public static readonly string ECFpCertainty
- public static readonly string ECFpMaxSize
- public static readonly string FpeDisable
- public static readonly string FpeDisableFf1
- public static readonly string PbeMaxIterationCount
- public static readonly string PbeMaxScryptMemory
- public static readonly string Pkcs12IgnoreUselessPassword
- public static readonly string Pkcs12MaxIterationCount
- public static readonly string Pkcs1NotStrict
- public static readonly string PKMacMaxIterationCount
- public static readonly string RsaAllowUnsafeModulus
- public static readonly string RsaMaxMRTests
- public static readonly string RsaMaxSize
- public static readonly string X509AllowLenientIPAddressMask
- public static readonly string X509AllowLenientRfc822Name
- public static readonly string X509AllowNonDerTbsCertificate
- public static readonly string X509MaxPolicyNodes
- public static readonly string X509Sgp22NameConstraints
- public static void Clear()
- public static void ClearThreadProperties()
- public static bool GetBoolean(string propertyName, bool defaultValue)
- public static int GetInt32(string propertyName, int defaultValue)
- public static long GetInt64(string propertyName, long defaultValue)
- public static string GetProperty(string name)
- public static string GetProperty(string name, string defaultValue)
- public static string GetThreadProperty(string name)
- public static bool RemoveThreadProperty(string name)
- public static void SetThreadBoolean(string propertyName, bool propertyValue)
- public static void SetThreadInt32(string propertyName, int propertyValue)
- public static void SetThreadInt64(string propertyName, long propertyValue)
- public static void SetThreadProperty(string name, string value)
- public static bool TryGetBoolean(string propertyName, out bool propertyValue)
- public static bool TryGetInt32(string propertyName, out int propertyValue)
- public static bool TryGetInt64(string propertyName, out long propertyValue)
- public static void WithThreadProperty(string name, string value, Action action)
- public static TResult WithThreadProperty<TResult>(string name, string value, Func<TResult> func)
- public static TResult WithThreadProperty<TArg, TResult>(string name, string value, TArg arg, Func<TArg, TResult> func)
-
public static class Strings
Org.BouncyCastle.Utilities.Encoders
-
public sealed class Base64
- public static byte[] Decode(byte[] data, int off, int length)
-
public sealed class Hex
- public static byte[] Decode(byte[] data, int off, int length)
Org.BouncyCastle.Utilities.IO
Org.BouncyCastle.X509
Org.BouncyCastle.X509.Extension
Org.BouncyCastle.X509.Store