コード例 #1
0
ファイル: ObjectIdentifier.cs プロジェクト: kia92798/tinyasn1
        public override bool Compatible(Asn1Type other)
        {
            ObjectIdentifier o = other.GetFinalType() as ObjectIdentifier;
            if (o == null)
                return false;

            return true;
        }
コード例 #2
0
ファイル: TimeTypes.cs プロジェクト: kia92798/tinyasn1
 public override bool Compatible(Asn1Type other)
 {
     return other.GetFinalType() is GeneralizedTimeType;
 }
コード例 #3
0
ファイル: TimeTypes.cs プロジェクト: kia92798/tinyasn1
 public override bool Compatible(Asn1Type other)
 {
     return other.GetFinalType() is UTCTimeType;
 }
コード例 #4
0
ファイル: StringTypes.cs プロジェクト: kia92798/tinyasn1
 public override bool Compatible(Asn1Type other)
 {
     return other.GetFinalType() is NumericStringType;
 }
コード例 #5
0
ファイル: OctetString.cs プロジェクト: kia92798/tinyasn1
        public override bool Compatible(Asn1Type other)
        {
            OctetStringType o = other.GetFinalType() as OctetStringType;
            if (o == null)
                return false;

            return true;
        }
コード例 #6
0
ファイル: SequenceOf.cs プロジェクト: kia92798/tinyasn1
        public override bool Compatible(Asn1Type other)
        {
            SequenceOfType o = other.GetFinalType() as SequenceOfType;
            if (o == null)
                return false;

            return base.Compatible(other);
        }
コード例 #7
0
ファイル: ReferenceType.cs プロジェクト: kia92798/tinyasn1
 public override bool Compatible(Asn1Type other)
 {
     return GetFinalType().Compatible(other.GetFinalType());
 }