Skip to content

Commit 15ae18e

Browse files
committed
PGPEncryptedDataList: Expose encrypted data packet
1 parent 32fc48b commit 15ae18e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pg/src/main/java/org/bouncycastle/openpgp/PGPEncryptedDataList.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ public PGPEncryptedData get(
154154
return (PGPEncryptedData)methods.get(index);
155155
}
156156

157+
public InputStreamPacket getEncryptedData()
158+
{
159+
return data;
160+
}
161+
157162
/**
158163
* Gets the number of encryption methods in this list.
159164
*/

0 commit comments

Comments
 (0)