Class PushProps

    • Field Detail

      • FILE_NAME

        public static final java.lang.String FILE_NAME
        The file name of the Push Notification properties container: ".iiziPush".
        See Also:
        Constant Field Values
      • ATOM

        public static final Atom ATOM
        The atom for the Push Notification properties container: "$push".
      • TTL

        public static final java.lang.String TTL
        The default Time-to-Live duration property: "TTL".
        See Also:
        Constant Field Values
      • VAPID_PRIVATE_KEY

        public static final java.lang.String VAPID_PRIVATE_KEY
        The private key property: "VPrivKey".
        See Also:
        Constant Field Values
      • VAPID_PUBLIC_KEY

        public static final java.lang.String VAPID_PUBLIC_KEY
        The public key property: "VPubKey".
        See Also:
        Constant Field Values
      • APPLE_APP_ID

        public static final java.lang.String APPLE_APP_ID
        The Apple App ID property: "appleID".
        See Also:
        Constant Field Values
      • DEV_APNS

        public static final java.lang.String DEV_APNS
        The Development PKCS#12 APNs identity for push messages using TLS to the Apple push notification server property: "devAPNs".
        See Also:
        Constant Field Values
      • PROD_APNS

        public static final java.lang.String PROD_APNS
        The Production PKCS#12 APNs identity for push messages using TLS to the Apple push notification server property: "prodAPNs".
        See Also:
        Constant Field Values
    • Constructor Detail

      • PushProps

        public PushProps()
        Creates a PushProps container without name and with a null value.
      • PushProps

        public PushProps​(Atom propertyAtom)
        Creates a PushProps container with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
    • Method Detail

      • clone

        public PushProps clone()
        Creates a clone out of this property.
        Overrides:
        clone in class PropCnr
        Returns:
        The clone of the PWAProps.
      • getPublicVAPIDKey

        public java.lang.String getPublicVAPIDKey()
        Gets the VAPID public key.
        Returns:
        A Base64-encoded String containing an ECDSA P-256 public key that the push server will use to authenticate the server. Returns null if undefined.
      • verify

        public boolean verify​(PropVerification verification)
        Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
        Specified by:
        verify in interface IGProp<GProp<?>[]>
        Overrides:
        verify in class PropCnr
        Parameters:
        verification - The property verification class.
        Returns:
        true if verification should proceed, false if disposed of and verification should not take place.