Package com.sun.ts.lib.util.sec.security.provider

# Class SystemIdentity

java.lang.Object
java.security.Identity
com.sun.ts.lib.util.sec.security.provider.SystemIdentity

All Implemented Interfaces:
  `Serializable`, `Principal`

public class SystemIdentity extends Identity implements Serializable
An identity with a very simple trust mechanism.

Author:
  Benjamin Renaud
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SystemIdentity(String name, IdentityScope scope)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isTrusted()`
  Is this identity trusted by sun.* facilities?
  `protected void`
  `setTrusted(boolean trusted)`
  Set the trust status of this identity.
  `String`
  `toString()`

  ### Methods inherited from class java.security.Identity

  `addCertificate, certificates, equals, getInfo, getName, getPublicKey, getScope, hashCode, identityEquals, removeCertificate, setInfo, setPublicKey, toString`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface java.security.Principal

  `implies`

- ## Constructor Details

  - ### SystemIdentity

    public SystemIdentity(String name, IdentityScope scope) throws InvalidParameterException, KeyManagementException
    Throws:
      `InvalidParameterException`
      `KeyManagementException`

- ## Method Details

  - ### isTrusted

    public boolean isTrusted()
    Is this identity trusted by sun.* facilities?

  - ### setTrusted

    protected void setTrusted(boolean trusted)
    Set the trust status of this identity.

  - ### toString

    public String toString()
    Specified by:
      `toString` in interface `Principal`
    Overrides:
      `toString` in class `Identity`