Class MoverPasswordEnvelope
java.lang.Object
ecmwf.ecpds.mover.MoverPasswordEnvelope
Application-level recipient binding for credential delivery over mutual TLS RMI or the HTTPS control relay.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic enumstatic final recordstatic enumstatic enumstatic final classstatic final record -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionsealProbe(MoverPasswordEnvelope.Assignment assignment, CredentialProbe.Endpoint endpoint, String password, RSAPublicKey moverKey, RSAPrivateKey masterKey) static StringsealTransfer(MoverPasswordEnvelope.Assignment assignment, MoverPasswordEnvelope.Delivery delivery, String password, RSAPublicKey moverKey, RSAPrivateKey masterKey) static UUIDsuccessfulDeliveryAttempt(String receipt) verifySuccessfulDelivery(String receipt, RSAPublicKey moverKey, MoverPasswordEnvelope.Assignment expected, UUID reference, String context)
-
Field Details
-
MAX_ENVELOPE
public static final int MAX_ENVELOPE- See Also:
-
-
Method Details
-
successfulDeliveryAttempt
- Throws:
IOException
-
verifySuccessfulDelivery
public static MoverPasswordEnvelope.SuccessfulDelivery verifySuccessfulDelivery(String receipt, RSAPublicKey moverKey, MoverPasswordEnvelope.Assignment expected, UUID reference, String context) throws IOException - Throws:
IOException
-
sealTransfer
public static String sealTransfer(MoverPasswordEnvelope.Assignment assignment, MoverPasswordEnvelope.Delivery delivery, String password, RSAPublicKey moverKey, RSAPrivateKey masterKey) throws IOException - Throws:
IOException
-
sealProbe
public static MoverPasswordEnvelope.SealedProbe sealProbe(MoverPasswordEnvelope.Assignment assignment, CredentialProbe.Endpoint endpoint, String password, RSAPublicKey moverKey, RSAPrivateKey masterKey) throws IOException - Throws:
IOException
-