Class NameID

  • All Implemented Interfaces:
    ResponderID, org.mozilla.jss.asn1.ASN1Value

    public class NameID
    extends java.lang.Object
    implements ResponderID
    RFC 2560:
     ResponderID ::= CHOICE {
        byName               [1] EXPLICIT Name,
        byKey                [2] EXPLICIT KeyHash }
     
    Version:
    $Revision$ $Date$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NameID.Template
      A Template for decoding ResponseBytes.
    • Constructor Summary

      Constructors 
      Constructor Description
      NameID​(org.mozilla.jss.pkix.primitive.Name n)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void encode​(java.io.OutputStream os)  
      void encode​(org.mozilla.jss.asn1.Tag tag, java.io.OutputStream os)  
      org.mozilla.jss.pkix.primitive.Name getName()  
      org.mozilla.jss.asn1.Tag getTag()  
      static NameID.Template getTemplate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NameID

        public NameID​(org.mozilla.jss.pkix.primitive.Name n)
    • Method Detail

      • getTag

        public org.mozilla.jss.asn1.Tag getTag()
        Specified by:
        getTag in interface org.mozilla.jss.asn1.ASN1Value
      • encode

        public void encode​(org.mozilla.jss.asn1.Tag tag,
                           java.io.OutputStream os)
                    throws java.io.IOException
        Specified by:
        encode in interface org.mozilla.jss.asn1.ASN1Value
        Throws:
        java.io.IOException
      • encode

        public void encode​(java.io.OutputStream os)
                    throws java.io.IOException
        Specified by:
        encode in interface org.mozilla.jss.asn1.ASN1Value
        Throws:
        java.io.IOException
      • getName

        public org.mozilla.jss.pkix.primitive.Name getName()