Sha256: 362ab8c28a1f13fedabdee5af6f6b56c6572036834ff412ab1b794fbae8f267a

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

<h1><%= @authority.organization %> (<%= @authority.commonname %>)</h1>
<p id="notice"><%= notice %></p>

<p>
  <b>Unique:</b>
  <%= @authority.uniqueid %>
</p>

<p>
  <b>City:</b>
  <%= @authority.city %>
</p>

<p>
  <b>State:</b>
  <%= @authority.state %>
</p>

<p>
  <b>Country:</b>
  <%= @authority.country %>
</p>

<p>
  <b>Email:</b>
  <%= @authority.email %>
</p>

<p>
  <b>Private-Key:</b>
  <%= @authority.private_key.to_pem %>
</p>

<p>
  <b>Root-Certificate:</b>
  <%= @authority.root_certificate.to_pem %>
</p>

<h1>Listing certificates</h1>

<table>
  <tr>
    <th>Uniqueid</th>
    <th>Ssldata</th>
    <th></th>
    <th></th>
  </tr>

  <% @authority.certificates.each do |certificate| %>
      <tr>
        <td><%= certificate.uniqueid %></td>
        <td><%= certificate.ssldata %></td>
        <td><%= link_to 'Show', certificate_path(certificate, :certify_authority_id => certificate.authority)%></td>
        <td><%= link_to 'Destroy', certificate_path(certificate, :certify_authority_id => certificate.authority), confirm: 'Are you sure?', method: :delete %></td>
      </tr>
  <% end %>
</table>
<BR/>

<%= link_to 'Add Certificate', new_certificate_path(@authority) %> |
<%= link_to 'Back', authorities_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
certify-0.0.3 app/views/certify/authorities/show.html.erb
certify-0.0.2 app/views/certify/authorities/show.html.erb