Create factory method to create PGPSignatureSubpacketVector from an array of SignatureSubpackets
this.packets = packets;
}
+ public PGPSignatureSubpacketVector fromSubpackets(SignatureSubpacket[] packets)
+ {
+ if (packets == null) {
+ packets = new SignatureSubpacket[0];
+ }
+ return new PGPSignatureSubpacketVector(packets);
+ }
+
public SignatureSubpacket getSubpacket(
int type)
{
