Skip to content

Commit 9f955c8

Browse files
committed
make getAlgorithm() consistent with public key implementation
1 parent 94fadb5 commit 9f955c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prov/src/main/java/org/bouncycastle/jcajce/CompositePrivateKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public List<PrivateKey> getPrivateKeys()
108108

109109
public String getAlgorithm()
110110
{
111-
return this.algorithmIdentifier.getId();
111+
return CompositeIndex.getAlgorithmName(this.algorithmIdentifier);
112112
}
113113

114114
public ASN1ObjectIdentifier getAlgorithmIdentifier()

0 commit comments

Comments
 (0)