Exemple #1
0
 internal Mono.Security.ASN1 GetASN1()
 {
     Mono.Security.ASN1 asn = new Mono.Security.ASN1(0x30);
     asn.Add(ASN1Convert.FromOid(this.contentType));
     if ((this.content != null) && (this.content.Count > 0))
     {
         asn.Add(this.content);
     }
     return(asn);
 }
Exemple #2
0
 public ContentInfo(Mono.Security.ASN1 asn1)
 {
     if ((asn1.Tag != 0x30) || ((asn1.Count < 1) && (asn1.Count > 2)))
     {
         throw new ArgumentException("Invalid ASN1");
     }
     if (asn1[0].Tag != 6)
     {
         throw new ArgumentException("Invalid contentType");
     }
     this.contentType = ASN1Convert.ToOid(asn1[0]);
     if (asn1.Count > 1)
     {
         if (asn1[1].Tag != 160)
         {
             throw new ArgumentException("Invalid content");
         }
         this.content = asn1[1];
     }
 }
Exemple #3
0
 //ctor:
 public KeyAttributesExtension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #4
0
 //ctor:
 public NetscapeCertTypeExtension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #5
0
 public static DateTime ToDateTime(Mono.Security.ASN1 time)
 {
     throw new NotImplementedException();
 }
Exemple #6
0
 //ctor:
 public SubjectAltNameExtension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #7
0
 //ctor:
 public AuthorityKeyIdentifierExtension(Mono.Security.ASN1 asn1)
 {
 }
 //ctor: 
 public KeyUsageExtension (Mono.Security.ASN1 asn1) {}
 //ctor:
 public CRLDistributionPointsExtension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #10
0
 public Void Mono.Security.X509.X509ExtensionCollection::.ctor(Mono.Security.ASN1)
 Collections.IEnumerator Mono.Security.X509.X509ExtensionCollection::System.Collections.IEnumerable.GetEnumerator()
Exemple #11
0
 public ContentInfo()
 {
     this.content = new Mono.Security.ASN1(160);
 }
 //ctor:
 public SubjectKeyIdentifierExtension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #13
0
 //ctor:
 public PrivateKeyUsagePeriodExtension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #14
0
 public static string ToString(Mono.Security.ASN1 seq, bool reversed, string separator, bool quotes)
 {
     throw new NotImplementedException();
 }
Exemple #15
0
 Void Mono.Security.X509.PKCS12::ReadSafeBag(Mono.Security.ASN1)
 Mono.Security.ASN1 Mono.Security.X509.PKCS12::Pkcs8ShroudedKeyBagSafeBagSecurity.Cryptography.AsymmetricAlgorithmCollections.IDictionary)
Exemple #16
0
 public static string ToString(Mono.Security.ASN1 seq)
 {
     throw new NotImplementedException();
 }
Exemple #17
0
 //ctor:
 public CertificatePoliciesExtension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #18
0
 //ctor:
 public X509Extension(Mono.Security.ASN1 asn1)
 {
 }
Exemple #19
0
 public static int ToInt32(Mono.Security.ASN1 asn1)
 {
     throw new NotImplementedException();
 }
 StringSecurity.Cryptography.X509Certificates.X509Certificate2::GetValueAsString(Mono.Security.ASN1)
 VoidSecurity.Cryptography.X509Certificates.X509Certificate2::ImportPkcs12Byte[]String)
Exemple #21
0
 public static string ToOid(Mono.Security.ASN1 asn1)
 {
     throw new NotImplementedException();
 }
Exemple #22
0
 public ASN1 Add(Mono.Security.ASN1 asn1)
 {
     throw new NotImplementedException();
 }
Exemple #23
0
 //ctor:
 public BasicConstraintsExtension(Mono.Security.ASN1 asn1)
 {
 }