Class AnjaySecurityInfoPsk

  • All Implemented Interfaces:
    AnjaySecurityInfo

    public class AnjaySecurityInfoPsk
    extends java.lang.Object
    implements AnjaySecurityInfo
    Object used to configure PSK security mode in Anjay.
    • Constructor Summary

      Constructors 
      Constructor Description
      AnjaySecurityInfoPsk​(byte[] identity, byte[] key)
      Constructor for PSK security info.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • AnjaySecurityInfoPsk

        public AnjaySecurityInfoPsk​(byte[] identity,
                                    byte[] key)
        Constructor for PSK security info.
        Parameters:
        identity - DTLS Identity.
        key - Pre-shared key (PSK)