Skip to content

Commit 21a2d80

Browse files
committed
PGP{OnePass}Signature: Expose constructor with BCPGInputStream arg
1 parent dd05279 commit 21a2d80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private static OnePassSignaturePacket cast(Packet packet)
3434
return (OnePassSignaturePacket)packet;
3535
}
3636

37-
PGPOnePassSignature(
37+
public PGPOnePassSignature(
3838
BCPGInputStream pIn)
3939
throws IOException, PGPException
4040
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private static SignaturePacket cast(Packet packet)
6666
return (SignaturePacket)packet;
6767
}
6868

69-
PGPSignature(
69+
public PGPSignature(
7070
BCPGInputStream pIn)
7171
throws IOException, PGPException
7272
{

0 commit comments

Comments
 (0)