}
}
+ protected override void Encode ()
+ {
+ ASN1 seq = new ASN1 (0x30);
+ if (Identifier == null) {
+ throw new ArgumentException ("Invalid AuthorityKeyIdentifier extension");
+ }
+
+ seq.Add (new ASN1 (0x80, aki));
+ extnValue = new ASN1 (0x04);
+ extnValue.Add (seq);
+ }
+
public override string Name {
get { return "Authority Key Identifier"; }
}
return null;
return (byte[]) aki.Clone ();
}
+ set { aki = value; }
}
public override string ToString ()
ski = sequence.Value;
}
+ protected override void Encode ()
+ {
+ if (Identifier == null) {
+ throw new ArgumentException ("Invalid SubjectKeyIdentifier extension");
+ }
+
+ var seq = new ASN1 (0x04, ski);
+ extnValue = new ASN1 (0x04);
+ extnValue.Add (seq);
+ }
+
public override string Name {
get { return "Subject Key Identifier"; }
}
return null;
return (byte[]) ski.Clone ();
}
+ set { ski = value; }
}
public override string ToString ()