Exemple #1
0
 public void Write(ASN1UTCTime value)
 {
     WriteIdentifier(ASN1Class.Universal, false, ASN1UniversalTag.UTCTime);
     WriteLength(value.ByteLength);
     _writer.Write(Encoding.UTF8.GetBytes(value.Value.ToString("yyMMddHHmmssZ")));
 }
Exemple #2
0
 public void Write(ASN1UTCTime value)
 {
     WriteIdentifier(ASN1Class.Universal, false, ASN1UniversalTag.UTCTime);
     WriteLength(value.ByteLength);
     writer.Write(Encoding.UTF8.GetBytes(value.Value.ToString("yyMMddHHmmssZ")));
 }