Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
add model solution
Commit Description:
add model solution
import r from 'restructure' ;
let Signature = new r . Struct ({
format : r . uint32 ,
length : r . uint32 ,
offset : r . uint32
});
let SignatureBlock = new r . Struct ({
reserved : new r . Reserved ( r . uint16 , 2 ),
cbSignature : r . uint32 , // Length (in bytes) of the PKCS#7 packet in pbSignature
signature : new r . Buffer ( 'cbSignature' )
});
export default new r . Struct ({
ulVersion : r . uint32 , // Version number of the DSIG table (0x00000001)
usNumSigs : r . uint16 , // Number of signatures in the table
usFlag : r . uint16 , // Permission flags
signatures : new r . Array ( Signature , 'usNumSigs' ),
signatureBlocks : new r . Array ( SignatureBlock , 'usNumSigs' )
});
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings