Class RegisteredServicePublicKeyImpl

java.lang.Object
org.apereo.cas.services.RegisteredServicePublicKeyImpl
All Implemented Interfaces:
Serializable, org.apereo.cas.services.RegisteredServicePublicKey

public class RegisteredServicePublicKeyImpl extends Object implements org.apereo.cas.services.RegisteredServicePublicKey
Represents a public key for a CAS registered service.
Since:
4.1
See Also:
  • Constructor Details

    • RegisteredServicePublicKeyImpl

      public RegisteredServicePublicKeyImpl()
    • RegisteredServicePublicKeyImpl

      public RegisteredServicePublicKeyImpl(String location, String algorithm)
  • Method Details

    • createInstance

      public PublicKey createInstance()
      Specified by:
      createInstance in interface org.apereo.cas.services.RegisteredServicePublicKey
    • toCipher

      public Cipher toCipher()
      Specified by:
      toCipher in interface org.apereo.cas.services.RegisteredServicePublicKey
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLocation

      public String getLocation()
      Specified by:
      getLocation in interface org.apereo.cas.services.RegisteredServicePublicKey
    • getAlgorithm

      public String getAlgorithm()
      Specified by:
      getAlgorithm in interface org.apereo.cas.services.RegisteredServicePublicKey
    • setLocation

      public RegisteredServicePublicKeyImpl setLocation(String location)
      Returns:
      this.
    • setAlgorithm

      public RegisteredServicePublicKeyImpl setAlgorithm(String algorithm)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object