IT. Expert System.

Android Reference

IdentityScope


java.security

Class IdentityScope

    • Constructor Detail

      • IdentityScope

        protected IdentityScope()
        Deprecated.
        Constructs a new instance of IdentityScope.
      • IdentityScope

        public IdentityScope(String name)
        Deprecated.
        Constructs a new instance of IdentityScope with the specified name.
        Parameters:
        name - the name of this IdentityScope.
      • IdentityScope

        public IdentityScope(String name,
                     IdentityScope scope)
                      throws KeyManagementException
        Deprecated.
        Constructs a new instance of IdentityScope with the specified name and the specified scope.
        Parameters:
        name - the name of this IdentityScope.
        scope - the scope of this IdentityScope.
        Throws:
        KeyManagementException - if an identity with the same key already exists.
    • Method Detail

      • getSystemScope

        public static IdentityScope getSystemScope()
        Deprecated.
        Returns the system's scope.
        Returns:
        the system's scope.
      • setSystemScope

        protected static void setSystemScope(IdentityScope scope)
        Deprecated.
        Sets the system's scope.
        Parameters:
        scope - the scope to set.
      • size

        public abstract int size()
        Deprecated.
        Returns the number of Identity objects in this scope.
        Returns:
        the number of Identity objects in this scope.
      • getIdentity

        public abstract Identity getIdentity(String name)
        Deprecated.
        Returns the Identity with the specified name or null if no Identity with the specified name is present in this scope.
        Parameters:
        name - the name of the Identity to be returned.
        Returns:
        the Identity with the specified name or null if not present.
      • getIdentity

        public Identity getIdentity(Principal principal)
        Deprecated.
        Returns the Identity with the name of the specified principal or null if no Identity with the name of the specified principal is present in this scope.
        Parameters:
        principal - the Principal whose name is used to lookup the Identity to be returned.
        Returns:
        the Identity with the specified name or null if not present.
      • getIdentity

        public abstract Identity getIdentity(PublicKey key)
        Deprecated.
        Returns the Identity which is associated with the specified key or null if no Identity associated with the specified key is present in this scope.
        Parameters:
        key - the PublicKey of the Identity to be returned.
        Returns:
        the Identity associated with the specified key or null if not present.
      • addIdentity

        public abstract void addIdentity(Identity identity)
                                  throws KeyManagementException
        Deprecated.
        Adds an Identity to this IdentityScope.
        Parameters:
        identity - the Identity to be added.
        Throws:
        KeyManagementException - if the specified Identity is invalid or an identity with the same key already exists.
      • removeIdentity

        public abstract void removeIdentity(Identity identity)
                                     throws KeyManagementException
        Deprecated.
        Removes an Identity from this IdentityScope.
        Parameters:
        identity - the Identity to be removed.
        Throws:
        KeyManagementException - if the Identity is not present in this scope.
      • identities

        public abstract Enumeration<Identity> identities()
        Deprecated.
        Returns an Enumeration over the Identity objects in this IdentityScope.
        Returns:
        an Enumeration over the Identity objects in this IdentityScope.
      • toString

        public String toString()
        Deprecated.
        Returns a string containing a concise, human-readable description of this IdentityScope.
        Specified by:
        toString in interface Principal
        Overrides:
        toString in class Identity
        Returns:
        a printable representation for this IdentityScope.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 611 / 158776914. Delta: 0.03742 с