use of org.bouncycastle.asn1.x509.UserNotice in project keystore-explorer by kaikramer.
the class DUserNoticeChooser method populate.
private void populate(UserNotice userNotice) {
if (userNotice != null) {
NoticeReference noticeReference = userNotice.getNoticeRef();
if (noticeReference != null) {
DisplayText organization = noticeReference.getOrganization();
if (organization != null) {
jtfOrganization.setText(organization.getString());
jtfOrganization.setCaretPosition(0);
}
populateNoticeNumbers(noticeReference);
}
DisplayText explicitText = userNotice.getExplicitText();
if (explicitText != null) {
jtfExplicitText.setText(explicitText.getString());
jtfExplicitText.setCaretPosition(0);
}
}
}
Aggregations