Beispiel #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);
 }
Beispiel #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];
     }
 }
Beispiel #3
0
 //ctor:
 public KeyAttributesExtension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #4
0
 //ctor:
 public NetscapeCertTypeExtension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #5
0
 public static DateTime ToDateTime(Mono.Security.ASN1 time)
 {
     throw new NotImplementedException();
 }
Beispiel #6
0
 //ctor:
 public SubjectAltNameExtension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #7
0
 //ctor:
 public AuthorityKeyIdentifierExtension(Mono.Security.ASN1 asn1)
 {
 }
 //ctor: 
 public KeyUsageExtension (Mono.Security.ASN1 asn1) {}
 //ctor:
 public CRLDistributionPointsExtension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #10
0
 public Void Mono.Security.X509.X509ExtensionCollection::.ctor(Mono.Security.ASN1)
 Collections.IEnumerator Mono.Security.X509.X509ExtensionCollection::System.Collections.IEnumerable.GetEnumerator()
Beispiel #11
0
 public ContentInfo()
 {
     this.content = new Mono.Security.ASN1(160);
 }
 //ctor:
 public SubjectKeyIdentifierExtension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #13
0
 //ctor:
 public PrivateKeyUsagePeriodExtension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #14
0
 public static string ToString(Mono.Security.ASN1 seq, bool reversed, string separator, bool quotes)
 {
     throw new NotImplementedException();
 }
Beispiel #15
0
 Void Mono.Security.X509.PKCS12::ReadSafeBag(Mono.Security.ASN1)
 Mono.Security.ASN1 Mono.Security.X509.PKCS12::Pkcs8ShroudedKeyBagSafeBagSecurity.Cryptography.AsymmetricAlgorithmCollections.IDictionary)
Beispiel #16
0
 public static string ToString(Mono.Security.ASN1 seq)
 {
     throw new NotImplementedException();
 }
Beispiel #17
0
 //ctor:
 public CertificatePoliciesExtension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #18
0
 //ctor:
 public X509Extension(Mono.Security.ASN1 asn1)
 {
 }
Beispiel #19
0
 public static int ToInt32(Mono.Security.ASN1 asn1)
 {
     throw new NotImplementedException();
 }
Beispiel #20
0
 StringSecurity.Cryptography.X509Certificates.X509Certificate2::GetValueAsString(Mono.Security.ASN1)
 VoidSecurity.Cryptography.X509Certificates.X509Certificate2::ImportPkcs12Byte[]String)
Beispiel #21
0
 public static string ToOid(Mono.Security.ASN1 asn1)
 {
     throw new NotImplementedException();
 }
Beispiel #22
0
 public ASN1 Add(Mono.Security.ASN1 asn1)
 {
     throw new NotImplementedException();
 }
Beispiel #23
0
 //ctor:
 public BasicConstraintsExtension(Mono.Security.ASN1 asn1)
 {
 }