diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java b/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java index 0ad72cf89..df90587e2 100644 --- a/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java +++ b/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java @@ -470,6 +470,7 @@ public class CMCAuth implements IAuthManager, IExtendedPluginInfo, TaggedRequest.Type type = taggedRequest.getType(); if (type.equals(TaggedRequest.PKCS10)) { + CMS.debug("CMCAuth: in PKCS10"); TaggedCertificationRequest tcr = taggedRequest.getTcr(); int p10Id = tcr.getBodyPartID().intValue(); @@ -535,6 +536,7 @@ public class CMCAuth implements IAuthManager, IExtendedPluginInfo, } } else if (type.equals(TaggedRequest.CRMF)) { + CMS.debug("CMCAuth: in CRMF"); try { CertReqMsg crm = taggedRequest.getCrm(); @@ -550,8 +552,8 @@ public class CMCAuth implements IAuthManager, IExtendedPluginInfo, // reset value of auditCertSubject if( name != null ) { - byte[] namebyte = ASN1Util.encode(name); - String ss = new String(namebyte); + String ss = name.getRFC1485(); + auditCertSubject = ss; if( auditCertSubject.equals( "" ) ) { auditCertSubject = |