예제 #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")));
 }
예제 #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")));
 }