Interface IAuthToken

All Known Implementing Classes:
AuthToken, ExternalAuthToken

public interface IAuthToken
AuthToken interface.
  • Field Details

  • Method Details

    • set

      boolean set(String name, String value)
      Sets an attribute value within this AttrSet.
      Parameters:
      name - the name of the attribute
      value - the attribute object.
      Returns:
      false on an error
    • get

      Object get(String name)
      Gets an attribute value.
      Parameters:
      name - the name of the attribute to return.
      Returns:
      the attribute value
      Throws:
      EBaseException - on attribute handling errors.
    • getInString

      String getInString(String name)
      Gets an attribute value.
      Parameters:
      name - the name of the attribute to return.
      Returns:
      the attribute value
      Throws:
      EBaseException - on attribute handling errors.
    • getElements

      Enumeration<String> getElements()
      Returns an enumeration of the names of the attributes existing within this AttrSet.
      Returns:
      an enumeration of the attribute names.
    • getInByteArray

      byte[] getInByteArray(String name)
      Retrieves the byte array value for name. The value should have been previously stored as a byte array (it will be CMS.AtoB decoded).
      Parameters:
      name - The attribute name.
      Returns:
      The byte array or null on error.
    • set

      boolean set(String name, byte[] value)
      Stores the byte array with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on an error
    • getInInteger

      Integer getInInteger(String name)
      Retrieves the Integer value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The Integer or null on error.
    • set

      boolean set(String name, Integer value)
      Stores the Integer with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on an error
    • getInBigIntegerArray

      BigInteger[] getInBigIntegerArray(String name)
      Retrieves the BigInteger array value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The value or null on error.
    • set

      boolean set(String name, BigInteger[] value)
      Stores the BigInteger array with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on an error
    • getInDate

      Date getInDate(String name)
      Retrieves the Date value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The value or null on error.
    • set

      boolean set(String name, Date value)
      Stores the Date with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on an error
    • getInStringArray

      String[] getInStringArray(String name)
      Retrieves the String array value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The value or null on error.
    • set

      boolean set(String name, String[] value)
      Stores the String array with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      False on error.
    • getInCert

      org.mozilla.jss.netscape.security.x509.X509CertImpl getInCert(String name)
      Retrieves the X509CertImpl value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The value or null on error.
    • set

      boolean set(String name, org.mozilla.jss.netscape.security.x509.X509CertImpl value)
      Stores the X509CertImpl with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on error
    • getInCertExts

      org.mozilla.jss.netscape.security.x509.CertificateExtensions getInCertExts(String name) throws IOException
      Retrieves the CertificateExtensions value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The value.
      Throws:
      IOException
    • set

      boolean set(String name, org.mozilla.jss.netscape.security.x509.CertificateExtensions value)
      Stores the CertificateExtensions with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on error
    • getInCertificates

      Certificates getInCertificates(String name) throws IOException, CertificateException
      Retrieves the Certificates value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The value.
      Throws:
      IOException
      CertificateException
    • set

      boolean set(String name, Certificates value)
      Stores the Certificates with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on error
    • getInByteArrayArray

      byte[][] getInByteArrayArray(String name) throws IOException
      Retrieves the byte[][] value for name.
      Parameters:
      name - The attribute name.
      Returns:
      The value.
      Throws:
      IOException
    • set

      boolean set(String name, byte[][] value)
      Stores the byte[][] with the associated key.
      Parameters:
      name - The attribute name.
      value - The value to store
      Returns:
      false on error