IM2000-Recipient-Notification-Agent-Submission-Protocol DEFINITIONS ::= BEGIN -- Data Types -- UTF8String ::= [UNIVERSAL 22] IMPLICIT OCTET STRING MessageIdentifier ::= OCTET STRING (SIZE(16)) PortNumber ::= INTEGER (0..65535) IPAddress ::= CHOICE { Version4 [0] IMPLICIT OCTET STRING (SIZE(4)), Version6 [1] IMPLICIT OCTET STRING (SIZE(16)), } DomainName ::= SEQUENCE OF UTF8String MailBox ::= SEQUENCE { localpart [0] IMPLICIT UTF8String, domain [1] IMPLICIT DomainName } IPAddressAndPort ::= SEQUENCE { address [0] IMPLICIT IPAddress, port [1] IMPLICIT PortNumber } ServiceLocation ::= CHOICE { literals [0] IMPLICIT SEQUENCE OF IPAddressAndPort, domain [1] IMPLICIT DomainName } ResponseStatus ::= ENUMERATED { noerror (0), errormalformedpdu (1), errorcommandtimeout (2), errornotauthenticated (3), errorunexpectedcommand (4), errorserviceshutdown (5), errorinternalproblem (6) } Notification ::= SEQUENCE { storeclear [0] IMPLICIT ServiceLocation, storessl [1] IMPLICIT ServiceLocation OPTIONAL, recipient [2] IMPLICIT MailBox, identifier [3] IMPLICIT MessageIdentifier, sender [4] IMPLICIT UTF8String, size [5] IMPLICIT INTEGER (0..MAX) OPTIONAL } -- Command PDUs CommandNotify ::= SEQUENCE { notifications [0] IMPLICIT SEQUENCE OF Notification } Command ::= SEQUENCE { commanddata [0] IMPLICIT CHOICE { [0] IMPLICIT CommandNotify } } -- Response PDUs ResponseNull ::= SEQUENCE {} ResponseNotify ::= SEQUENCE {} Response ::= SEQUENCE { forceabort [0] IMPLICIT BOOLEAN, status [1] IMPLICIT ResponseStatus, responsedata [2] IMPLICIT CHOICE { [0] IMPLICIT ResponseNull, [1] IMPLICIT ResponseNotify } } -- Main PDU Definition RNASPDU ::= CHOICE { [1] IMPLICIT Command, [2] IMPLICIT Response } -- (c) Copyright 2004-2004 Jonathan de Boyne Pollard. All rights reserved. "Moral" rights asserted. -- Permission is hereby granted to copy and to distribute this specification in its original, unmodified form as long as its last modification datestamp information is preserved. -- Permission is hereby granted to create codecs that have been derived from this specification, and to grant copying and distribution rights for them. END