public class PushCertificateParser extends PushCertificate
PushCertificate.NonceStatus
Modifier and Type | Method and Description |
---|---|
void |
addCommand(String rawLine) |
boolean |
enabled() |
String |
getAdvertiseNonce() |
void |
receiveHeader(PacketLineIn pckIn,
boolean stateless)
Receive a list of commands from the input encapsulated in a push
certificate.
|
void |
receiveSignature(PacketLineIn pckIn)
Reads the gpg signature.
|
getCommandList, getNonceStatus, getPushee, getPusher, getSignature
public boolean enabled()
public String getAdvertiseNonce()
public void receiveHeader(PacketLineIn pckIn, boolean stateless) throws IOException
pckIn
- where we take the push certificate header from.stateless
- affects nonce verification. When stateless = true
the
NonceGenerator
will allow for some time skew caused by
clients disconnected and reconnecting in the stateless smart
HTTP protocol.IOException
- if the certificate from the client is badly malformed or the
client disconnects before sending the entire certificate.public void receiveSignature(PacketLineIn pckIn) throws IOException
pckIn
- where we read the signature from.IOException
public void addCommand(String rawLine)
rawLine
- Copyright © 2015 Eclipse JGit Project. All rights reserved.