summaryrefslogtreecommitdiffstats
path: root/pki/base/ca/src/com
diff options
context:
space:
mode:
authorcfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-09-21 00:28:48 +0000
committercfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-09-21 00:28:48 +0000
commit962d2c5f60b2498511fc9f675d1e1117995cdd03 (patch)
tree6f6794b68c6f91e751e95fb54fe70b8e1b77eed0 /pki/base/ca/src/com
parentc305cf21c4649944c21fd7eb228c3645fc3b9679 (diff)
downloadpki-962d2c5f60b2498511fc9f675d1e1117995cdd03.tar.gz
pki-962d2c5f60b2498511fc9f675d1e1117995cdd03.tar.xz
pki-962d2c5f60b2498511fc9f675d1e1117995cdd03.zip
Bug 634663 - CA CMC response default hard-coded to SHA1
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1310 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/ca/src/com')
-rw-r--r--pki/base/ca/src/com/netscape/ca/CertificateAuthority.java4
-rw-r--r--pki/base/ca/src/com/netscape/ca/SigningUnit.java7
2 files changed, 11 insertions, 0 deletions
diff --git a/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java b/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java
index 7237becb..31c8355a 100644
--- a/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java
+++ b/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java
@@ -530,6 +530,10 @@ public class CertificateAuthority implements ICertificateAuthority, ICertAuthori
return mDefaultValidity;
}
+ public SignatureAlgorithm getDefaultSignatureAlgorithm() {
+ return mSigningUnit.getDefaultSignatureAlgorithm();
+ }
+
public String getDefaultAlgorithm() {
return mSigningUnit.getDefaultAlgorithm();
}
diff --git a/pki/base/ca/src/com/netscape/ca/SigningUnit.java b/pki/base/ca/src/com/netscape/ca/SigningUnit.java
index 33764b08..f20ec972 100644
--- a/pki/base/ca/src/com/netscape/ca/SigningUnit.java
+++ b/pki/base/ca/src/com/netscape/ca/SigningUnit.java
@@ -333,6 +333,13 @@ public final class SigningUnit implements ISigningUnit {
/**
* returns default signing algorithm name.
*/
+ public SignatureAlgorithm getDefaultSignatureAlgorithm() {
+ return mDefSigningAlgorithm;
+ }
+
+ /**
+ * returns default signing algorithm name.
+ */
public String getDefaultAlgorithm() {
return mDefSigningAlgname;
}