private ToSubpacketArray ( ) : SignatureSubpacket[] | ||
return | SignatureSubpacket[] |
public void SetUnhashedSubpackets( PgpSignatureSubpacketVector unhashedPackets) { unhashed = unhashedPackets == null ? EmptySignatureSubpackets : unhashedPackets.ToSubpacketArray(); }
public void SetHashedSubpackets( PgpSignatureSubpacketVector hashedPackets) { hashed = hashedPackets == null ? EmptySignatureSubpackets : hashedPackets.ToSubpacketArray(); }
/// <summary> /// Constructor for pre-initialising the generator from an existing one. /// </summary> /// <param name="sigSubV"> /// sigSubV an initial set of subpackets. /// </param> public PgpSignatureSubpacketGenerator(PgpSignatureSubpacketVector sigSubV) { if (sigSubV != null) { SignatureSubpacket[] subs = sigSubV.ToSubpacketArray(); for (int i = 0; i != sigSubV.Count; i++) { list.Add(subs[i]); } } }
public void SetUnhashedSubpackets( PgpSignatureSubpacketVector unhashedPackets) { unhashed = unhashedPackets == null ? EmptySignatureSubpackets : unhashedPackets.ToSubpacketArray(); }
public void SetHashedSubpackets( PgpSignatureSubpacketVector hashedPackets) { hashed = hashedPackets == null ? EmptySignatureSubpackets : hashedPackets.ToSubpacketArray(); }