Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2020-01-07 05:34:22 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2020-01-07 05:34:22 +0300
commitc58c68d3c0c70ff011912fbc310da665dbd80c62 (patch)
treebb00d21ade06ae7b53ec182a3e1ab140c3bc6212
parent0d04b48a9d018249f75e950a3fc248aaf2400924 (diff)
Apply changes from https://github.com/mono/mono/pull/18325 to API snapshot
-rw-r--r--profiles/monodroid/Facades/System.Security.Cryptography.Pkcs.cs21
-rw-r--r--profiles/monodroid/System.Security.cs171
-rw-r--r--profiles/monotouch/Facades/System.Security.Cryptography.Pkcs.cs21
-rw-r--r--profiles/monotouch/System.Security.cs171
-rw-r--r--profiles/net_4_x/System.Security.cs171
5 files changed, 555 insertions, 0 deletions
diff --git a/profiles/monodroid/Facades/System.Security.Cryptography.Pkcs.cs b/profiles/monodroid/Facades/System.Security.Cryptography.Pkcs.cs
index a89a42a..b1c3768 100644
--- a/profiles/monodroid/Facades/System.Security.Cryptography.Pkcs.cs
+++ b/profiles/monodroid/Facades/System.Security.Cryptography.Pkcs.cs
@@ -21,14 +21,28 @@
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsRecipient))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsRecipientCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsRecipientEnumerator))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsSigner))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.ContentInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.EnvelopedCms))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.KeyAgreeRecipientInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.KeyTransRecipientInfo))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12Builder))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12CertBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12ConfidentialityMode))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12Info))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12IntegrityMode))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12KeyBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SafeBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SafeContents))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SafeContentsBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SecretBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9AttributeObject))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9ContentType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9DocumentDescription))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9DocumentName))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9LocalKeyId))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9MessageDigest))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9SigningTime))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.PublicKeyInfo))]
@@ -36,6 +50,13 @@
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.RecipientInfoCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.RecipientInfoEnumerator))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.RecipientInfoType))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Rfc3161TimestampToken))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignedCms))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignerInfo))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignerInfoCollection))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignerInfoEnumerator))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifier))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifierOrKey))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifierOrKeyType))]
diff --git a/profiles/monodroid/System.Security.cs b/profiles/monodroid/System.Security.cs
index 1411008..6e4d567 100644
--- a/profiles/monodroid/System.Security.cs
+++ b/profiles/monodroid/System.Security.cs
@@ -173,6 +173,120 @@ namespace System.Security.Cryptography.Pkcs
public override System.Security.Cryptography.Pkcs.SubjectIdentifier RecipientIdentifier { get { throw null; } }
public override int Version { get { throw null; } }
}
+ public sealed partial class Pkcs12Builder
+ {
+ public Pkcs12Builder() { }
+ public bool IsSealed { get { throw null; } }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, string password, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsUnencrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { }
+ public byte[] Encode() { throw null; }
+ public void SealWithMac(System.ReadOnlySpan<char> password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { }
+ public void SealWithMac(string password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { }
+ public void SealWithoutIntegrity() { }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Pkcs12CertBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12CertBag(System.Security.Cryptography.Oid certificateType, System.ReadOnlyMemory<byte> encodedCertificate) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> EncodedCertificate { get { throw null; } }
+ public bool IsX509Certificate { get { throw null; } }
+ public System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificate() { throw null; }
+ public System.Security.Cryptography.Oid GetCertificateType() { throw null; }
+ }
+ public enum Pkcs12ConfidentialityMode
+ {
+ None = 1,
+ Password = 2,
+ PublicKey = 3,
+ Unknown = 0,
+ }
+ public sealed partial class Pkcs12Info
+ {
+ internal Pkcs12Info() { }
+ public System.Collections.ObjectModel.ReadOnlyCollection<System.Security.Cryptography.Pkcs.Pkcs12SafeContents> AuthenticatedSafe { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.Pkcs12IntegrityMode IntegrityMode { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Pkcs12Info Decode(System.ReadOnlyMemory<byte> encodedBytes, out int bytesConsumed, bool skipCopy = false) { throw null; }
+ public bool VerifyMac(System.ReadOnlySpan<char> password) { throw null; }
+ public bool VerifyMac(string password) { throw null; }
+ }
+ public enum Pkcs12IntegrityMode
+ {
+ None = 1,
+ Password = 2,
+ PublicKey = 3,
+ Unknown = 0,
+ }
+ public sealed partial class Pkcs12KeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12KeyBag(System.ReadOnlyMemory<byte> pkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> Pkcs8PrivateKey { get { throw null; } }
+ }
+ public abstract partial class Pkcs12SafeBag
+ {
+ protected Pkcs12SafeBag(string bagIdValue, System.ReadOnlyMemory<byte> encodedBagValue, bool skipCopy = false) { }
+ public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } }
+ public System.ReadOnlyMemory<byte> EncodedBagValue { get { throw null; } }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.Oid GetBagId() { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Pkcs12SafeContents
+ {
+ public Pkcs12SafeContents() { }
+ public System.Security.Cryptography.Pkcs.Pkcs12ConfidentialityMode ConfidentialityMode { get { throw null; } }
+ public bool IsReadOnly { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.Pkcs12CertBag AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12KeyBag AddKeyUnencrypted(System.Security.Cryptography.AsymmetricAlgorithm key) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12SafeContentsBag AddNestedContents(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { throw null; }
+ public void AddSafeBag(System.Security.Cryptography.Pkcs.Pkcs12SafeBag safeBag) { }
+ public System.Security.Cryptography.Pkcs.Pkcs12SecretBag AddSecret(System.Security.Cryptography.Oid secretType, System.ReadOnlyMemory<byte> secretValue) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, string password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public void Decrypt(byte[] passwordBytes) { }
+ public void Decrypt(System.ReadOnlySpan<byte> passwordBytes) { }
+ public void Decrypt(System.ReadOnlySpan<char> password) { }
+ public void Decrypt(string password) { }
+ public System.Collections.Generic.IEnumerable<System.Security.Cryptography.Pkcs.Pkcs12SafeBag> GetBags() { throw null; }
+ }
+ public sealed partial class Pkcs12SafeContentsBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ internal Pkcs12SafeContentsBag() : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.Security.Cryptography.Pkcs.Pkcs12SafeContents SafeContents { get { throw null; } }
+ }
+ public sealed partial class Pkcs12SecretBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ internal Pkcs12SecretBag() : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> SecretValue { get { throw null; } }
+ public System.Security.Cryptography.Oid GetSecretType() { throw null; }
+ }
+ public sealed partial class Pkcs12ShroudedKeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12ShroudedKeyBag(System.ReadOnlyMemory<byte> encryptedPkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> EncryptedPkcs8PrivateKey { get { throw null; } }
+ }
+ public sealed partial class Pkcs8PrivateKeyInfo
+ {
+ public Pkcs8PrivateKeyInfo(System.Security.Cryptography.Oid algorithmId, System.Nullable<System.ReadOnlyMemory<byte>> algorithmParameters, System.ReadOnlyMemory<byte> privateKey, bool skipCopies = false) { }
+ public System.Security.Cryptography.Oid AlgorithmId { get { throw null; } }
+ public System.Nullable<System.ReadOnlyMemory<byte>> AlgorithmParameters { get { throw null; } }
+ public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } }
+ public System.ReadOnlyMemory<byte> PrivateKeyBytes { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Create(System.Security.Cryptography.AsymmetricAlgorithm privateKey) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Decode(System.ReadOnlyMemory<byte> source, out int bytesRead, bool skipCopy = false) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan<byte> passwordBytes, System.ReadOnlyMemory<byte> source, out int bytesRead) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan<char> password, System.ReadOnlyMemory<byte> source, out int bytesRead) { throw null; }
+ public byte[] Encode() { throw null; }
+ public byte[] Encrypt(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public byte[] Encrypt(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public bool TryEncrypt(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public bool TryEncrypt(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
public partial class Pkcs9AttributeObject : System.Security.Cryptography.AsnEncodedData
{
public Pkcs9AttributeObject() { }
@@ -204,6 +318,13 @@ namespace System.Security.Cryptography.Pkcs
public string DocumentName { get { throw null; } }
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
}
+ public sealed partial class Pkcs9LocalKeyId : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
+ {
+ public Pkcs9LocalKeyId() { }
+ public Pkcs9LocalKeyId(byte[] keyId) { }
+ public Pkcs9LocalKeyId(System.ReadOnlySpan<byte> keyId) { }
+ public System.ReadOnlyMemory<byte> KeyId { get { throw null; } }
+ }
public sealed partial class Pkcs9MessageDigest : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
{
public Pkcs9MessageDigest() { }
@@ -259,6 +380,56 @@ namespace System.Security.Cryptography.Pkcs
KeyTransport = 1,
Unknown = 0,
}
+ public sealed partial class Rfc3161TimestampRequest
+ {
+ internal Rfc3161TimestampRequest() { }
+ public bool HasExtensions { get { throw null; } }
+ public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } }
+ public System.Security.Cryptography.Oid RequestedPolicyId { get { throw null; } }
+ public bool RequestSignerCertificate { get { throw null; } }
+ public int Version { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromData(System.ReadOnlySpan<byte> data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory<byte> hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory<byte> hash, System.Security.Cryptography.Oid hashAlgorithmId, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; }
+ public System.ReadOnlyMemory<byte> GetMessageHash() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetNonce() { throw null; }
+ public System.Security.Cryptography.Pkcs.Rfc3161TimestampToken ProcessResponse(System.ReadOnlyMemory<byte> responseBytes, out int bytesConsumed) { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest request, out int bytesConsumed) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Rfc3161TimestampToken
+ {
+ internal Rfc3161TimestampToken() { }
+ public System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo TokenInfo { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.SignedCms AsSignedCms() { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampToken token, out int bytesConsumed) { throw null; }
+ public bool VerifySignatureForData(System.ReadOnlySpan<byte> data, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForHash(System.ReadOnlySpan<byte> hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForHash(System.ReadOnlySpan<byte> hash, System.Security.Cryptography.Oid hashAlgorithmId, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ }
+ public sealed partial class Rfc3161TimestampTokenInfo
+ {
+ public Rfc3161TimestampTokenInfo(System.Security.Cryptography.Oid policyId, System.Security.Cryptography.Oid hashAlgorithmId, System.ReadOnlyMemory<byte> messageHash, System.ReadOnlyMemory<byte> serialNumber, System.DateTimeOffset timestamp, System.Nullable<long> accuracyInMicroseconds = default(System.Nullable<long>), bool isOrdering = false, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), System.Nullable<System.ReadOnlyMemory<byte>> timestampAuthorityName = default(System.Nullable<System.ReadOnlyMemory<byte>>), System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { }
+ public System.Nullable<long> AccuracyInMicroseconds { get { throw null; } }
+ public bool HasExtensions { get { throw null; } }
+ public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } }
+ public bool IsOrdering { get { throw null; } }
+ public System.Security.Cryptography.Oid PolicyId { get { throw null; } }
+ public System.DateTimeOffset Timestamp { get { throw null; } }
+ public int Version { get { throw null; } }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; }
+ public System.ReadOnlyMemory<byte> GetMessageHash() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetNonce() { throw null; }
+ public System.ReadOnlyMemory<byte> GetSerialNumber() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetTimestampAuthorityName() { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo timestampTokenInfo, out int bytesConsumed) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
public sealed partial class SignedCms
{
public SignedCms() { }
diff --git a/profiles/monotouch/Facades/System.Security.Cryptography.Pkcs.cs b/profiles/monotouch/Facades/System.Security.Cryptography.Pkcs.cs
index a89a42a..b1c3768 100644
--- a/profiles/monotouch/Facades/System.Security.Cryptography.Pkcs.cs
+++ b/profiles/monotouch/Facades/System.Security.Cryptography.Pkcs.cs
@@ -21,14 +21,28 @@
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsRecipient))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsRecipientCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsRecipientEnumerator))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.CmsSigner))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.ContentInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.EnvelopedCms))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.KeyAgreeRecipientInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.KeyTransRecipientInfo))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12Builder))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12CertBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12ConfidentialityMode))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12Info))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12IntegrityMode))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12KeyBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SafeBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SafeContents))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SafeContentsBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12SecretBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9AttributeObject))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9ContentType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9DocumentDescription))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9DocumentName))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9LocalKeyId))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9MessageDigest))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Pkcs9SigningTime))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.PublicKeyInfo))]
@@ -36,6 +50,13 @@
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.RecipientInfoCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.RecipientInfoEnumerator))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.RecipientInfoType))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Rfc3161TimestampToken))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignedCms))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignerInfo))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignerInfoCollection))]
+[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SignerInfoEnumerator))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifier))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifierOrKey))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifierOrKeyType))]
diff --git a/profiles/monotouch/System.Security.cs b/profiles/monotouch/System.Security.cs
index 1411008..6e4d567 100644
--- a/profiles/monotouch/System.Security.cs
+++ b/profiles/monotouch/System.Security.cs
@@ -173,6 +173,120 @@ namespace System.Security.Cryptography.Pkcs
public override System.Security.Cryptography.Pkcs.SubjectIdentifier RecipientIdentifier { get { throw null; } }
public override int Version { get { throw null; } }
}
+ public sealed partial class Pkcs12Builder
+ {
+ public Pkcs12Builder() { }
+ public bool IsSealed { get { throw null; } }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, string password, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsUnencrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { }
+ public byte[] Encode() { throw null; }
+ public void SealWithMac(System.ReadOnlySpan<char> password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { }
+ public void SealWithMac(string password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { }
+ public void SealWithoutIntegrity() { }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Pkcs12CertBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12CertBag(System.Security.Cryptography.Oid certificateType, System.ReadOnlyMemory<byte> encodedCertificate) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> EncodedCertificate { get { throw null; } }
+ public bool IsX509Certificate { get { throw null; } }
+ public System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificate() { throw null; }
+ public System.Security.Cryptography.Oid GetCertificateType() { throw null; }
+ }
+ public enum Pkcs12ConfidentialityMode
+ {
+ None = 1,
+ Password = 2,
+ PublicKey = 3,
+ Unknown = 0,
+ }
+ public sealed partial class Pkcs12Info
+ {
+ internal Pkcs12Info() { }
+ public System.Collections.ObjectModel.ReadOnlyCollection<System.Security.Cryptography.Pkcs.Pkcs12SafeContents> AuthenticatedSafe { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.Pkcs12IntegrityMode IntegrityMode { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Pkcs12Info Decode(System.ReadOnlyMemory<byte> encodedBytes, out int bytesConsumed, bool skipCopy = false) { throw null; }
+ public bool VerifyMac(System.ReadOnlySpan<char> password) { throw null; }
+ public bool VerifyMac(string password) { throw null; }
+ }
+ public enum Pkcs12IntegrityMode
+ {
+ None = 1,
+ Password = 2,
+ PublicKey = 3,
+ Unknown = 0,
+ }
+ public sealed partial class Pkcs12KeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12KeyBag(System.ReadOnlyMemory<byte> pkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> Pkcs8PrivateKey { get { throw null; } }
+ }
+ public abstract partial class Pkcs12SafeBag
+ {
+ protected Pkcs12SafeBag(string bagIdValue, System.ReadOnlyMemory<byte> encodedBagValue, bool skipCopy = false) { }
+ public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } }
+ public System.ReadOnlyMemory<byte> EncodedBagValue { get { throw null; } }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.Oid GetBagId() { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Pkcs12SafeContents
+ {
+ public Pkcs12SafeContents() { }
+ public System.Security.Cryptography.Pkcs.Pkcs12ConfidentialityMode ConfidentialityMode { get { throw null; } }
+ public bool IsReadOnly { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.Pkcs12CertBag AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12KeyBag AddKeyUnencrypted(System.Security.Cryptography.AsymmetricAlgorithm key) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12SafeContentsBag AddNestedContents(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { throw null; }
+ public void AddSafeBag(System.Security.Cryptography.Pkcs.Pkcs12SafeBag safeBag) { }
+ public System.Security.Cryptography.Pkcs.Pkcs12SecretBag AddSecret(System.Security.Cryptography.Oid secretType, System.ReadOnlyMemory<byte> secretValue) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, string password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public void Decrypt(byte[] passwordBytes) { }
+ public void Decrypt(System.ReadOnlySpan<byte> passwordBytes) { }
+ public void Decrypt(System.ReadOnlySpan<char> password) { }
+ public void Decrypt(string password) { }
+ public System.Collections.Generic.IEnumerable<System.Security.Cryptography.Pkcs.Pkcs12SafeBag> GetBags() { throw null; }
+ }
+ public sealed partial class Pkcs12SafeContentsBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ internal Pkcs12SafeContentsBag() : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.Security.Cryptography.Pkcs.Pkcs12SafeContents SafeContents { get { throw null; } }
+ }
+ public sealed partial class Pkcs12SecretBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ internal Pkcs12SecretBag() : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> SecretValue { get { throw null; } }
+ public System.Security.Cryptography.Oid GetSecretType() { throw null; }
+ }
+ public sealed partial class Pkcs12ShroudedKeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12ShroudedKeyBag(System.ReadOnlyMemory<byte> encryptedPkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> EncryptedPkcs8PrivateKey { get { throw null; } }
+ }
+ public sealed partial class Pkcs8PrivateKeyInfo
+ {
+ public Pkcs8PrivateKeyInfo(System.Security.Cryptography.Oid algorithmId, System.Nullable<System.ReadOnlyMemory<byte>> algorithmParameters, System.ReadOnlyMemory<byte> privateKey, bool skipCopies = false) { }
+ public System.Security.Cryptography.Oid AlgorithmId { get { throw null; } }
+ public System.Nullable<System.ReadOnlyMemory<byte>> AlgorithmParameters { get { throw null; } }
+ public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } }
+ public System.ReadOnlyMemory<byte> PrivateKeyBytes { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Create(System.Security.Cryptography.AsymmetricAlgorithm privateKey) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Decode(System.ReadOnlyMemory<byte> source, out int bytesRead, bool skipCopy = false) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan<byte> passwordBytes, System.ReadOnlyMemory<byte> source, out int bytesRead) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan<char> password, System.ReadOnlyMemory<byte> source, out int bytesRead) { throw null; }
+ public byte[] Encode() { throw null; }
+ public byte[] Encrypt(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public byte[] Encrypt(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public bool TryEncrypt(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public bool TryEncrypt(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
public partial class Pkcs9AttributeObject : System.Security.Cryptography.AsnEncodedData
{
public Pkcs9AttributeObject() { }
@@ -204,6 +318,13 @@ namespace System.Security.Cryptography.Pkcs
public string DocumentName { get { throw null; } }
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
}
+ public sealed partial class Pkcs9LocalKeyId : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
+ {
+ public Pkcs9LocalKeyId() { }
+ public Pkcs9LocalKeyId(byte[] keyId) { }
+ public Pkcs9LocalKeyId(System.ReadOnlySpan<byte> keyId) { }
+ public System.ReadOnlyMemory<byte> KeyId { get { throw null; } }
+ }
public sealed partial class Pkcs9MessageDigest : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
{
public Pkcs9MessageDigest() { }
@@ -259,6 +380,56 @@ namespace System.Security.Cryptography.Pkcs
KeyTransport = 1,
Unknown = 0,
}
+ public sealed partial class Rfc3161TimestampRequest
+ {
+ internal Rfc3161TimestampRequest() { }
+ public bool HasExtensions { get { throw null; } }
+ public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } }
+ public System.Security.Cryptography.Oid RequestedPolicyId { get { throw null; } }
+ public bool RequestSignerCertificate { get { throw null; } }
+ public int Version { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromData(System.ReadOnlySpan<byte> data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory<byte> hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory<byte> hash, System.Security.Cryptography.Oid hashAlgorithmId, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; }
+ public System.ReadOnlyMemory<byte> GetMessageHash() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetNonce() { throw null; }
+ public System.Security.Cryptography.Pkcs.Rfc3161TimestampToken ProcessResponse(System.ReadOnlyMemory<byte> responseBytes, out int bytesConsumed) { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest request, out int bytesConsumed) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Rfc3161TimestampToken
+ {
+ internal Rfc3161TimestampToken() { }
+ public System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo TokenInfo { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.SignedCms AsSignedCms() { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampToken token, out int bytesConsumed) { throw null; }
+ public bool VerifySignatureForData(System.ReadOnlySpan<byte> data, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForHash(System.ReadOnlySpan<byte> hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForHash(System.ReadOnlySpan<byte> hash, System.Security.Cryptography.Oid hashAlgorithmId, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ }
+ public sealed partial class Rfc3161TimestampTokenInfo
+ {
+ public Rfc3161TimestampTokenInfo(System.Security.Cryptography.Oid policyId, System.Security.Cryptography.Oid hashAlgorithmId, System.ReadOnlyMemory<byte> messageHash, System.ReadOnlyMemory<byte> serialNumber, System.DateTimeOffset timestamp, System.Nullable<long> accuracyInMicroseconds = default(System.Nullable<long>), bool isOrdering = false, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), System.Nullable<System.ReadOnlyMemory<byte>> timestampAuthorityName = default(System.Nullable<System.ReadOnlyMemory<byte>>), System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { }
+ public System.Nullable<long> AccuracyInMicroseconds { get { throw null; } }
+ public bool HasExtensions { get { throw null; } }
+ public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } }
+ public bool IsOrdering { get { throw null; } }
+ public System.Security.Cryptography.Oid PolicyId { get { throw null; } }
+ public System.DateTimeOffset Timestamp { get { throw null; } }
+ public int Version { get { throw null; } }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; }
+ public System.ReadOnlyMemory<byte> GetMessageHash() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetNonce() { throw null; }
+ public System.ReadOnlyMemory<byte> GetSerialNumber() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetTimestampAuthorityName() { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo timestampTokenInfo, out int bytesConsumed) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
public sealed partial class SignedCms
{
public SignedCms() { }
diff --git a/profiles/net_4_x/System.Security.cs b/profiles/net_4_x/System.Security.cs
index 463934b..aff2ff2 100644
--- a/profiles/net_4_x/System.Security.cs
+++ b/profiles/net_4_x/System.Security.cs
@@ -208,6 +208,120 @@ namespace System.Security.Cryptography.Pkcs
public override System.Security.Cryptography.Pkcs.SubjectIdentifier RecipientIdentifier { get { throw null; } }
public override int Version { get { throw null; } }
}
+ public sealed partial class Pkcs12Builder
+ {
+ public Pkcs12Builder() { }
+ public bool IsSealed { get { throw null; } }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, string password, System.Security.Cryptography.PbeParameters pbeParameters) { }
+ public void AddSafeContentsUnencrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { }
+ public byte[] Encode() { throw null; }
+ public void SealWithMac(System.ReadOnlySpan<char> password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { }
+ public void SealWithMac(string password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { }
+ public void SealWithoutIntegrity() { }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Pkcs12CertBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12CertBag(System.Security.Cryptography.Oid certificateType, System.ReadOnlyMemory<byte> encodedCertificate) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> EncodedCertificate { get { throw null; } }
+ public bool IsX509Certificate { get { throw null; } }
+ public System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificate() { throw null; }
+ public System.Security.Cryptography.Oid GetCertificateType() { throw null; }
+ }
+ public enum Pkcs12ConfidentialityMode
+ {
+ None = 1,
+ Password = 2,
+ PublicKey = 3,
+ Unknown = 0,
+ }
+ public sealed partial class Pkcs12Info
+ {
+ internal Pkcs12Info() { }
+ public System.Collections.ObjectModel.ReadOnlyCollection<System.Security.Cryptography.Pkcs.Pkcs12SafeContents> AuthenticatedSafe { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.Pkcs12IntegrityMode IntegrityMode { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Pkcs12Info Decode(System.ReadOnlyMemory<byte> encodedBytes, out int bytesConsumed, bool skipCopy = false) { throw null; }
+ public bool VerifyMac(System.ReadOnlySpan<char> password) { throw null; }
+ public bool VerifyMac(string password) { throw null; }
+ }
+ public enum Pkcs12IntegrityMode
+ {
+ None = 1,
+ Password = 2,
+ PublicKey = 3,
+ Unknown = 0,
+ }
+ public sealed partial class Pkcs12KeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12KeyBag(System.ReadOnlyMemory<byte> pkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> Pkcs8PrivateKey { get { throw null; } }
+ }
+ public abstract partial class Pkcs12SafeBag
+ {
+ protected Pkcs12SafeBag(string bagIdValue, System.ReadOnlyMemory<byte> encodedBagValue, bool skipCopy = false) { }
+ public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } }
+ public System.ReadOnlyMemory<byte> EncodedBagValue { get { throw null; } }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.Oid GetBagId() { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Pkcs12SafeContents
+ {
+ public Pkcs12SafeContents() { }
+ public System.Security.Cryptography.Pkcs.Pkcs12ConfidentialityMode ConfidentialityMode { get { throw null; } }
+ public bool IsReadOnly { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.Pkcs12CertBag AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12KeyBag AddKeyUnencrypted(System.Security.Cryptography.AsymmetricAlgorithm key) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12SafeContentsBag AddNestedContents(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { throw null; }
+ public void AddSafeBag(System.Security.Cryptography.Pkcs.Pkcs12SafeBag safeBag) { }
+ public System.Security.Cryptography.Pkcs.Pkcs12SecretBag AddSecret(System.Security.Cryptography.Oid secretType, System.ReadOnlyMemory<byte> secretValue) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, string password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public void Decrypt(byte[] passwordBytes) { }
+ public void Decrypt(System.ReadOnlySpan<byte> passwordBytes) { }
+ public void Decrypt(System.ReadOnlySpan<char> password) { }
+ public void Decrypt(string password) { }
+ public System.Collections.Generic.IEnumerable<System.Security.Cryptography.Pkcs.Pkcs12SafeBag> GetBags() { throw null; }
+ }
+ public sealed partial class Pkcs12SafeContentsBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ internal Pkcs12SafeContentsBag() : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.Security.Cryptography.Pkcs.Pkcs12SafeContents SafeContents { get { throw null; } }
+ }
+ public sealed partial class Pkcs12SecretBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ internal Pkcs12SecretBag() : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> SecretValue { get { throw null; } }
+ public System.Security.Cryptography.Oid GetSecretType() { throw null; }
+ }
+ public sealed partial class Pkcs12ShroudedKeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
+ {
+ public Pkcs12ShroudedKeyBag(System.ReadOnlyMemory<byte> encryptedPkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory<byte>), default(bool)) { }
+ public System.ReadOnlyMemory<byte> EncryptedPkcs8PrivateKey { get { throw null; } }
+ }
+ public sealed partial class Pkcs8PrivateKeyInfo
+ {
+ public Pkcs8PrivateKeyInfo(System.Security.Cryptography.Oid algorithmId, System.Nullable<System.ReadOnlyMemory<byte>> algorithmParameters, System.ReadOnlyMemory<byte> privateKey, bool skipCopies = false) { }
+ public System.Security.Cryptography.Oid AlgorithmId { get { throw null; } }
+ public System.Nullable<System.ReadOnlyMemory<byte>> AlgorithmParameters { get { throw null; } }
+ public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } }
+ public System.ReadOnlyMemory<byte> PrivateKeyBytes { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Create(System.Security.Cryptography.AsymmetricAlgorithm privateKey) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Decode(System.ReadOnlyMemory<byte> source, out int bytesRead, bool skipCopy = false) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan<byte> passwordBytes, System.ReadOnlyMemory<byte> source, out int bytesRead) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan<char> password, System.ReadOnlyMemory<byte> source, out int bytesRead) { throw null; }
+ public byte[] Encode() { throw null; }
+ public byte[] Encrypt(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public byte[] Encrypt(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public bool TryEncrypt(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public bool TryEncrypt(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
public partial class Pkcs9AttributeObject : System.Security.Cryptography.AsnEncodedData
{
public Pkcs9AttributeObject() { }
@@ -239,6 +353,13 @@ namespace System.Security.Cryptography.Pkcs
public string DocumentName { get { throw null; } }
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
}
+ public sealed partial class Pkcs9LocalKeyId : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
+ {
+ public Pkcs9LocalKeyId() { }
+ public Pkcs9LocalKeyId(byte[] keyId) { }
+ public Pkcs9LocalKeyId(System.ReadOnlySpan<byte> keyId) { }
+ public System.ReadOnlyMemory<byte> KeyId { get { throw null; } }
+ }
public sealed partial class Pkcs9MessageDigest : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
{
public Pkcs9MessageDigest() { }
@@ -294,6 +415,56 @@ namespace System.Security.Cryptography.Pkcs
KeyTransport = 1,
Unknown = 0,
}
+ public sealed partial class Rfc3161TimestampRequest
+ {
+ internal Rfc3161TimestampRequest() { }
+ public bool HasExtensions { get { throw null; } }
+ public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } }
+ public System.Security.Cryptography.Oid RequestedPolicyId { get { throw null; } }
+ public bool RequestSignerCertificate { get { throw null; } }
+ public int Version { get { throw null; } }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromData(System.ReadOnlySpan<byte> data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory<byte> hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory<byte> hash, System.Security.Cryptography.Oid hashAlgorithmId, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; }
+ public System.ReadOnlyMemory<byte> GetMessageHash() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetNonce() { throw null; }
+ public System.Security.Cryptography.Pkcs.Rfc3161TimestampToken ProcessResponse(System.ReadOnlyMemory<byte> responseBytes, out int bytesConsumed) { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest request, out int bytesConsumed) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ public sealed partial class Rfc3161TimestampToken
+ {
+ internal Rfc3161TimestampToken() { }
+ public System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo TokenInfo { get { throw null; } }
+ public System.Security.Cryptography.Pkcs.SignedCms AsSignedCms() { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampToken token, out int bytesConsumed) { throw null; }
+ public bool VerifySignatureForData(System.ReadOnlySpan<byte> data, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForHash(System.ReadOnlySpan<byte> hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForHash(System.ReadOnlySpan<byte> hash, System.Security.Cryptography.Oid hashAlgorithmId, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ public bool VerifySignatureForSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; }
+ }
+ public sealed partial class Rfc3161TimestampTokenInfo
+ {
+ public Rfc3161TimestampTokenInfo(System.Security.Cryptography.Oid policyId, System.Security.Cryptography.Oid hashAlgorithmId, System.ReadOnlyMemory<byte> messageHash, System.ReadOnlyMemory<byte> serialNumber, System.DateTimeOffset timestamp, System.Nullable<long> accuracyInMicroseconds = default(System.Nullable<long>), bool isOrdering = false, System.Nullable<System.ReadOnlyMemory<byte>> nonce = default(System.Nullable<System.ReadOnlyMemory<byte>>), System.Nullable<System.ReadOnlyMemory<byte>> timestampAuthorityName = default(System.Nullable<System.ReadOnlyMemory<byte>>), System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { }
+ public System.Nullable<long> AccuracyInMicroseconds { get { throw null; } }
+ public bool HasExtensions { get { throw null; } }
+ public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } }
+ public bool IsOrdering { get { throw null; } }
+ public System.Security.Cryptography.Oid PolicyId { get { throw null; } }
+ public System.DateTimeOffset Timestamp { get { throw null; } }
+ public int Version { get { throw null; } }
+ public byte[] Encode() { throw null; }
+ public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; }
+ public System.ReadOnlyMemory<byte> GetMessageHash() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetNonce() { throw null; }
+ public System.ReadOnlyMemory<byte> GetSerialNumber() { throw null; }
+ public System.Nullable<System.ReadOnlyMemory<byte>> GetTimestampAuthorityName() { throw null; }
+ public static bool TryDecode(System.ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo timestampTokenInfo, out int bytesConsumed) { throw null; }
+ public bool TryEncode(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
public sealed partial class SignedCms
{
public SignedCms() { }