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); }
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]; } }
//ctor: public KeyAttributesExtension(Mono.Security.ASN1 asn1) { }
//ctor: public NetscapeCertTypeExtension(Mono.Security.ASN1 asn1) { }
public static DateTime ToDateTime(Mono.Security.ASN1 time) { throw new NotImplementedException(); }
//ctor: public SubjectAltNameExtension(Mono.Security.ASN1 asn1) { }
//ctor: public AuthorityKeyIdentifierExtension(Mono.Security.ASN1 asn1) { }
//ctor: public KeyUsageExtension (Mono.Security.ASN1 asn1) {}
//ctor: public CRLDistributionPointsExtension(Mono.Security.ASN1 asn1) { }
public Void Mono.Security.X509.X509ExtensionCollection::.ctor(Mono.Security.ASN1) Collections.IEnumerator Mono.Security.X509.X509ExtensionCollection::System.Collections.IEnumerable.GetEnumerator()
public ContentInfo() { this.content = new Mono.Security.ASN1(160); }
//ctor: public SubjectKeyIdentifierExtension(Mono.Security.ASN1 asn1) { }
//ctor: public PrivateKeyUsagePeriodExtension(Mono.Security.ASN1 asn1) { }
public static string ToString(Mono.Security.ASN1 seq, bool reversed, string separator, bool quotes) { throw new NotImplementedException(); }
Void Mono.Security.X509.PKCS12::ReadSafeBag(Mono.Security.ASN1) Mono.Security.ASN1 Mono.Security.X509.PKCS12::Pkcs8ShroudedKeyBagSafeBagSecurity.Cryptography.AsymmetricAlgorithmCollections.IDictionary)
public static string ToString(Mono.Security.ASN1 seq) { throw new NotImplementedException(); }
//ctor: public CertificatePoliciesExtension(Mono.Security.ASN1 asn1) { }
//ctor: public X509Extension(Mono.Security.ASN1 asn1) { }
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)
public static string ToOid(Mono.Security.ASN1 asn1) { throw new NotImplementedException(); }
public ASN1 Add(Mono.Security.ASN1 asn1) { throw new NotImplementedException(); }
//ctor: public BasicConstraintsExtension(Mono.Security.ASN1 asn1) { }